Hi,
Just a general question, is there a way to find out the exact size of the advertising packet? I'm using nRF52832 to connect to a smart phone. I was curious if there's any way to specify that?
Thanks,
Reza
Hi,
Just a general question, is there a way to find out the exact size of the advertising packet? I'm using nRF52832 to connect to a smart phone. I was curious if there's any way to specify that?
Thanks,
Reza
Hi Reza,
The easiest way is to use the nRF Connect app on Android/iOS where you can see the raw data of the advertising packet.
You can also use nRFSniffer to catch the raw BLE packets.
Another option is to set a breakpoint in your code where sd_ble_gap_adv_set_configure() is called and check the p_adv_data variable provided.
Hi Reza,
The easiest way is to use the nRF Connect app on Android/iOS where you can see the raw data of the advertising packet.
You can also use nRFSniffer to catch the raw BLE packets.
Another option is to set a breakpoint in your code where sd_ble_gap_adv_set_configure() is called and check the p_adv_data variable provided.
Hi Hung,
It worked.
Thanks for the help.