good so far for output matrix X Y
This commit is contained in:
parent
ee78e4d1e8
commit
41b0c0b98f
|
@ -945,12 +945,8 @@ static void SendTxData(void)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
APP_LOG(TS_OFF, VLEVEL_L, "xxxxxxxxxxxxxxxxxxxx before service mask assign APPDATA.PORT = %3d \r\n", AppData.Port);
|
|
||||||
|
|
||||||
AppData.BufferSize = (sts_service_mask == 0? i : 0);
|
AppData.BufferSize = (sts_service_mask == 0? i : 0);
|
||||||
|
|
||||||
APP_LOG(TS_OFF, VLEVEL_L, "xxxxxxxxxxxxxxxxxxxx after servce mask assign APPDATA.PORT = %3d \r\n", AppData.Port);
|
|
||||||
|
|
||||||
if ((JoinLedTimer.IsRunning) && (LmHandlerJoinStatus() == LORAMAC_HANDLER_SET))
|
if ((JoinLedTimer.IsRunning) && (LmHandlerJoinStatus() == LORAMAC_HANDLER_SET))
|
||||||
{
|
{
|
||||||
UTIL_TIMER_Stop(&JoinLedTimer);
|
UTIL_TIMER_Stop(&JoinLedTimer);
|
||||||
|
@ -958,9 +954,6 @@ static void SendTxData(void)
|
||||||
HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_RESET); /* LED_RED */
|
HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_RESET); /* LED_RED */
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
APP_LOG(TS_OFF, VLEVEL_L, "xxxxxxxxxxxxxxxxxxxx before LmHandleSend APPDATA.PORT = %3d \r\n", AppData.Port);
|
|
||||||
|
|
||||||
status = LmHandlerSend(&AppData, LmHandlerParams.IsTxConfirmed, false);
|
status = LmHandlerSend(&AppData, LmHandlerParams.IsTxConfirmed, false);
|
||||||
if (LORAMAC_HANDLER_SUCCESS == status)
|
if (LORAMAC_HANDLER_SUCCESS == status)
|
||||||
{
|
{
|
||||||
|
@ -2023,7 +2016,6 @@ P # # A # #
|
||||||
|
|
||||||
void STS_SENSOR_Upload_Config_Invalid_Message(void)
|
void STS_SENSOR_Upload_Config_Invalid_Message(void)
|
||||||
{
|
{
|
||||||
APP_LOG(TS_OFF, VLEVEL_L, "xxxxxxxxxxxxxxxxxxxx Invalid Message APPDATA.PORT = %3d \r\n", AppData.Port);
|
|
||||||
|
|
||||||
if (sts_service_mask == STS_SERVICE_MASK_L0)
|
if (sts_service_mask == STS_SERVICE_MASK_L0)
|
||||||
STS_SENSOR_Upload_Message(LORAWAN_USER_APP_CTRL_REPLY_PORT, 5, (char*)"PVXXX");
|
STS_SENSOR_Upload_Message(LORAWAN_USER_APP_CTRL_REPLY_PORT, 5, (char*)"PVXXX");
|
||||||
|
@ -2041,8 +2033,6 @@ void STS_SENSOR_Upload_Message(uint8_t appDataPort, uint8_t appBufferSize, char
|
||||||
LmHandlerErrorStatus_t status = LORAMAC_HANDLER_ERROR;
|
LmHandlerErrorStatus_t status = LORAMAC_HANDLER_ERROR;
|
||||||
UTIL_TIMER_Time_t nextTxIn = 0;
|
UTIL_TIMER_Time_t nextTxIn = 0;
|
||||||
|
|
||||||
APP_LOG(TS_OFF, VLEVEL_L, "xxxxxxxxxxxxxxxxxxxx Upload Message APPDATA.PORT = %3d \r\n", AppData.Port);
|
|
||||||
|
|
||||||
if (LmHandlerIsBusy() == false)
|
if (LmHandlerIsBusy() == false)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -2084,7 +2074,6 @@ void STS_SENSOR_Upload_Message(uint8_t appDataPort, uint8_t appBufferSize, char
|
||||||
UTIL_TIMER_Start(&TxTimer);
|
UTIL_TIMER_Start(&TxTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
APP_LOG(TS_OFF, VLEVEL_L, "xxxxxxxxxxxxxxxxxxxx APPDATA.PORT = %3d \r\n", AppData.Port);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue