ESP32C3MINI - How long does the advertising remain active without any connection requests?

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

ESP32C3MINI - How long does the advertising remain active without any connection requests?

Postby ggeorge » Tue Nov 29, 2022 7:27 am

I am trying to advertising my ESP32C3Mini using AT+BLEADVSTART and it stays in that mode for sometime and then goes into some disable mode.
Is the AT Firmware in the BLE module doing something if there are no connection requests or something?
Is there any way to keep the BLE advertising active for all the time?

ESP_Sun
Posts: 291
Joined: Thu Dec 30, 2021 9:52 am

Re: ESP32C3MINI - How long does the advertising remain active without any connection requests?

Postby ESP_Sun » Tue Nov 29, 2022 7:48 am

Hi,
Generally, if the broadcast is not actively stopped, it will continue to broadcast until it is connected. Can you provide test version information (AT+GMR), AT command and log.

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

Re: ESP32C3MINI - How long does the advertising remain active without any connection requests?

Postby ggeorge » Tue Nov 29, 2022 8:44 am

ESP_Sun wrote:
Tue Nov 29, 2022 7:48 am
Hi,
Generally, if the broadcast is not actively stopped, it will continue to broadcast until it is connected. Can you provide test version information (AT+GMR), AT command and log.
UART4 RX = AT+GMR
UART4 RX = AT version:2.4.0.0(4c6eb5e - ESP32C3 - May 20 2022 03:11:59)
UART4 RX = SDK version:qa-test-v4.3.3-20220423
UART4 RX = compile time(5641e0a):May 20 2022 11:13:44
UART4 RX = Bin version:2.4.0(MINI-1)
UART4 RX =
UART4 RX = OK

ESP_Sun
Posts: 291
Joined: Thu Dec 30, 2021 9:52 am

Re: ESP32C3MINI - How long does the advertising remain active without any connection requests?

Postby ESP_Sun » Tue Nov 29, 2022 9:16 am

ggeorge wrote:
Tue Nov 29, 2022 8:44 am
ESP_Sun wrote:
Tue Nov 29, 2022 7:48 am
Hi,
Generally, if the broadcast is not actively stopped, it will continue to broadcast until it is connected. Can you provide test version information (AT+GMR), AT command and log.
UART4 RX = AT+GMR
UART4 RX = AT version:2.4.0.0(4c6eb5e - ESP32C3 - May 20 2022 03:11:59)
UART4 RX = SDK version:qa-test-v4.3.3-20220423
UART4 RX = compile time(5641e0a):May 20 2022 11:13:44
UART4 RX = Bin version:2.4.0(MINI-1)
UART4 RX =
UART4 RX = OK
Can you provide the relevant AT command so that I can reproduce the issue?
By the way, the C3 version has been updated to v2.4.2.0 (https://docs.espressif.com/projects/esp ... aries.html). Maybe you can test it on this version

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

Re: ESP32C3MINI - How long does the advertising remain active without any connection requests?

Postby ggeorge » Tue Nov 29, 2022 9:23 am

ESP_Sun wrote:
Tue Nov 29, 2022 9:16 am
ggeorge wrote:
Tue Nov 29, 2022 8:44 am
ESP_Sun wrote:
Tue Nov 29, 2022 7:48 am
Hi,
Generally, if the broadcast is not actively stopped, it will continue to broadcast until it is connected. Can you provide test version information (AT+GMR), AT command and log.
UART4 RX = AT+GMR
UART4 RX = AT version:2.4.0.0(4c6eb5e - ESP32C3 - May 20 2022 03:11:59)
UART4 RX = SDK version:qa-test-v4.3.3-20220423
UART4 RX = compile time(5641e0a):May 20 2022 11:13:44
UART4 RX = Bin version:2.4.0(MINI-1)
UART4 RX =
UART4 RX = OK
Can you provide the relevant AT command so that I can reproduce the issue?
By the way, the C3 version has been updated to v2.4.2.0 (https://docs.espressif.com/projects/esp ... aries.html). Maybe you can test it on this version
The AT commands used by me to setup:
1. AT+CWMODE=3
2. AT+BLEINIT=2
3. AT+BLEADVDATAEX
4. AT+BLENAME
5. AT+BLEGATTSSRVCRE
6. AT+BLEGATTSSRVSTART
7. AT+BLEADVSTART

ESP_Sun
Posts: 291
Joined: Thu Dec 30, 2021 9:52 am

Re: ESP32C3MINI - How long does the advertising remain active without any connection requests?

Postby ESP_Sun » Tue Nov 29, 2022 9:50 am

ggeorge wrote:
Tue Nov 29, 2022 9:23 am
ESP_Sun wrote:
Tue Nov 29, 2022 9:16 am
ggeorge wrote:
Tue Nov 29, 2022 8:44 am


UART4 RX = AT+GMR
UART4 RX = AT version:2.4.0.0(4c6eb5e - ESP32C3 - May 20 2022 03:11:59)
UART4 RX = SDK version:qa-test-v4.3.3-20220423
UART4 RX = compile time(5641e0a):May 20 2022 11:13:44
UART4 RX = Bin version:2.4.0(MINI-1)
UART4 RX =
UART4 RX = OK
Can you provide the relevant AT command so that I can reproduce the issue?
By the way, the C3 version has been updated to v2.4.2.0 (https://docs.espressif.com/projects/esp ... aries.html). Maybe you can test it on this version
The AT commands used by me to setup:
1. AT+CWMODE=3
2. AT+BLEINIT=2
3. AT+BLEADVDATAEX
4. AT+BLENAME
5. AT+BLEGATTSSRVCRE
6. AT+BLEGATTSSRVSTART
7. AT+BLEADVSTART
Since ESP32C2 AT v2.4 and later versions are based on BLE 5.0, a command usage rule is added:
Please set BLE advertising parameters by AT+BLEADVPARAM command before using AT+BLEADVDATA command.
Maybe you can set AT+BLEADVPARAM first, then set AT+BLEADVDATAEX command, and then turn off the wifi mode (AT+CWMODE=0) to test whether the problem still exists.
AT+BLEADVPARAM: https://docs.espressif.com/projects/esp ... dvertising

Who is online

Users browsing this forum: No registered users and 20 guests