This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Retransmissions for the light switch examples

Hi,

I tried out the light switch example on a nRF52833 and it seems not to be reliable at all. So i connected the debugger and saw, that in access.c,

in packet_alloc_and_tx(), the satus for the parameters is not succeeded. The problem comes probably from the invalid company id.

So I have two questions here about retransmissions:

  1. How can I set the company id in the source code, such that I read a succeeded status back from packet_alloc_and_tx() and so access_publish_retransmission_message_add() can be called
  2. How do i set the maximum number of retransmissions, I could not find any preprocessor macro which specifies this?
Parents Reply Children
No Data
Related