Search found 11 matches

by paddy_b
Thu Feb 27, 2020 8:54 am
Forum: ESP32 IDF
Topic: HTTP Server / LWIP / Netconn Errors
Replies: 0
Views: 609

HTTP Server / LWIP / Netconn Errors

I have an ESP32 running as WiFi AP and running an HTTP server using the IDF HTTP Server Component. I keep getting request failures with the warning messages: httpd_txrx: httpd_sock_err: error in send : 104 httpd_txrx: httpd_sock_err: error in recv : 104 these don't happen on every request, and I thi...
by paddy_b
Tue Feb 25, 2020 8:59 pm
Forum: ESP IoT Solution
Topic: BLE working mode
Replies: 3
Views: 6042

Re: BLE working mode

To form a connection, your client must be scanning while your server is advertising. Advertisements are sent at intervals, so you could have for example: A client scanning constantly, with constant radio activity, meaning constant power use. A server advertising at set intervals, with radio active o...
by paddy_b
Tue Feb 25, 2020 8:36 pm
Forum: ESP32 IDF
Topic: Using esp-idf command prompt for building projects in folders other than esp-idf folder
Replies: 1
Views: 934

Re: Using esp-idf command prompt for building projects in folders other than esp-idf folder

The ESP-IDF Command Prompt should set up your paths so that you can compile projects anywhere, what happens when you try to compile something in a different directory?
by paddy_b
Tue Feb 25, 2020 10:14 am
Forum: General Discussion
Topic: what's the bluetooth event task's priority
Replies: 4
Views: 3442

Re: what's the bluetooth event task's priority

Probably too late to help you, but for anyone else finding this thread:

Calling uxTaskPriorityGet() from a BLE event handler returns 19, which would make sense with what f.h-f.s. said about going over 18 for other tasks
by paddy_b
Fri Feb 21, 2020 10:05 am
Forum: ESP32 IDF
Topic: ESP_GATTC_SEARCH_CMPL_EVT vs ESP_GATTC_DIS_SRVC_CMPL_EVT
Replies: 0
Views: 407

ESP_GATTC_SEARCH_CMPL_EVT vs ESP_GATTC_DIS_SRVC_CMPL_EVT

Could somebody explain the difference between ESP_GATTC_DIS_SRVC_CMPL_EVT and ESP_GATTC_SEARCH_CMPL_EVT. According to https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/bluetooth/esp_gattc.html: ESP_GATTC_SEARCH_CMPL_EVT = 6 When GATT service discovery is completed, the event comes ...
by paddy_b
Mon Dec 02, 2019 2:51 pm
Forum: ESP32 IDF
Topic: Disabling & Re-enabling BLE
Replies: 3
Views: 698

Re: Disabling & Re-enabling BLE

Thanks for your reply... didn't really have anything in common as far as I could tell. I've got the functionality I need working now more or less, but I pretty much have to restart from scratch. It seems some things persist (GATT & GAP callbacks only need registering once at the start) but others do...
by paddy_b
Thu Nov 28, 2019 9:51 am
Forum: ESP32 IDF
Topic: Disabling & Re-enabling BLE
Replies: 3
Views: 698

Disabling & Re-enabling BLE

I have an application which uses BLE and want to place the ESP into light sleep. I know it's not possible to maintain any BLE activity in light sleep mode, but should it be possible to disable bluetooth and re-enable the same configuration later, without having to re-initialise everything? Calling: ...
by paddy_b
Tue Jun 04, 2019 7:21 am
Forum: ESP32 IDF
Topic: Dynamically registered gattc app makes esp_ble_gattc_open fail
Replies: 0
Views: 394

Dynamically registered gattc app makes esp_ble_gattc_open fail

I'm trying to make a program I've written support multiple client connections to different servers. I understand that each connection needs a separate app to be registered. My process is this: Perform a scan Application requests a connection to a certain BDA from the scan results BLE code creates a ...
by paddy_b
Mon Jun 25, 2018 11:48 am
Forum: General Discussion
Topic: BLE Latency
Replies: 2
Views: 1444

Re: BLE Latency

As my original question stated:
Anyone have any idea what I could to minimise this latency (other than setting connection parameters)?
I'm looking for factors other than the connection parameters which may affect the latency, as I've already set these parameters to provide minimum latency.

Go to advanced search