Page 1 of 1

BLE Connection stops adverticement on AT-Firmware

Posted: Fri Apr 03, 2020 6:48 am
by JimmyPedersen
Hi.
I'm thinking about using an ESP32 module with the AT commands firmware as an ALT beacon that is set up by another "Master" CPU.
I've got it working but as soon as I connect with a phone the advertisement stops until I send AT+BLEADVSTART to the ESP32.
I could send AT+BLEADVSTART every second or so to make sure the advertisement doesn't stop for to long but I was hoping there was a better setup-and-forget solution.
Any ideas?

PS. I have no use of allowing devices to connect to the module, I only need a one-way beacon that is stable and 'never' stops transmitting.

Re: BLE Connection stops adverticement on AT-Firmware

Posted: Sun Apr 12, 2020 10:30 pm
by JimmyPedersen
No-one?

Re: BLE Connection stops adverticement on AT-Firmware

Posted: Mon Apr 13, 2020 2:10 am
by jamesxie
Use this command `AT+BLEADVPARAM` to set the adv type: ADV_TYPE_NONCONN_IND