Search found 11 matches

by Micrified
Sun Nov 24, 2019 6:38 pm
Forum: ESP-IDF
Topic: My BLE GATT server shows a fault for (ESP_GATTS_CONF_EVT)
Replies: 3
Views: 5264

Re: My BLE GATT server shows a fault for (ESP_GATTS_CONF_EVT)

I found and resolved the issue. I had forgotten to set something in the ESP_GATTS_ADD_CHAR_EVT event, and was writing to the characteristic descriptor instead of the characteristic with my indicate call.
by Micrified
Sun Nov 24, 2019 3:42 pm
Forum: ESP-IDF
Topic: My BLE GATT server shows a fault for (ESP_GATTS_CONF_EVT)
Replies: 3
Views: 5264

Re: My BLE GATT server shows a fault for (ESP_GATTS_CONF_EVT)

@chegewara I'm able to output everything. But I'm not sure what is supposed to be there, or how to fix it. The documentation only says it is a confirm event, and that 'value' of the param argument is valid on error. But it doesn't explain anything else. I have only an error code and there is nothing...
by Micrified
Fri Nov 22, 2019 3:25 pm
Forum: ESP-IDF
Topic: My BLE GATT server shows a fault for (ESP_GATTS_CONF_EVT)
Replies: 3
Views: 5264

My BLE GATT server shows a fault for (ESP_GATTS_CONF_EVT)

I'm currently trying to figure out why two different Android Applications using the Bluedroid API are not able to receive notifications from my BLE GATT server. I've based it on the given GATT Server example supplied in the ESP-IDF repository. I notice the following when the Application connects to ...
by Micrified
Sat Oct 12, 2019 8:59 pm
Forum: ESP-IDF
Topic: Not enough memory for BLE and A2DP?
Replies: 3
Views: 5239

Re: Not enough memory for BLE and A2DP?

Okay so by following the ESP guide for partitions I was able to successfully increase it such that my application fits. Thank you for mentioning the partitions. I didn't know about them! ;) I should let you know that the command idf.py partition_table Does not actually show me my partition. I had to...
by Micrified
Sat Oct 12, 2019 6:12 pm
Forum: ESP-IDF
Topic: Not enough memory for BLE and A2DP?
Replies: 3
Views: 5239

Re: Not enough memory for BLE and A2DP?

Thanks for answering!!

Can you elaborate a bit more on how that works? Is there an example somewhere?

EDIT: Found this searching https://docs.espressif.com/projects/esp ... ables.html, I'll try it and get back
by Micrified
Sat Oct 12, 2019 2:40 pm
Forum: ESP-IDF
Topic: Not enough memory for BLE and A2DP?
Replies: 3
Views: 5239

Not enough memory for BLE and A2DP?

My project currently has my ESP32-WROOM-32 performing the following tasks for me: Acting as a WiFi station/client Running BLE so that I may communicate to it using a mobile application I made I wanted to enable Bluetooth Classic A2DP so that I could port over the music streaming example. However, af...
by Micrified
Mon Sep 30, 2019 12:23 am
Forum: ESP-IDF
Topic: How can I use FreeRTOS Socket API instead of LWIP?
Replies: 5
Views: 7297

Re: How can I use FreeRTOS Socket API instead of LWIP?

Yeah I ended up using the file you linked, along with some other forum posts (because LwIP doesn't seem to have any guides besides a barebones API reference from what I could find) to refactor my task. I now have a working select and it does exactly what I wanted. I've very happy with this developme...
by Micrified
Sun Sep 29, 2019 12:43 pm
Forum: ESP-IDF
Topic: How can I use FreeRTOS Socket API instead of LWIP?
Replies: 5
Views: 7297

Re: How can I use FreeRTOS Socket API instead of LWIP?

@ESP_Sprite So you're saying that using an LwIP socket will put the task in the background if it is blocked waiting? If that's true, then it's a good thing because I'm not totally stuck. However, I would really like to know if there anything I can do to easily get access to the FreeRTOS sockets. It ...
by Micrified
Sat Sep 28, 2019 12:43 pm
Forum: ESP-IDF
Topic: How can I use FreeRTOS Socket API instead of LWIP?
Replies: 5
Views: 7297

How can I use FreeRTOS Socket API instead of LWIP?

Context : I'm using FreeRTOS to run my project. One task in the project needs to manage sockets for me. To do this, I decided to use FreeRTOS Select since it enables FreeRTOS to put my socket-task in the background when there is nothing to read. Link to FreeRTOS Select: https://www.freertos.org/Fre...
by Micrified
Fri Aug 30, 2019 12:39 pm
Forum: General Discussion
Topic: Encountering unknown CMake command "idf_component_register"
Replies: 6
Views: 18975

Re: Encountering unknown CMake command "idf_component_register"

Hello. Let me explain what I did to install it. I in fact went right back through the procedure to make sure: 1. I first began by installing the standard toolchain for Linux. The guide I link here is what I followed: https://docs.espressif.com/projects/esp-idf/en/stable/get-started/linux-setup.html ...