Dear Nordic Team,
Currently i am trying Beacon Observer,Please suggest sample code for my application. It is non connectable beacon. I am using SDK 11.0
Thanks in advance.
Dear Nordic Team,
Currently i am trying Beacon Observer,Please suggest sample code for my application. It is non connectable beacon. I am using SDK 11.0
Thanks in advance.
Hi,
When not in a connection, there are no way to ensure that any peripheral broadcast/advertising packets are received by any devices, or that a scanner/observer will ever receive any packets.
A device that support the observer role is only required to have a receiver and listen to devices broadcasting advertisements.
A device that support the central role is required to have a receiver and a transmitter. It should have the ability to listen for advertisements and initiate connections and serve as a master.
From this, you can see that an observer is quite similar to the central, with limited functionality. You will not get a different outcome from a observer application than you get from your central application.
I would suggest that you either try to tweak your advertisement and scanning parameters to receive more of the packets, or that you switch to a connected solution. If it's vital that you receive every packet from the peripheral, you need to enter a connected state.
What are your application, since you want to use an observer and need to receive every advertisement?
Best regards,
Jørgen
Hi,
When not in a connection, there are no way to ensure that any peripheral broadcast/advertising packets are received by any devices, or that a scanner/observer will ever receive any packets.
A device that support the observer role is only required to have a receiver and listen to devices broadcasting advertisements.
A device that support the central role is required to have a receiver and a transmitter. It should have the ability to listen for advertisements and initiate connections and serve as a master.
From this, you can see that an observer is quite similar to the central, with limited functionality. You will not get a different outcome from a observer application than you get from your central application.
I would suggest that you either try to tweak your advertisement and scanning parameters to receive more of the packets, or that you switch to a connected solution. If it's vital that you receive every packet from the peripheral, you need to enter a connected state.
What are your application, since you want to use an observer and need to receive every advertisement?
Best regards,
Jørgen