BLE gap_scan MAX Frequency ?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
xwb
Posts: 14
Joined: Sun Oct 25, 2020 8:33 am

BLE gap_scan MAX Frequency ?

Post by xwb » Mon Nov 02, 2020 10:21 am

Dear all,

I am doing an indoor localisation project with esp32s and MicroPython and I am interest in receiving as much data as possible to increase the probability of scanning my beacon. I will provide the details of my beacon like advertising frequency later. In addition, will there be any consequences for setting the duty cycle to be 100%, ie making the interval and window the same? My current settings are 18000,9000 for gap_san. are they too aggressive or can they be even more agressive? Another part of my code is uploading to the server. Will the dual core module help with BLE scanning with MicroPython or uploading the data to the server while running at 100% duty cycle? The current scan success rate is too low at around once every few seconds. I need it to be once every 0.5 seconds (ideally). Thank you very much for your help in advance.

Many Thanks,
Clement

Post Reply