Search found 21 matches

by michaelwgnr
Wed Jan 11, 2017 4:27 pm
Forum: ESP32 SDK
Topic: [Suggestion] BLE GATT Server: Improve handling of read/write/notify
Replies: 6
Views: 247

Re: [Suggestion] BLE GATT Server: Improve handling of read/write/notify

... and I almost feel like a spammer with all the BLE posts I write here :oops: I appreciate you It was a bit surprising to me that bluedroid was picked but I guess the other open source options like the Intel stack in zephyr and apache nimble stack are still developing. Thanks. I don't know what o...
by michaelwgnr
Wed Jan 11, 2017 10:45 am
Forum: ESP32 SDK
Topic: [Suggestion] BLE GATT Server: Improve handling of read/write/notify
Replies: 6
Views: 247

Re: [Suggestion] BLE GATT Server: Improve handling of read/write/notify

it does seem like there is a lot of value passing of buffer data between a bunch of handler lookup functions. Yes, that is true. From what I gather, part of the btc subsystem decouples all the ESP API calls from the rest of the bluetooth stack but doesn't do much further. So, for example when calli...
by michaelwgnr
Wed Jan 11, 2017 8:08 am
Forum: ESP32 SDK
Topic: [Suggestion] BLE GATT Server: Improve handling of read/write/notify
Replies: 6
Views: 247

[Suggestion] BLE GATT Server: Improve handling of read/write/notify

When implementing a GATT server, the current handling of GATT read events seems rather convoluted and inefficient to me. In my understanding of Bluetooth LE, the value of a GATT characteristic is a value stored in the server. It only needs to change when the underlying data changes (e.g. a sensor va...
by michaelwgnr
Mon Jan 09, 2017 4:27 pm
Forum: General Discussion
Topic: esp-idf-blufi-demo BLEDEMO APK
Replies: 6
Views: 737

Re: esp-idf-blufi-demo BLEDEMO APK

It looks like the "blufi" profile has gone through a huge update recently and definitely doesn't work in the way described in this thread anymore.

Unfortunately there is no documentation at all and I don't know (yet?) how it is supposed to work exactly.
by michaelwgnr
Mon Jan 09, 2017 12:31 pm
Forum: ESP32 SDK
Topic: BLE gatts server example
Replies: 3
Views: 269

Re: BLE gatts server example

1. Errors on console The output you see on the serial interface are mostly not errors, but just of an informational nature. Unfortunately, all the serial output from the bluetooth stack is mapped to ESP_LOGE and not to the more correct corresponding ESP_LOGD or ESP_LOGI macros. 2. Device not visibl...
by michaelwgnr
Fri Jan 06, 2017 12:52 pm
Forum: ESP32 SDK
Topic: Bluetooth LE API questions: esp_ble_gatts_app_register
Replies: 2
Views: 132

Re: Bluetooth LE API questions: esp_ble_gatts_app_register

there's a restriction on the UUID you can send to the esp_ble_gatts_app_register. It can only be in the range 0x0000 to 0x7fff. Thanks, that's good to know. I noticed, that in the last updates, there were a few changes in the BLE API and that the GATT server example was changed to accommodate two s...
by michaelwgnr
Fri Jan 06, 2017 12:11 pm
Forum: Report Bugs
Topic: Bluetooth LE: Unable to connect Andorid >= 5.0 to ESP32 GATT server
Replies: 2
Views: 463

Bluetooth LE: Unable to connect Andorid >= 5.0 to ESP32 GATT server

I decided to create a seperate topic for this issue, that I originally mentioned in my UUID-not-advertised-topic . For better visibility and clearer structure. For some reason, most of the time I'm not able to connect to the ESP32 GATT server demo (example 14) using the Android app "BLE Scanne...
by michaelwgnr
Fri Jan 06, 2017 8:43 am
Forum: ESP32 SDK
Topic: Bluetooth LE API questions: esp_ble_gatts_app_register
Replies: 2
Views: 132

Bluetooth LE API questions: esp_ble_gatts_app_register

I took out these questions from my other BLE thread since they are not directly related to the issue outlined therein. What is the esp_ble_gatts_app_register call exactly for ? I tried digging deeper into the stack, but don't really understand what exactly happens after I call the function. It seems...