Search found 5 matches

by ccut93
Wed Mar 19, 2025 6:57 pm
Forum: ESP-IDF
Topic: Merge mesh networks into one.
Replies: 3
Views: 4650

Re: Merge mesh networks into one.

Have you ever resolved this issue? I am working on the same thing right now. I think I have a handle of manually managed networks, and the mechanics of selecting parents, but I am a little stuck on how to manage network conflicts. My idea is to be scanning continually, and try to identify if ...
by ccut93
Tue Mar 04, 2025 7:03 pm
Forum: ESP-IDF
Topic: BLE start_service() num_handles parameter
Replies: 1
Views: 559

BLE start_service() num_handles parameter

Can someone explain to me the num_handle parameter of esp_ble_gatts_create_service()? If I put in 1, I am able to create a service, but unable to add characteristics. If I put in 3, I am able to create a single characteristic. It seems that each characteristic consumes two handles. I haven't tried ...
by ccut93
Tue Mar 04, 2025 6:51 pm
Forum: ESP-IDF
Topic: Adding characteristic results in GATT_ERROR 133
Replies: 1
Views: 1355

Re: Adding characteristic results in GATT_ERROR 133

I have found the problem in my code. In esp_ble_gatts_create_service(), I specified one handle. This is apparently incorrect. The service was created, but when I tried to add a characteristic, the service didn't have any handles available to give for it, so the add_char() failed. I have determined ...
by ccut93
Fri Feb 28, 2025 12:27 am
Forum: ESP-IDF
Topic: Adding characteristic results in GATT_ERROR 133
Replies: 1
Views: 1355

Adding characteristic results in GATT_ERROR 133

I am trying to make a simpler to use interface for BLE with esp-idf. I have run into an issue that I have been messing with for the last 6 hours. I am able to advertise and create a service, but when I try to add a characteristic, the callback comes with status 133 (general failure). Also, I am able ...
by ccut93
Mon Jan 08, 2024 6:23 am
Forum: ESP-IDF
Topic: vTaskDelay delays way too long
Replies: 2
Views: 10304

vTaskDelay delays way too long

I set up a simple "hello world" project to verify functionality of FreeRTOS. My main loop creates a thread with function stillAlive(), which is supposed to print a message every 10ms, but it's actually printing every 1000ms. How do I fix this?
main.c
(492 Bytes) Downloaded 364 times

Go to advanced search