Using BGM111 firmware 0.9.1-136 I am not able to get the Scan Response function to work. I call le_gap_set_adv_data() to populate both the AD and scan response data:
call le_gap_set_adv_data(0, 30, advdata(0:30)) # Advertisement call le_gap_set_adv_data(1, 30, srdata(0:30)) # Scan Response
call le_gap_set_mode(le_gap_user_data, le_gap_undirected_connectable)
but it seems like the module only sends the AD packet and doesn't send the Scan Response data to active scanners. Has someone else been able to get this to work? Perhaps I'm missing something.
This behavior of the scan response packet is recently discovered and a known limitation of the beta build 136 of the BGM111 SDK. The problem causes no data to be placed in the scan response packet; the packet itself is sent out, but it has no payload.
The problem will be fixed in the official non-beta SDK release that should be coming soon.