Search found 18 matches

by halfro
Sat Oct 21, 2017 12:06 pm
Forum: ESP32 IDF
Topic: WiFi WPA2 protocol vulnerabilities (VU#228519)
Replies: 9
Views: 7657

Re: WiFi WPA2 protocol vulnerabilities (VU#228519)

But I just have one concern regarding this issue is that we have already released one product based on ESP32 IDF 2.0 SDK and i don't want to upgrade whole ESP32 SDK now for this issue fix. As per the reply I sent you on the other thread, updating to V2.1 and then V2.1.1 is the supported upgrade pat...
by halfro
Sun Oct 08, 2017 10:30 am
Forum: General Discussion
Topic: Unable to advertise 128 bit UUID
Replies: 3
Views: 2732

Re: Unable to advertise 128 bit UUID

Quite simple: The advertisement length of BLE is 32 bytes. With a 128bit UUID you cant even fit 2 withing an advertisement let alone a complete list.
by halfro
Sun Oct 08, 2017 9:58 am
Forum: General Discussion
Topic: gatt server service table example
Replies: 6
Views: 3915

Re: gatt server service table example

Below is the only code I added on top of the service table example code, it shows the error when I read the sensor location. E (104789) BT: GATTS_SendRsp conn_id: 4 waiting for op_code = 00 E (104789) BT: Sending response failed case ESP_GATTS_READ_EVT: memset(&rsp, 0, sizeof(esp_gatt_rsp_t)); rsp....
by halfro
Sun Oct 08, 2017 9:38 am
Forum: ESP32 IDF
Topic: How a BLE Server can get the RSSI of received packet from Central Device
Replies: 4
Views: 2639

Re: How a BLE Server can get the RSSI of received packet from Central Device

Probably 1073560042 is in raw milliWatts in decimal, because if you convert it to dBm ths gives 90.308263386 dBm. And since RSSI values vary from 0 to -120, probably this is -90.308263386 dBm. But one question I have is that the value -120dBm would fall outside the int range described in esp_gap_ble...
by halfro
Sun Sep 24, 2017 1:35 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 373
Views: 159812

Re: What would you like to see in The Next Chip?

1. Well radio implementations such as LORA for LPWAN, nothing more than that for in my side of the world(Kenya). It can even be an off chip addition that can be done as a module that one can buy in bulk from a single supplier. I have done deployments for such and the ESP32 is a real contender if th...
by halfro
Sun Sep 24, 2017 11:18 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 373
Views: 159812

Re: What would you like to see in The Next Chip?

1. Well radio implementations such as LORA for LPWAN, nothing more than that for in my side of the world(Kenya). It can even be an off chip addition that can be done as a module that one can buy in bulk from a single supplier. I have done deployments for such and the ESP32 is a real contender if thi...
by halfro
Sun Sep 24, 2017 10:17 am
Forum: ESP32 IDF
Topic: Write a string to characteristic
Replies: 3
Views: 2843

Re: Write a string to characteristic

The handle of the characteristic is stored in the attribute handle table returned after ESP_GATTS_CREAT_ATTR_TAB_EVT: heart_rate_handle_table[CHARACTERISTIC_ENUM_VALUE] will return the handle for CHARACTERISTIC_ENUM_VALUE. Hi halfro, Thanks for your response.But I can't get handle. I want to write ...
by halfro
Tue Sep 19, 2017 9:01 pm
Forum: ESP32 IDF
Topic: Write a string to characteristic
Replies: 3
Views: 2843

Re: Write a string to characteristic

The handle of the characteristic is stored in the attribute handle table returned after ESP_GATTS_CREAT_ATTR_TAB_EVT:

Code: Select all

heart_rate_handle_table[CHARACTERISTIC_ENUM_VALUE]
will return the handle for CHARACTERISTIC_ENUM_VALUE.
by halfro
Tue Sep 19, 2017 8:36 pm
Forum: ESP32 IDF
Topic: How to feed task watchdog from asynchronous code such as a BLE task?
Replies: 3
Views: 1778

Re: How to feed task watchdog from asynchronous code such as a BLE task?

ESP_Sprite wrote:If the task runs at unpredictable times, why would you put in a watchdog at all?
Thanks for the insight. I haven't used watchdogs before so I was trying to understand if it can be used for non deterministic code to get rid of the "unable to feed task watchdog" message.
by halfro
Tue Sep 19, 2017 8:05 am
Forum: ESP32 IDF
Topic: How to feed task watchdog from asynchronous code such as a BLE task?
Replies: 3
Views: 1778

How to feed task watchdog from asynchronous code such as a BLE task?

So I have a BLE task and the task contains a gatt server and advertisement data. Is there a way to feed the task watchdog. I have read the notes on the watchdogs but I can't find a way for my BleTask to be watched especially since BLE operations are very asynchronous. Here is my trial at it. void Bl...

Go to advanced search