[Answered] Definition of flag in esp_ble_gap_cb_param_t

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

[Answered] Definition of flag in esp_ble_gap_cb_param_t

Postby kolban » Wed Dec 28, 2016 1:33 am

Within the data type called "esp_ble_gap_cb_param_t" there is an int field called "flag" ... see:

http://esp-idf.readthedocs.io/en/latest ... evt_paramE

The only words associated with it are "Advertising data flag bit" and since its data type is "int" I can't make any guesses at meanings of values. Does anyone know the meaning of this value?
Last edited by kolban on Wed Dec 28, 2016 5:10 pm, edited 1 time in total.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32


User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Definition of flag in esp_ble_gap_cb_param_t

Postby kolban » Wed Dec 28, 2016 5:10 pm

Thank you sir. From that list of possible values we were then able to work backwards to the original specifications ... this took us to:

https://www.bluetooth.com/specification ... ifications

Where we can find a document called "Core Specification Supplement" (which is a PDF).

In which we can find:

Part A: Data Type Specifications - 1.3 Flags

And there is the detailed spec.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 426 guests