Page 1 of 1

[Answered] Definition of flag in esp_ble_gap_cb_param_t

Posted: Wed Dec 28, 2016 1:33 am
by kolban
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?

Re: Definition of flag in esp_ble_gap_cb_param_t

Posted: Wed Dec 28, 2016 4:46 am
by WiFive

Re: Definition of flag in esp_ble_gap_cb_param_t

Posted: Wed Dec 28, 2016 5:10 pm
by kolban
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.