Hello irahul -
The value 245 returned for length_data is not correct, nor is the data. That is the problem. The RSSI member, however, is correct.
Thanks!
Search found 3 matches
- Mon Aug 19, 2024 4:11 pm
- Forum: ESP-IDF
- Topic: Reading Advertisement Service Data
- Replies: 6
- Views: 1580
- Mon Aug 19, 2024 5:52 am
- Forum: ESP-IDF
- Topic: Reading Advertisement Service Data
- Replies: 6
- Views: 1580
Re: Reading Advertisement Service Data
Hi irahul - Thank you for the reply. Here is some additional data... Logs: I (22:28:34.670) ble_driver: Scanning... I (22:28:34.670) NimBLE: GAP procedure initiated: discovery; I (22:28:34.671) NimBLE: own_addr_type=0 filter_policy=0 passive=1 limited=0 filter_duplicates=0 I (22:28:34.680) NimBLE: d...
- Thu Aug 15, 2024 5:54 am
- Forum: ESP-IDF
- Topic: Reading Advertisement Service Data
- Replies: 6
- Views: 1580
Reading Advertisement Service Data
With an ESP32 configured as a BLE 4.2 controller, we are attempting to read the service data in an advertisement packet from a peripheral. We are using the NimBLE HOST GAP interface (ble_gap.h), and have the appropriate event handler/callback set up. Upon receipt of the BLE_GAP_EVENT_DISC event, dis...