BLE Connection stops adverticement on AT-Firmware

JimmyPedersen
Posts: 21
Joined: Sun Nov 15, 2015 4:14 am

BLE Connection stops adverticement on AT-Firmware

Postby JimmyPedersen » Fri Apr 03, 2020 6:48 am

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.

JimmyPedersen
Posts: 21
Joined: Sun Nov 15, 2015 4:14 am

Re: BLE Connection stops adverticement on AT-Firmware

Postby JimmyPedersen » Sun Apr 12, 2020 10:30 pm

No-one?

ESP_XieWX
Posts: 27
Joined: Fri Jun 22, 2018 7:39 am

Re: BLE Connection stops adverticement on AT-Firmware

Postby ESP_XieWX » Mon Apr 13, 2020 2:10 am

Use this command `AT+BLEADVPARAM` to set the adv type: ADV_TYPE_NONCONN_IND

Who is online

Users browsing this forum: No registered users and 27 guests