Search found 7 matches
- Thu Mar 07, 2019 5:45 pm
- Forum: Report Bugs
- Topic: Disable Bluetooth error
- Replies: 3
- Views: 11686
Re: Disable Bluetooth error
This may be a bit late, but I found this issue after positing my own thread on this topic. This seems to happen when you try to disable the bluetooth in its own thread (IE, in the gatt callback or something). You basically end up with a deadlock. I worked around it using https://www.freertos.org/xTi...
- Thu Mar 07, 2019 5:29 pm
- Forum: ESP-IDF
- Topic: esp_bluedroid_disable never returns
- Replies: 1
- Views: 3255
esp_bluedroid_disable never returns
I am working a project that requires enabling the bluetooth module for a short period of time before disabling it again. Enabling the module works fine, but I am having less luck disabling it. It appears that esp_bluedroid_disable never returns. I am using the following code: ESP_LOGI(TAG, "Disablin...
- Fri Feb 15, 2019 11:58 am
- Forum: ESP-IDF
- Topic: How to reconnect MQTT with new config
- Replies: 1
- Views: 5305
How to reconnect MQTT with new config
Hi I am trying to change the config of my MQTT client and reconnect to the broker, as the username and password can be changed. This is over a TLS connection. Currently, I am trying: mqtt_config.username = mqtt_username; mqtt_config.password = mqtt_password; ESP_LOGI(TAG, "Password set to %s", mqtt_...
- Thu Feb 07, 2019 3:55 pm
- Forum: ESP-IDF
- Topic: mbedTLS error with MQTT
- Replies: 2
- Views: 7091
mbedTLS error with MQTT
I am working on a project that involves receiving a large number of messages to an MQTT topic in quick succession, as part of an OTA system. The messages are approximately 1kB in size, and are transmitted every second or so (the device requests the next message upon processing the current one). The ...
- Wed Jun 20, 2018 11:10 am
- Forum: ESP-IDF
- Topic: Sending Multiple Notifications
- Replies: 1
- Views: 3803
Sending Multiple Notifications
Hello I am attempting to emulate a serial connection using a Tx and Rx BLE characteristic. For the Tx, I am attempting to use notifications to send the data to the phone. Initially, I encountered an issue where the packets were too big to send, and received on error on the logs. To get around this, ...
- Fri Jun 08, 2018 9:09 am
- Forum: ESP-IDF
- Topic: BLE unreliable while WiFi is active
- Replies: 2
- Views: 5083
Re: BLE unreliable while WiFi is active
I may have found the problem. Turning off the "Software controls WiFi/Bluetooth coexistence" option in the configuration seemed to boost the performance of the bluetooth. Still testing the implications of turning this option off however.
- Thu Jun 07, 2018 2:30 pm
- Forum: ESP-IDF
- Topic: BLE unreliable while WiFi is active
- Replies: 2
- Views: 5083
BLE unreliable while WiFi is active
Hi We are currently working on a project that uses a custom BLE protocol to configure out device, including wifi configuration. What I have discovered is that while the BLE protocol works well, it isn't reliable while the wifi driver is enabled. My phone fails to connect about 3/5 times, and disconn...