Search found 26 matches

by michaelwgnr
Mon Jan 09, 2017 4:27 pm
Forum: General Discussion
Topic: esp-idf-blufi-demo BLEDEMO APK
Replies: 8
Views: 9045

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 IDF
Topic: BLE gatts server example
Replies: 3
Views: 4351

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 IDF
Topic: Bluetooth LE API questions: esp_ble_gatts_app_register
Replies: 2
Views: 2680

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: 4
Views: 6183

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 Scanner", w...
by michaelwgnr
Fri Jan 06, 2017 8:43 am
Forum: ESP32 IDF
Topic: Bluetooth LE API questions: esp_ble_gatts_app_register
Replies: 2
Views: 2680

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...
by michaelwgnr
Fri Jan 06, 2017 8:31 am
Forum: ESP32 IDF
Topic: [Resolved] BLE GATT server example: Service UUID not advertised
Replies: 9
Views: 8864

Re: BLE GATT server example: Service UUID not advertised

iPhone cannot realize service UUID of ADV_data. Because the ADV_DATA is only 31bytes. So you need to decrease the ADV_DATA size. In the demo, we do many settings of ADV_DATA for demo. So you can delete some settings of ADV_DATA. Thank you for chiming in. Sorry, this thread got a bit long, so it is ...
by michaelwgnr
Fri Jan 06, 2017 8:21 am
Forum: ESP32 IDF
Topic: The BLE APIs and the concept of "handles" ...
Replies: 16
Views: 11047

Re: The BLE APIs and the concept of "handles" ...

The "handle" means 'attribute handle", the bluetooth CORE spec define the name. So it's a professional name. "attribute handle " is a uniq number, it is used for indicating different attribute(service, characteristic, descriptor),because that , for example, two service use the same UUID simultaneou...
by michaelwgnr
Fri Jan 06, 2017 8:09 am
Forum: ESP32 IDF
Topic: Bluetooth LE APIs
Replies: 2
Views: 4083

Re: Bluetooth LE APIs

Hi, for your questions: 1. We make ESP_api provide to users. BTA_api is for bluedroid internal. So users should call ESP_api, rather than BTA_api. 2. When newer version of ESP_IDF release, we will update some ESP_api. Thanks for your response! 1. Okay, I understand that, so I can't really assume th...
by michaelwgnr
Thu Jan 05, 2017 4:09 pm
Forum: ESP32 IDF
Topic: Bluetooth LE APIs
Replies: 2
Views: 4083

Bluetooth LE APIs

Looking at all the Bluetooth LE examples, I realised that these all outline three possible approaches to work with Bluetooth LE in the current version of the SDK: examples/05_ble_adv: Manually shove bytes through the HCI. examples/12_blufi: Apart from the parts that are handled by the "blufi"-profil...
by michaelwgnr
Thu Jan 05, 2017 2:12 pm
Forum: Report Bugs
Topic: Flags ignored in BLE advertising
Replies: 2
Views: 2677

Re: Flags ignored in BLE advertising

There is actually a corresponding pull request on github (not by me).

I agree, it would be nice to have this included in the next update.