Search found 18 matches
- Sat Jun 26, 2021 3:57 pm
- Forum: ESP-IDF
- Topic: BLE advertising device with RAW data changing over time
- Replies: 0
- Views: 1809
BLE advertising device with RAW data changing over time
Hello, I need to create a device that sends RAW data through BLE Advertising , but this data has to change in time according to the reading of a sensor (or a timer). For now I have only been able to set static data in the RAW data, but I cannot modify this data array. Does anyone have an example tha...
- Thu Jun 17, 2021 6:02 pm
- Forum: ESP-IDF
- Topic: WiFi reconnection problem after Interrupt WakeUp (Light Sleep)
- Replies: 0
- Views: 2137
WiFi reconnection problem after Interrupt WakeUp (Light Sleep)
Good day. I'm making a program that collects data every certain amount seconds and does publish MQTT. In the intervals between data collection the system goes to sleep ( Light Sleep ). When the predetermined number of seconds is completed the system has no problems in reconnect WiFi. The problem ari...
- Wed Jun 16, 2021 6:07 pm
- Forum: General Discussion
- Topic: ESP32 WIFI Station Mode Error - bcn_timout,ap_probe_send_start
- Replies: 3
- Views: 7151
Re: ESP32 WIFI Station Mode Error - bcn_timout,ap_probe_send_start
I have this problem just after Interrupt wake up of Light Sleep. Any solution?
My system is very unstable :'(
- Sat Jun 12, 2021 1:32 am
- Forum: ESP-IDF
- Topic: Update 'adv_data_raw' in my BLE ADV application
- Replies: 3
- Views: 3655
Re: Update 'adv_data_raw' in my BLE ADV application
Why not update adv_raw_data in app_main or any other place you want? Maybe you will need to add some flag in events, that will tell you when you can setup advertising first time, but i believe you can try without it. because Im using the esp_ble_gap_config_adv_data_raw() function, and its a blockin...
- Fri Jun 11, 2021 10:53 pm
- Forum: ESP-IDF
- Topic: Update 'adv_data_raw' in my BLE ADV application
- Replies: 3
- Views: 3655
Update 'adv_data_raw' in my BLE ADV application
Hi. I'm having trouble updating the BLE Advertising Raw Data . I have taken as an example the ibeacon example of esp-idf, however this example does not allow me to update the raw data in real time since no more events are produced once the process has started. I would like to know if I can force som...
- Fri Jun 11, 2021 10:47 pm
- Forum: ESP-IDF
- Topic: Application resetting every 13m20s
- Replies: 3
- Views: 4441
Re: Application resetting every 13m20s
Perhaps it could be an overflow problem, that is, in each iteration you are taking up more memory space and in a moment you run out of memory.
I recommend you review your code and verify the variables that you create in each iteration.
I recommend you review your code and verify the variables that you create in each iteration.
- Thu Jun 10, 2021 1:26 am
- Forum: Hardware
- Topic: Prototype with "ESP32-C3-WROOM-02" module - Download Problem
- Replies: 1
- Views: 2524
Re: Prototype with "ESP32-C3-WROOM-02" module - Download Problem
Sorry, now its working
I had Tx connected to GND for some reason.
It works perfect!
I had Tx connected to GND for some reason.
It works perfect!
- Thu Jun 10, 2021 1:00 am
- Forum: Hardware
- Topic: Prototype with "ESP32-C3-WROOM-02" module - Download Problem
- Replies: 1
- Views: 2524
Prototype with "ESP32-C3-WROOM-02" module - Download Problem
Good day, I have built a prototype using the "ESP32-C3-WROOM-02" module. I've made the correct hardware configurations, I'm pretty sure. However I cannot download any firmware using esp-idf. I have also tried with esptool, but it can never recognize the chip, as if it was not connected. However, whe...
- Wed Apr 07, 2021 12:19 pm
- Forum: ESP-IDF
- Topic: Can I determine which was the GPIO that woke up in "Light Sleep"?
- Replies: 0
- Views: 1617
Can I determine which was the GPIO that woke up in "Light Sleep"?
I have the following code (taken from examples) that determines what was the reason why it woke up. ... esp_light_sleep_start(); printf("WakeUP!\n"); /* Determine wake up reason */ const char* wakeup_reason; switch (esp_sleep_get_wakeup_cause()) { case ESP_SLEEP_WAKEUP_TIMER: wakeup_reason = "timer"...
- Tue Apr 06, 2021 1:13 pm
- Forum: ESP-IDF
- Topic: Problems with FreeRTOS tasks and Light Sleep
- Replies: 2
- Views: 3226
Re: Problems with FreeRTOS tasks and Light Sleep
The entire idea of light sleep is to save power by shutting down the CPU cores, so yeah, you're not going to be able to run any code while the system is in light sleep. You can use Light Sleep with FreeRTOS, but you need to make sure that whatever you want the SoC to do can be initiated by a light ...