Search found 740 matches

by kolban
Mon Jun 26, 2017 1:41 pm
Forum: General Discussion
Topic: Existing Advertising modes in esp32
Replies: 1
Views: 14

Re: Existing Advertising modes in esp32

Its been my experience that the BLE support in ESP-IDF exposes the underlying BLE protocol. What this means is that one must perform study on "abstract" BLE and only then will the ESP-IDF BLE API start to fall into place. For example, with respect to BLE advertising ... https://blog.blueto...
by kolban
Sun Jun 25, 2017 10:49 pm
Forum: ESP32 SDK
Topic: BLE: Associating a descriptor with a characteristic
Replies: 0
Views: 17

BLE: Associating a descriptor with a characteristic

In my study, I seem to find that an arbitrary BLE peripheral (a device) can host 1 or more services. Each service can be composed of 1 or more characteristics and each characteristic can have 0 or more descriptors. We thus have a tree like structure rooted at the device which has immediate children ...
by kolban
Sun Jun 25, 2017 7:00 pm
Forum: ESP32 SDK
Topic: [Info]: BLE: service_uuid_len must be multiple of 16
Replies: 0
Views: 12

[Info]: BLE: service_uuid_len must be multiple of 16

Ive been working on BLE recently and trying to set up a BLE peripheral that advertises itself. I was trying to advertise a service with 16bit UUID of "180d". To that end, I was calling: esp_ble_gap_config_adv_data(&m_advData) where in the m_advData structure I was setting: m_advData.se...
by kolban
Fri Jun 23, 2017 1:13 am
Forum: ESP32 SDK
Topic: BLE: Contents of correct response for ESP_GATTS_WRITE_EVT
Replies: 0
Views: 39

BLE: Contents of correct response for ESP_GATTS_WRITE_EVT

When writing a BLE GATTS server, I am responding to ESP_GATTS_WRITE_EVT which is raised in response to a partner asking to write a new value to the characteristic hosted on my GATTS server. The incoming structure associated with this event includes a flag called "need_rsp" which indicates ...
by kolban
Thu Jun 22, 2017 2:15 pm
Forum: General Discussion
Topic: Communicate ESP32 to ESP32 over BLE
Replies: 2
Views: 104

Re: Communicate ESP32 to ESP32 over BLE

I'm tinkering with some C++ classes that encapsulate Bluetooth as found in ESP-IDF. These classes both expose all the power while hiding the lower level complexities. I'm still thinking through the class structures but have the C level APIs working. The reason I mention this ... is to ask ... would ...
by kolban
Thu Jun 22, 2017 4:39 am
Forum: ESP32 SDK
Topic: Sequence flow for BLE advertising ... must I wait for an ESP_GAP_BLE_ADV_DATA_SET_COMPLETE_EVT?
Replies: 0
Views: 44

Sequence flow for BLE advertising ... must I wait for an ESP_GAP_BLE_ADV_DATA_SET_COMPLETE_EVT?

When creating a BLE peripheral which will be advertising its existence, I understand that I must call: esp_ble_gap_config_adv_data() to set the content of the advertisement and then call esp_ble_gap_start_advertising() to begin the actual advertising procedure. However, my question is about timing. ...
by kolban
Wed Jun 21, 2017 2:21 pm
Forum: General Discussion
Topic: BLE scanner
Replies: 4
Views: 136

Re: BLE scanner

I'm going to stick my neck out and say that the example shown in your last post should be flagged as "ultra low level". I would not recommend anyone to use the Host Controller Interface (HCI) unless they absolutely know what they are doing and have a skill of 7 out of 10 (at least) in Blue...
by kolban
Wed Jun 21, 2017 5:07 am
Forum: General Discussion
Topic: NetBeans IDE
Replies: 2
Views: 97

Re: NetBeans IDE

In theory/principle ... the answer is likely to be yes. Let us assume that NetBeans IDE has the ability to invoke an arbitrary "make" system (which is what Eclipse does). Then the primary features you will get from NetBeans (or any other IDE ... eg. Eclipse) will be: 1. Ability to edit sou...
by kolban
Wed Jun 21, 2017 5:01 am
Forum: General Discussion
Topic: BLE scanner
Replies: 4
Views: 136

Re: BLE scanner

BLE is a tricky little beastie. Full of acronyms, concepts, states, events and more. However, at a higher level, it sounds like you want a BLE Peripheral and BLE Central. The BLE Peripheral will advertise its existence and the BLE Central will scan for advertising peripherals. Once the Peripheral ma...
by kolban
Wed Jun 21, 2017 4:42 am
Forum: General Discussion
Topic: Help on BLE Notify
Replies: 5
Views: 589

Re: Help on BLE Notify

Can you describe in more detail the nature of your puzzle/problem?

Go to advanced search