B-L072Z LoraMac_Status_Busy

Hi everyone,

I have a problem with the STM32 LRWAN Stack from st (V1.1.4).
I open and compile the End_Node project, my B-L072Z can join my gateway and send a first message, but the messages after are never received by the gateway… The LoRA mac status is BUSY, in fact, in the LoRaMacMcpsRequest function (In LoRaMac.c) the LoraMacState is not equal to LORAMAC_IDLE so it’s put my endnode in a busy status…
Do you guys have some ideas, where the problem may come from ?

My B-L072Z st device is running in EU868MHz, in class A, OTAA, Adaptative Data Rate disable, DR6.

I’ve tried this example and used it as the basis for another project and not seen this issue. Are you seeing the join completed? Are you using confirmed messages?

I’ve also used ADR, OTAA, confirmed messages, link check and downlinks. It all seems to work.

Andrew

Yes the join is complete (My gateway receive the first message) and I use unconfirmed message !
Which version of the LRWAN stack are you using ?

Using the latest available, V1.1.4

Like me same version.

This is what’s happend :
hello Laura !
OTAA

DevEui= x-x-x-x-x-x-x-x

AppEui= x-x-x-x-x-x-x-x

AppKey= 2B 7E 15 16 28 AE D2 A6 AB F7 15 88 XX XX XX XX

VERSION: 44041140

In the swith MLME_JOIN
In the swith MLME_JOIN : Value of LoRaMacRegion false, get default
Not joined, try again later
JOINED

SEND REQUEST

temperature : ed
pressure : 0
humidity : 54
Send data with unconfirmed msg (LORA_send in lora.c)
SEND REQUEST

temperature : ed
pressure : 0
humidity : 54
Send data with unconfirmed msg (LORA_send in lora.c)
SEND REQUEST

temperature : ed
pressure : 0
humidity : 54
Send data with unconfirmed msg (LORA_send in lora.c)
LORAMAC_STATUS_BUSY…

I receive the first message but not others!

Do you change anything else ?
(There is maybe one flag stay up and I don’t know why…)

I corrected my problem, it was the duty cycle that was the problem… I deactivated the ADR and put the data rate to DR_5 or I wait for the ADR to do is work on the first 20 message received and modifies the ADR.