Directed advertisement times out instantly after powering up nRF5340 Audio DK

Hey Team,

Whenever we flash the audio application (from the official samples provided) on a development board and leave the board unpowered/unattended for 10-15 days, the bluetooth advertisement messes up and doesn't let us connect any mobile device to the board. Precisely, right after powering the board, we get a message saying "Directed adv timed out with no connection, reverting to normal adv" in the RTT logs. This does not let us connect/pair any mobile device to the board. The quickest way to fix this is to simply re-flash the same audio application and it works perfectly fine. After re-flashing, we don't get the "Directed adv timed out..." error again and the board connects smoothly to the mobile device. 

I have attached a detailed video about this below

Video Link

Below is an image showing the logs after connecting the Audio DK (see the third last line for the unusual error)

Logs after connecting the Audio DK

Regards,

Soham

Parents
  • Hi Soham, 

    That is odd. Especially since nothing immediately comes to mind as what leaving it off for two weeks can do to it. Besides maybe what could happen on the phone side - is this the same phone that it was connected to earlier?

    Does removing the bonding info help?

    Did you see this with multiple boards or just the one? 

    Directed adv timed out with no connection, reverting to normal adv

    Did you not get this before?

    Could you get the logs from the attempted connection from this? Getting more logs on the nRF would also be nice, but as that requires flashing it again with something and then waiting for 2 weeks, I guess that is not an option.

    Regards,

    Elfving

Reply
  • Hi Soham, 

    That is odd. Especially since nothing immediately comes to mind as what leaving it off for two weeks can do to it. Besides maybe what could happen on the phone side - is this the same phone that it was connected to earlier?

    Does removing the bonding info help?

    Did you see this with multiple boards or just the one? 

    Directed adv timed out with no connection, reverting to normal adv

    Did you not get this before?

    Could you get the logs from the attempted connection from this? Getting more logs on the nRF would also be nice, but as that requires flashing it again with something and then waiting for 2 weeks, I guess that is not an option.

    Regards,

    Elfving

Children
Related