BLE Connectable Broadcaster using AT Commands .

Karan_26
Posts: 6
Joined: Fri Feb 23, 2018 11:40 am

BLE Connectable Broadcaster using AT Commands .

Postby Karan_26 » Tue Mar 06, 2018 9:01 am

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

Karan_26
Posts: 6
Joined: Fri Feb 23, 2018 11:40 am

Re: BLE Connectable Broadcaster using AT Commands .

Postby Karan_26 » Thu Mar 08, 2018 3:29 am

Is there no one .?

rosigna
Posts: 3
Joined: Wed Sep 06, 2017 12:31 pm

Re: BLE Connectable Broadcaster using AT Commands .

Postby rosigna » Fri Mar 23, 2018 9:07 am

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?

Who is online

Users browsing this forum: No registered users and 280 guests