What is the best approach to listening to non-connectable, undirected BLE advertisements?
On a raspberry pi 3 I have used a combination of bluetoothctl and btmon to get a low-level view of advertisements coming through. Does this functionality exist for micropython?
(keywords: 0x03 - ADV_NONCONN_IND - non-connectable undirected advertising)
Low-Level BLE Sniffing
Re: Low-Level BLE Sniffing
Do you see them in a scan? I would have thought you would (as adv_type = 3). (If you see them in bluetoothctl then you should see them from MicroPython).
http://docs.micropython.org/en/latest/l ... E.gap_scan
This works on PYBD and ESP32 currently. nRF in progress.
-
- Posts: 1
- Joined: Wed May 20, 2020 2:07 am
- Contact:
Re: Low-Level BLE Sniffing
Thank you so much! Lot for me to read to start learning.jimmo wrote: ↑Thu May 07, 2020 2:53 amDo you see them in a scan? I would have thought you would (as adv_type = 3). (If you see them in bluetoothctl then you should see them from MicroPython).
http://docs.micropython.org/en/latest/l ... E.gap_scan
This works on PYBD and ESP32 currently. nRF in progress.