cancel
Showing results for 
Search instead for 
Did you mean: 

LoRaWAN "User defined skeleton" application stuck with `LORAMAC_HANDLER_ERROR`

przemyslaw jakobczak
Associate II

I'm implementing "User defined skeleton" application. I correctly join to gateway and server chirpstack is logging 'join accept', 'join_request. When i can send some data to server i get 2 errors from library Lorawan, 'LORAMAC_HANDLER_ERROR' in function 'OnJoinRequest' and 'LORAMAC_EVENT_INFO_STATUS_RX2_TIMEOUT'. Server says that join request is OK, and accepts Join.

Gateway is working Ok because it works with another node.

MCU: STM32WLE5CCU6,

Params Lorawan: #define ACTIVE_REGION LORAMAC_REGION_EU868
#define APP_TX_DUTYCYCLE 10000
//#define APP_TX_DUTYCYCLE_RND 1000
#define LORAWAN_USER_APP_PORT 2
#define LORAWAN_SWITCH_CLASS_PORT 3
#define LORAWAN_DEFAULT_CLASS CLASS_C
#define LORAWAN_ADR_STATE LORAMAC_HANDLER_ADR_ON ///LORAMAC_HANDLER_ADR_ON
#define LORAWAN_DEFAULT_DATA_RATE DR_0
#define LORAWAN_DEFAULT_TX_POWER TX_POWER_3
#define LORAWAN_DEFAULT_ACTIVATION_TYPE ACTIVATION_TYPE_OTAA
#define LORAWAN_DEFAULT_CONFIRMED_MSG_STATE LORAMAC_HANDLER_UNCONFIRMED_MSG
#define LORAWAN_DEFAULT_PING_SLOT_PERIODICITY 4
#define LORAWAN_DEFAULT_CLASS_B_C_RESP_TIMEOUT 8000
#define LORAWAN_FORCE_REJOIN_AT_BOOT true

 

1 REPLY 1
STTwo-32
ST Employee

Hello @przemyslaw jakobczak 

Since this problem is related to the Third-party Stack, I suggest you ask such a question on the Third-party Forum.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.