Hi everyone,i'm using ESP32 BLE AT commands .My idea is to use one device as broadcaster and two or more devices as observers, in order to transmists the advertising packets to the listeners specifically with connectable broadcast mode , i have done following steps .
As GAP AT commands are not given in datasheet .
I have set ESP32-01 module as Server used following commands :
06-03-2018 12:38:10.565 [TX] - AT+BLEINIT=2<CR><LF>
06-03-2018 12:38:10.568 [RX] - AT+BLEINIT=2<CR><LF>
06-03-2018 12:38:11.101 [RX] - <CR><LF>
OK<CR><LF>
06-03-2018 12:38:19.506 [TX] - AT+BLEADVPARAM=50,50,0,1,7<CR><LF>
06-03-2018 12:38:19.510 [RX] - AT+BLEADVPARAM=50,50,0,1,7<CR><LF>
<CR><LF>
OK<CR><LF>
06-03-2018 12:38:25.159 [TX] - AT+BLEADVDATA="0201040302e0ff04ffA232021200003400000234e00003a000ae32000000FF"<CR><LF>
06-03-2018 12:38:25.168 [RX] - AT+BLEADVDATA="0201040302e0ff04ffA232021200003400000234e00003a000ae32000000FF"<CR><LF>
<CR><LF>
OK<CR><LF>
06-03-2018 12:38:34.275 [TX] - AT+BLEADVSTART<CR><LF>
06-03-2018 12:38:34.278 [RX] - AT+BLEADVSTART<CR><LF>
<CR><LF>
OK<CR><LF>
I have set ESP-02 module as Client used following commands :
06-03-2018 14:23:10.640 [TX] - AT+BLEINIT=1<CR><LF>
06-03-2018 14:23:10.642 [RX] - AT+BLEINIT=1<CR><LF>
06-03-2018 14:23:11.193 [RX] - <CR><LF>
OK<CR><LF>
06-03-2018 14:23:13.017 [TX] - AT+BLESCAN=1<CR><LF>
06-03-2018 14:23:13.020 [RX] - AT+BLESCAN=1<CR><LF>
<CR><LF>
OK<CR><LF> .
Andriod phone is getting advertised data but it is not connectable , so please tell me how to advertise data in connectable mode .
I have also checked with sniffer : Not getting connectable advertise data .
Thank you for your help.
Karan Tak
BLE Connectable Broadcaster using AT Commands .
Re: BLE Connectable Broadcaster using AT Commands .
Is there no one .?
Re: BLE Connectable Broadcaster using AT Commands .
Hello,
I configured a BLE server using AT commands and my device can be found by smartphones using BLE testing apps just like BLEScanner.
What I'm not able to find in your AT command sequence for BLE "Server" is service/characteristic configuration.
I'm not sure about that, but what is your BLE offering to the other devices? Could this be the reason why your BLE server it not seen?
I configured a BLE server using AT commands and my device can be found by smartphones using BLE testing apps just like BLEScanner.
What I'm not able to find in your AT command sequence for BLE "Server" is service/characteristic configuration.
I'm not sure about that, but what is your BLE offering to the other devices? Could this be the reason why your BLE server it not seen?
Who is online
Users browsing this forum: VinayDand and 358 guests