Search found 36 matches

by ESP_Island
Wed Oct 31, 2018 6:33 am
Forum: ESP-IDF
Topic: ESP BLE Mesh v0.5 Beta has been released
Replies: 76
Views: 125436

ESP BLE Mesh v0.5 Beta has been released

Thanks for your continuous support and attention on ESP BLE Mesh, we are glad to announce that the first beta version of ESP BLE Mesh has been released. Please note this is a temporary BLE Mesh branch on GitHub, we will continue to update. It is now allowed to clone the ESP BLE Mesh project: Branch:...
by ESP_Island
Thu Jun 29, 2017 10:04 am
Forum: ESP-IDF
Topic: BLE: Recipe for handling BLE pairing with ESP32 acting as a peripheral
Replies: 2
Views: 5975

Re: BLE: Recipe for handling BLE pairing with ESP32 acting as a peripheral

Because in ESP32, IO capability is set to “Keyboard and Display” by default. So in your case of paring, smart phone acts as keyboard role (need to input passkey) and ESP32 acts as Display role (generate a random passkey and display in the screen). The passkey is received in the GAP event ESP_GAP_BLE...
by ESP_Island
Thu Jun 29, 2017 9:39 am
Forum: ESP-IDF
Topic: BLE: Contents of correct response for ESP_GATTS_WRITE_EVT
Replies: 3
Views: 9549

Re: BLE: Contents of correct response for ESP_GATTS_WRITE_EVT

Hi, Kolban Please refer to function example_write_event_env in “gatt server” example (IDF 2.1) to know more about how to process “write event” packets. If you have received a “write request” packet, what you need to send just only “write response”, so “conn id” and “transfer id” is sufficient and pa...
by ESP_Island
Thu Jun 29, 2017 9:14 am
Forum: ESP-IDF
Topic: [Answered] BLE events ESP_GAP_BLE_LOCAL_IR_EVT and ESP_GAP_BLE_LOCAL_ER_EVT
Replies: 1
Views: 3675

Re: BLE events ESP_GAP_BLE_LOCAL_IR_EVT and ESP_GAP_BLE_LOCAL_ER_EVT

Hi, Kolban

Those events are generated for IDF debug use and they are not useful for developers. We will delete them in further IDF version.
by ESP_Island
Thu Jun 29, 2017 9:07 am
Forum: ESP-IDF
Topic: Sequence flow for BLE advertising ... must I wait for an ESP_GAP_BLE_ADV_DATA_SET_COMPLETE_EVT?
Replies: 1
Views: 4499

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

It is allowed to call “set adv data”, “set scan rsp data” and “start adv” together under the condition that adv data and scan rsp data are all correctly set. Calling “Start adv” before adv data being set correctly will cause that peripheral advertises NULL packets, which may cause unexpected result....
by ESP_Island
Thu Jun 29, 2017 8:24 am
Forum: ESP-IDF
Topic: [Info]: BLE: service_uuid_len must be multiple of 16
Replies: 4
Views: 8818

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

Hi, Kolban In fact, ESP32 supports all 2-Byte UUID, 4-Byte UUID and 16-Byte UUID in advertising packets. But all types of UUID need to be converted to 16-Byte UUID format while setting advertising data using esp_ble_gap_config_adv_data. Bluedroid will re-convert the 16-Byte UUID to original UUID bef...