2021-02-13 02:01 AM
I am building a device that has to register data that is send in BLE beacons. I want to filter this data out of received Advertisement messages.
Are there any implementations of this capability that I can learn from?
I started from the P2P Client example, but when I change the gap role from GAP_CENTRAL_ROLE to GAP_OBSERVER_ROLE, I do not get any advertisement reports anymore.
Solved! Go to Solution.
2021-02-15 01:11 AM
OK, I solved the problem. I turns out that I had to use the aci_gap_start_observation_proc instead of aci_gap_start_general_discovery_proc.
2021-02-15 01:11 AM
OK, I solved the problem. I turns out that I had to use the aci_gap_start_observation_proc instead of aci_gap_start_general_discovery_proc.
2021-02-16 09:33 AM
We don’t have an example with OBSERVER_ROLE.
Now if a device has a GAP_OBSERVER_ROLE, he must send the aci_gap_start_observation_proc command (instead of the aci_gap_start_general_discovery_proc command).
If the remote device has a GAP_BROADCASTER_ROLE, he must send the aci_gap_set_broadcast_mode. command.
So when you change the role to be GAP_OBSERVER_ROLE, the aci_gap_start_general_discovery_proc command was not sent as we did not implement this role.
But you managed you find all this be yourself ... good!!