Active BLE scan
Posted: Mon Sep 19, 2022 9:41 pm
Greetings,
We want to use the ESP32 as BLE central. The data we need to see in the advertisements is in the scan-response and not in the initial advertisement packet. So, we perform these setups and watch for BLESCAN messages:
at+bleinit=1
at+blescanparam=1,0,0,100,99
at+blescan=1
Yet, all of the scan results look sort-of like this:
+BLESCAN:"f7:dc:a4:ff:df:b7",-52,0201060b09656c6576656e706c7573051218005000020afe,,0
We have not seen any responses with the scan-response field filled-in. Are we starting the scan correctly to perform an active scan? We expect the scan response in the field before the final ",0".
Cheers
We want to use the ESP32 as BLE central. The data we need to see in the advertisements is in the scan-response and not in the initial advertisement packet. So, we perform these setups and watch for BLESCAN messages:
at+bleinit=1
at+blescanparam=1,0,0,100,99
at+blescan=1
Yet, all of the scan results look sort-of like this:
+BLESCAN:"f7:dc:a4:ff:df:b7",-52,0201060b09656c6576656e706c7573051218005000020afe,,0
We have not seen any responses with the scan-response field filled-in. Are we starting the scan correctly to perform an active scan? We expect the scan response in the field before the final ",0".
Cheers