Hello All,
I am using heartrate application profile on my custom design board. I found my device is not being discovered all the time with BLE multitool app on my iPhone. Sometimes app is showing it as broadcaster and no further data exchange happens. Sometimes app not even discover the device.
Out of 10 attempts, 3 time multitool shows broadcaster, and 1 time it doesn't even find the device.
I found using the sniffer, my device sometimes not advertising data more than two ADV_IND packets where I assume it supposed to send the packets forever till it is discovered by central.
I tried by modifying advertising data flags for limited discover and general discover modes. it doesn't show any difference.
I also found after, gapRole_state flag set to GAPROLE_ADVERTISING, the device never gets any events and will be waiting in sleep mode forever.
As I am new to the BLE app development, I stuck in debugging, and unable to find what could be the problem.
Anyone please help me on this issue.
Regards
Lakshmikanth