Loading...
Searching...
No Matches

General values defined by the BT standard. More...

Detailed Description

General values defined by the BT standard.

Files

file  ble.h
 General BLE values as defined by the BT standard.
 

BT version constants

#define BLE_VERSION_40   (0x06)
 
#define BLE_VERSION_41   (0x07)
 
#define BLE_VERSION_42   (0x08)
 
#define BLE_VERSION_50   (0x09)
 

Collections of general BLE constants

#define BLE_AA_LEN   (4U)
 access address length
 
#define BLE_ADDR_LEN   (6U)
 link layer address length
 
#define BLE_CRC_LEN   (3U)
 CRC length.
 
#define BLE_CHANMAP_LEN   (5U)
 channel map length
 
#define BLE_CHAN_NUMOF   (40U)
 number of available channels
 
#define BLE_CHAN_ADV_NUMOF   (3U)
 number of advertising channels
 
#define BLE_CHAN_DAT_NUMOF   (37U)
 number of data channels
 
#define BLE_ADV_PDU_LEN   (31U)
 max size of legacy ADV packets
 
#define BLE_ADV_PDU_LEN_EXT   (251U)
 max size of extended ADV packets
 

GATT Declaration UUIDs

See also
https://www.bluetooth.com/specifications/gatt/declarations
#define BLE_DECL_PRI_SERVICE   (0x2800)
 
#define BLE_DECL_SEC_SERVICE   (0x2801)
 
#define BLE_DECL_INCLUDE   (0x2802)
 
#define BLE_DECL_CHAR   (0x2803)
 

GATT descriptor UUIDs

See also
https://www.bluetooth.com/specifications/gatt/descriptors
#define BLE_DESC_AGGR_FMT   (0x2905)
 
#define BLE_DESC_EXT_PROP   (0x2900)
 
#define BLE_DESC_PRES_FMT   (0x2904)
 
#define BLE_DESC_USER_DESC   (0x2901)
 
#define BLE_DESC_CLIENT_CONFIG   (0x2902)
 
#define BLE_DESC_ENV_CONFIG   (0x290b)
 
#define BLE_DESC_ENV_MEASUREMENT   (0x290c)
 
#define BLE_DESC_ENV_TRIGGER_SETTING   (0x290d)
 
#define BLE_DESC_EXT_REPORT_REF   (0x2907)
 
#define BLE_DESC_NUMOF_DIGITS   (0x2909)
 
#define BLE_DESC_REPORT_REF   (0x2908)
 
#define BLE_DESC_SERVER_CONFIG   (0x2903)
 
#define BLE_DESC_TIME_TRIGGER_SETTING   (0x290e)
 
#define BLE_DESC_VALID_RANGE   (0x2906)
 
#define BLE_DESC_VALUE_TRIGGER_SETTING   (0x290a)
 

Selected GATT service UUIDs (16-bit)

See also
https://www.bluetooth.com/specifications/gatt/services
#define BLE_GATT_SVC_GAP   (0x1800)
 GAP service.
 
#define BLE_GATT_SVC_GATT   (0x1801)
 GATT service.
 
#define BLE_GATT_SVC_DEVINFO   (0x180a)
 device info
 
#define BLE_GATT_SVC_HRS   (0x180d)
 heart rate service
 
#define BLE_GATT_SVC_BAS   (0x180f)
 battery service
 
#define BLE_GATT_SVC_IPSS   (0x1820)
 IP protocol support.
 
#define BLE_GATT_SVC_NDNSS   (0x7e5e)
 NDN support service.
 

Selected GATT characteristic UUIDs (16-bit)

See also
https://www.bluetooth.com/specifications/gatt/characteristics/
#define BLE_GATT_CHAR_BATTERY_LEVEL   (0x2a19)
 battery level
 
#define BLE_GATT_CHAR_SYSTEM_ID   (0x2a23)
 system ID
 
#define BLE_GATT_CHAR_MODEL_NUMBER_STR   (0x2a24)
 model number
 
#define BLE_GATT_CHAR_SERIAL_NUMBER_STR   (0x2a25)
 serial number
 
#define BLE_GATT_CHAR_FW_REV_STR   (0x2a26)
 firmware revision
 
#define BLE_GATT_CHAR_HW_REV_STR   (0x2a27)
 hardware revision
 
#define BLE_GATT_CHAR_SW_REV_STR   (0x2a28)
 software revision
 
#define BLE_GATT_CHAR_MANUFACTURER_NAME   (0x2a29)
 manufacturer name
 
#define BLE_GATT_CHAR_HEART_RATE_MEASURE   (0x2a37)
 heart rate measurement
 
#define BLE_GATT_CHAR_BODY_SENSE_LOC   (0x2a38)
 body sensor location
 

Characteristic format types (8-bit)

See also
https://www.bluetooth.com/specifications/assigned-numbers/format-types
#define BLE_UNIT_BLE_FMT_BOOL   (0x01)
 
#define BLE_UNIT_BLE_FMT_2bit   (0x02)
 
#define BLE_UNIT_BLE_FMT_NIBBLE   (0x03)
 
#define BLE_UNIT_BLE_FMT_UINT8   (0x04)
 
#define BLE_UNIT_BLE_FMT_UINT12   (0x05)
 
#define BLE_UNIT_BLE_FMT_UINT16   (0x06)
 
#define BLE_UNIT_BLE_FMT_UINT24   (0x07)
 
#define BLE_UNIT_BLE_FMT_UINT32   (0x08)
 
#define BLE_UNIT_BLE_FMT_UINT48   (0x09)
 
#define BLE_UNIT_BLE_FMT_UINT64   (0x0A)
 
#define BLE_UNIT_BLE_FMT_UINT128   (0x0B)
 
#define BLE_UNIT_BLE_FMT_SINT8   (0x0C)
 
#define BLE_UNIT_BLE_FMT_SINT12   (0x0D)
 
#define BLE_UNIT_BLE_FMT_SINT16   (0x0E)
 
#define BLE_UNIT_BLE_FMT_SINT24   (0x0F)
 
#define BLE_UNIT_BLE_FMT_SINT32   (0x10)
 
#define BLE_UNIT_BLE_FMT_SINT48   (0x11)
 
#define BLE_UNIT_BLE_FMT_SINT64   (0x12)
 
#define BLE_UNIT_BLE_FMT_SINT128   (0x13)
 
#define BLE_UNIT_BLE_FMT_FLOAT32   (0x14)
 
#define BLE_UNIT_BLE_FMT_FLOAT64   (0x15)
 
#define BLE_UNIT_BLE_FMT_SFLOAT   (0x16)
 
#define BLE_UNIT_BLE_FMT_FLOAT   (0x17)
 
#define BLE_UNIT_BLE_FMT_DUINT16   (0x18)
 
#define BLE_UNIT_BLE_FMT_UTF8   (0x19)
 
#define BLE_UNIT_BLE_FMT_UTF16   (0x1A)
 
#define BLE_UNIT_BLE_FMT_STRUCT   (0x1B)
 

Units (16-bit)

See also
https://www.bluetooth.com/specifications/assigned-numbers/units
#define BLE_UNIT_NONE   (0x2700)
 no unit
 
#define BLE_UNIT_BLE_UNIT_METRE   (0x2701)
 length [metre]
 
#define BLE_UNIT_KILOGRAM   (0x2702)
 mass [kilogram]
 
#define BLE_UNIT_SECOND   (0x2703)
 time [second]
 
#define BLE_UNIT_AMPERE   (0x2704)
 electric_current [ampere]
 
#define BLE_UNIT_KELVIN   (0x2705)
 thermodynamic_temperature [kelvin]
 
#define BLE_UNIT_MOLE   (0x2706)
 amount_of_substance [mole]
 
#define BLE_UNIT_CANDELA   (0x2707)
 luminous_intensity [candela]
 
#define BLE_UNIT_SQUARE_METRES   (0x2710)
 area [square_metres]
 
#define BLE_UNIT_CUBIC_METRES   (0x2711)
 volume [cubic_metres]
 
#define BLE_UNIT_METRES_PER_SECOND   (0x2712)
 velocity [metres_per_second]
 
#define BLE_UNIT_METRES_PER_SECOND_SQUARED   (0x2713)
 acceleration [metres_per_second_squared]
 
#define BLE_UNIT_RECIPROCAL_METRE   (0x2714)
 wavenumber [reciprocal_metre]
 
#define BLE_UNIT_KG_PER_CUBIC_METRE   (0x2715)
 density [kilogram_per_cubic_metre]
 
#define BLE_UNIT_KG_PER_SQUARE_METRE   (0x2716)
 surface_density [kilogram_per_square_metre]
 
#define BLE_UNIT_CUBIC_METRE_PER_KILOGRAM   (0x2717)
 specific_volume [cubic_metre_per_kilogram]
 
#define BLE_UNIT_AMPERE_PER_SQUARE_METRE   (0x2718)
 current_density [ampere_per_square_metre]
 
#define BLE_UNIT_AMPERE_PER_METRE   (0x2719)
 magnetic_field_strength [ampere_per_metre]
 
#define BLE_UNIT_MOLE_PER_CUBIC_METRE   (0x271a)
 amount_concentration [mole_per_cubic_metre]
 
#define BLE_UNIT_KILOGRAM_PER_CUBIC_METRE   (0x271b)
 mass_concentration [kilogram_per_cubic_metre]
 
#define BLE_UNIT_CANDELA_PER_SQUARE_METRE   (0x271c)
 luminance [candela_per_square_metre]
 
#define BLE_UNIT_REFRACTIVE_INDEX   (0x271d)
 refractive index
 
#define BLE_UNIT_RELATIVE_PERMEABILITY   (0x271e)
 relative permeability
 
#define BLE_UNIT_RADIAN   (0x2720)
 plane_angle [radian]
 
#define BLE_UNIT_STERADIAN   (0x2721)
 solid_angle [steradian]
 
#define BLE_UNIT_HERTZ   (0x2722)
 frequency [hertz]
 
#define BLE_UNIT_NEWTON   (0x2723)
 force [newton]
 
#define BLE_UNIT_PASCAL   (0x2724)
 pressure [pascal]
 
#define BLE_UNIT_JOULE   (0x2725)
 energy [joule]
 
#define BLE_UNIT_WATT   (0x2726)
 power [watt]
 
#define BLE_UNIT_COULOMB   (0x2727)
 electric_charge [coulomb]
 
#define BLE_UNIT_VOLT   (0x2728)
 electric_potential_difference [volt]
 
#define BLE_UNIT_FARAD   (0x2729)
 capacitance [farad]
 
#define BLE_UNIT_OHM   (0x272a)
 electric_resistance [ohm]
 
#define BLE_UNIT_SIEMENS   (0x272b)
 electric_conductance [siemens]
 
#define BLE_UNIT_WEBER   (0x272c)
 magnetic_flux [weber]
 
#define BLE_UNIT_TESLA   (0x272d)
 magnetic_flux_density [tesla]
 
#define BLE_UNIT_HENRY   (0x272e)
 inductance [henry]
 
#define BLE_UNIT_DEGREE_CELSIUS   (0x272f)
 thermodynamic_temperature [degree_celsius]
 
#define BLE_UNIT_LUMEN   (0x2730)
 luminous_flux [lumen]
 
#define BLE_UNIT_LUX   (0x2731)
 illuminance [lux]
 
#define BLE_UNIT_BECQUEREL   (0x2732)
 activity_referred_to_a_radionuclide [becquerel]
 
#define BLE_UNIT_GRAY   (0x2733)
 absorbed_dose [gray]
 
#define BLE_UNIT_SIEVERT   (0x2734)
 dose_equivalent [sievert]
 
#define BLE_UNIT_KATAL   (0x2735)
 catalytic_activity [katal]
 
#define BLE_UNIT_PASCAL_SECOND   (0x2740)
 dynamic_viscosity [pascal_second]
 
#define BLE_UNIT_NEWTON_METRE   (0x2741)
 moment_of_force [newton_metre]
 
#define BLE_UNIT_NEWTON_PER_METRE   (0x2742)
 surface_tension [newton_per_metre]
 
#define BLE_UNIT_RADIAN_PER_SECOND   (0x2743)
 angular_velocity [radian_per_second]
 
#define BLE_UNIT_RADIAN_PER_SECOND_SQUARED   (0x2744)
 angular_acceleration [radian_per_second_squared]
 
#define BLE_UNIT_HEAT_FLUX_WATT_PER_M2   (0x2745)
 heat_flux_density [watt_per_square_metre]
 
#define BLE_UNIT_JOULE_PER_KELVIN   (0x2746)
 heat_capacity [joule_per_kelvin]
 
#define BLE_UNIT_JOULE_PER_KG_KELVIN   (0x2747)
 specific_heat_capacity [joule_per_kilogram_kelvin]
 
#define BLE_UNIT_JOULE_PER_KG   (0x2748)
 specific_energy [joule_per_kilogram]
 
#define BLE_UNIT_WATT_PER_METRE_KELVIN   (0x2749)
 thermal_conductivity [watt_per_metre_kelvin]
 
#define BLE_UNIT_JOULE_PER_CUBIC_METRE   (0x274a)
 energy_density [joule_per_cubic_metre]
 
#define BLE_UNIT_VOLT_PER_METRE   (0x274b)
 electric_field_strength [volt_per_metre]
 
#define BLE_UNIT_COULOMB_PER_CUBIC_METRE   (0x274c)
 electric_charge_density [coulomb_per_cubic_metre]
 
#define BLE_UNIT_COULOMB_PER_M2   (0x274d)
 surface_charge_density [coulomb_per_square_metre]
 
#define BLE_UNIT_FLUX_COULOMB_PER_M2   (0x274e)
 electric_flux_density [coulomb_per_square_metre]
 
#define BLE_UNIT_FARAD_PER_METRE   (0x274f)
 permittivity [farad_per_metre]
 
#define BLE_UNIT_HENRY_PER_METRE   (0x2750)
 permeability [henry_per_metre]
 
#define BLE_UNIT_JOULE_PER_MOLE   (0x2751)
 molar_energy [joule_per_mole]
 
#define BLE_UNIT_JOULE_PER_MOLE_KELVIN   (0x2752)
 molar_entropy [joule_per_mole_kelvin]
 
#define BLE_UNIT_COULOMB_PER_KG   (0x2753)
 exposure [coulomb_per_kilogram]
 
#define BLE_UNIT_GRAY_PER_SECOND   (0x2754)
 absorbed_dose_rate [gray_per_second]
 
#define BLE_UNIT_WATT_PER_STERADIAN   (0x2755)
 radiant_intensity [watt_per_steradian]
 
#define BLE_UNIT_WATT_PER_M2_STERADIAN   (0x2756)
 radiance [watt_per_square_metre_steradian]
 
#define BLE_UNIT_KATAL_PER_CUBIC_METRE   (0x2757)
 catalytic_activity_concentration [katal_per_cubic_metre]
 
#define BLE_UNIT_MINUTE   (0x2760)
 time [minute]
 
#define BLE_UNIT_HOUR   (0x2761)
 time [hour]
 
#define BLE_UNIT_DAY   (0x2762)
 time [day]
 
#define BLE_UNIT_ANGLE_DEGREE   (0x2763)
 plane_angle [degree]
 
#define BLE_UNIT_ANGLE_MINUTE   (0x2764)
 plane_angle [minute]
 
#define BLE_UNIT_ANGLE_SECOND   (0x2765)
 plane_angle [second]
 
#define BLE_UNIT_HECTARE   (0x2766)
 area [hectare]
 
#define BLE_UNIT_LITRE   (0x2767)
 volume [litre]
 
#define BLE_UNIT_TONNE   (0x2768)
 mass [tonne]
 
#define BLE_UNIT_BAR   (0x2780)
 pressure [bar]
 
#define BLE_UNIT_MILLIMETRE_OF_MERCURY   (0x2781)
 pressure [millimetre_of_mercury]
 
#define BLE_UNIT_NGSTRM   (0x2782)
 length [ngstrm]
 
#define BLE_UNIT_NAUTICAL_MILE   (0x2783)
 length [nautical_mile]
 
#define BLE_UNIT_BARN   (0x2784)
 area [barn]
 
#define BLE_UNIT_KNOT   (0x2785)
 velocity [knot]
 
#define BLE_UNIT_NEPER   (0x2786)
 logarithmic_radio_quantity [neper]
 
#define BLE_UNIT_BEL   (0x2787)
 logarithmic_radio_quantity [bel]
 
#define BLE_UNIT_YARD   (0x27a0)
 length [yard]
 
#define BLE_UNIT_PARSEC   (0x27a1)
 length [parsec]
 
#define BLE_UNIT_INCH   (0x27a2)
 length [inch]
 
#define BLE_UNIT_FOOT   (0x27a3)
 length [foot]
 
#define BLE_UNIT_MILE   (0x27a4)
 length [mile]
 
#define BLE_UNIT_POUND_FORCE_PER_SQU_INCH   (0x27a5)
 pressure [pound_force_per_square_inch]
 
#define BLE_UNIT_KILOMETRE_PER_HOUR   (0x27a6)
 velocity [kilometre_per_hour]
 
#define BLE_UNIT_MILE_PER_HOUR   (0x27a7)
 velocity [mile_per_hour]
 
#define BLE_UNIT_REVOLUTION_PER_MINUTE   (0x27a8)
 angular_velocity [revolution_per_minute]
 
#define BLE_UNIT_GRAM_CALORIE   (0x27a9)
 energy [gram_calorie]
 
#define BLE_UNIT_KG_CALORIE   (0x27aa)
 energy [kilogram_calorie]
 
#define BLE_UNIT_KILOWATT_HOUR   (0x27ab)
 energy [kilowatt_hour]
 
#define BLE_UNIT_DEGREE_FAHRENHEIT   (0x27ac)
 thermodynamic_temperature [degree_fahrenheit]
 
#define BLE_UNIT_PERCENTAGE   (0x27ad)
 percentage
 
#define BLE_UNIT_PER_MILLE   (0x27ae)
 per mille
 
#define BLE_UNIT_BEATS_PER_MINUTE   (0x27af)
 period [beats_per_minute]
 
#define BLE_UNIT_AMPERE_HOURS   (0x27b0)
 electric_charge [ampere_hours]
 
#define BLE_UNIT_MILLIGRAM_PER_DECILITRE   (0x27b1)
 mass_density [milligram_per_decilitre]
 
#define BLE_UNIT_MILLIMOLE_PER_LITRE   (0x27b2)
 mass_density [millimole_per_litre]
 
#define BLE_UNIT_YEAR   (0x27b3)
 time [year]
 
#define BLE_UNIT_MONTH   (0x27b4)
 time [month]
 
#define BLE_UNIT_COUNT_PER_CUBIC_METRE   (0x27b5)
 concentration [count_per_cubic_metre]
 
#define BLE_UNIT_WATT_PER_SQUARE_METRE   (0x27b6)
 irradiance [watt_per_square_metre]
 
#define BLE_UNIT_MLIT_PER_KG_PER_MINUTE   (0x27b7)
 transfer_rate [milliliter_per_kilogram_per_minute]
 
#define BLE_UNIT_POUND   (0x27b8)
 mass [pound]
 
#define BLE_UNIT_METABOLIC_EQU   (0x27b9)
 metabolic equivalent
 
#define BLE_UNIT_STEP_PER_MINUTE   (0x27ba)
 steps per minute
 
#define BLE_UNIT_STROKE_PER_MINUTE   (0x27bc)
 strokes per minute
 
#define BLE_UNIT_KILOMETER_PER_MINUTE   (0x27bd)
 velocity [kilometer_per_minute]
 
#define BLE_UNIT_LUMEN_PER_WATT   (0x27be)
 luminous_efficacy [lumen_per_watt]
 
#define BLE_UNIT_LUMEN_HOUR   (0x27bf)
 luminous_energy [lumen_hour]
 
#define BLE_UNIT_LUX_HOUR   (0x27c0)
 luminous_exposure [lux_hour]
 
#define BLE_UNIT_GRAM_PER_SECOND   (0x27c1)
 mass_flow [gram_per_second]
 
#define BLE_UNIT_LITRE_PER_SECOND   (0x27c2)
 volume_flow [litre_per_second]
 
#define BLE_L2CAP_CID_IPSP   (0x0023)
 Channel identifiers defined for L2CAP LE-U link layers.
 
#define BLE_L2CAP_CID_CB_MIN   (0x0040)
 
#define BLE_L2CAP_CID_CB_MAX   (0x007f)
 

ATT protocol opcodes

#define BLE_ATT_ERROR_RESP   (0x01)
 
#define BLE_ATT_MTU_REQ   (0x02)
 
#define BLE_ATT_MTU_RESP   (0x03)
 
#define BLE_ATT_FIND_INFO_REQ   (0x04)
 
#define BLE_ATT_FIND_INFO_RESP   (0x05)
 
#define BLE_ATT_FIND_BY_VAL_REQ   (0x06)
 
#define BLE_ATT_FIND_BY_VAL_RESP   (0x07)
 
#define BLE_ATT_READ_BY_TYPE_REQ   (0x08)
 
#define BLE_ATT_READ_BY_TYPE_RESP   (0x09)
 
#define BLE_ATT_READ_REQ   (0x0a)
 
#define BLE_ATT_READ_RESP   (0x0b)
 
#define BLE_ATT_READ_BLOB_REQ   (0x0c)
 
#define BLE_ATT_READ_BLOB_RESP   (0x0d)
 
#define BLE_ATT_READ_MUL_REQ   (0x0e)
 
#define BLE_ATT_READ_MUL_RESP   (0x0f)
 
#define BLE_ATT_READ_BY_GROUP_TYPE_REQ   (0x10)
 
#define BLE_ATT_READ_BY_GROUP_TYPE_RESP   (0x11)
 
#define BLE_ATT_WRITE_REQ   (0x12)
 
#define BLE_ATT_WRITE_RESP   (0x13)
 
#define BLE_ATT_WRITE_COMMAND   (0x52)
 
#define BLE_ATT_PREP_WRITE_REQ   (0x16)
 
#define BLE_ATT_PREP_WRITE_RESP   (0x17)
 
#define BLE_ATT_EXEC_WRITE_REQ   (0x18)
 
#define BLE_ATT_EXEC_WRITE_RESP   (0x19)
 
#define BLE_ATT_VAL_NOTIFICATION   (0x1b)
 
#define BLE_ATT_VAL_INDICATION   (0x1d)
 
#define BLE_ATT_VAL_CONFIRMATION   (0x1e)
 
#define BLE_ATT_SIGNED_WRITE_CMD   (0xd2)
 

ATT protocol error codes

#define BLE_ATT_INVALID_HANDLE   (0x01)
 
#define BLE_ATT_READ_NOT_PERMITTED   (0x02)
 
#define BLE_ATT_WRITE_NOT_PERMITTED   (0x03)
 
#define BLE_ATT_INVALID_PDU   (0x04)
 
#define BLE_ATT_INSUFFICIENT_AUTHEN   (0x05)
 
#define BLE_ATT_REQUEST_NOT_SUP   (0x06)
 
#define BLE_ATT_INVALID_OFFSET   (0x07)
 
#define BLE_ATT_INSUFFICIENT_AUTHOR   (0x08)
 
#define BLE_ATT_PREPARE_QUEUE_FULL   (0x09)
 
#define BLE_ATT_ATTRIBUTE_NOT_FOUND   (0x0a)
 
#define BLE_ATT_ATTRIBUTE_NOT_LONG   (0x0b)
 
#define BLE_ATT_INSUFFICENT_KEY_SIZE   (0x0c)
 
#define BLE_ATT_INVALID_ATTR_VAL_LEN   (0x0d)
 
#define BLE_ATT_ULIKELY_ERROR   (0x0e)
 
#define BLE_ATT_INSUFFICIENT_ENCRYPTION   (0x0f)
 
#define BLE_ATT_UNSUPPORTED_GROUP_TYPE   (0x10)
 
#define BLE_ATT_INSUFFICIENT_RESSOURCES   (0x11)
 

ATT property flags

#define BLE_ATT_BROADCAST   (0x01)
 
#define BLE_ATT_READ   (0x02)
 
#define BLE_ATT_WRITE_WO_RESP   (0x04)
 
#define BLE_ATT_WRITE   (0x08)
 
#define BLE_ATT_NOTIFY   (0x10)
 
#define BLE_ATT_INDICATE   (0x20)
 
#define BLE_ATT_AUTH_SIGNED_WRITES   (0x40)
 
#define BLE_ATT_EXT_PROPERTIES   (0x80)
 

Flags used in certain types of ATT PDUs

#define BLE_ATT_FORMAT_U16   (0x01)
 used in FIND_INFO_RESP
 
#define BLE_ATT_FORMAT_U128   (0x02)
 used in FIND_INFO_RESP
 

GAP advertisement data type values

See also
https://www.bluetooth.com/specifications/assigned-numbers/generic-access-profile
#define BLE_GAP_AD_FLAGS   (0x01)
 
#define BLE_GAP_AD_UUID16_INCOMP   (0x02)
 
#define BLE_GAP_AD_UUID16_COMP   (0x03)
 
#define BLE_GAP_AD_UUID32_INCOMP   (0x04)
 
#define BLE_GAP_AD_UUID32_COMP   (0x05)
 
#define BLE_GAP_AD_UUID128_INCOMP   (0x06)
 
#define BLE_GAP_AD_UUID128_COMP   (0x07)
 
#define BLE_GAP_AD_NAME_SHORT   (0x08)
 
#define BLE_GAP_AD_NAME   (0x09)
 
#define BLE_GAP_AD_TX_POWER_LEVEL   (0x0a)
 
#define BLE_GAP_AD_CLASS_OF_DEVICE   (0x0d)
 
#define BLE_GAP_AD_PAIRING_HASH_192   (0x0e)
 
#define BLE_GAP_AD_PAIRING_RAND_192   (0x0f)
 
#define BLE_GAP_AD_DEVICE_ID   (0x10)
 
#define BLE_GAP_AD_SEC_MANAGER_TK_VAL   (0x10)
 
#define BLE_GAP_AD_SEC_MANAGER_OOB_FLAGS   (0x11)
 
#define BLE_GAP_AD_SLAVE_CON_INTERVAL   (0x12)
 
#define BLE_GAP_AD_LIST_SOL_UUID_16   (0x14)
 
#define BLE_GAP_AD_LIST_SOL_UUID_128   (0x15)
 
#define BLE_GAP_AD_SERVICE_DATA   (0x16)
 
#define BLE_GAP_AD_SERVICE_DATA_UUID16   (0x16)
 
#define BLE_GAP_AD_ADDR_PUBLIC   (0x17)
 
#define BLE_GAP_AD_ADDR_RANDOM   (0x18)
 
#define BLE_GAP_AD_APPEARANCE   (0x19)
 
#define BLE_GAP_AD_ADV_INTERVAL   (0x1a)
 
#define BLE_GAP_AD_LE_DEVICE_ADDR   (0x1b)
 
#define BLE_GAP_AD_LE_ROLE   (0x1c)
 
#define BLE_GAP_AD_PAIRING_HASH_256   (0x1d)
 
#define BLE_GAP_AD_PAIRING_RAND_256   (0x1e)
 
#define BLE_GAP_AD_LIST_SOL_UUID_32   (0x1f)
 
#define BLE_GAP_AD_SERVICE_DATA_32   (0x20)
 
#define BLE_GAP_AD_SERVICE_DATA_128   (0x21)
 
#define BLE_GAP_AD_LE_SEC_CON_CONF_VAL   (0x22)
 
#define BLE_GAP_AD_LE_SEC_CON_RAND_VAL   (0x23)
 
#define BLE_GAP_AD_URI   (0x24)
 
#define BLE_GAP_AD_INDOOR_POSITIONING   (0x25)
 
#define BLE_GAP_AD_TRANSPORT_DISC_DATA   (0x26)
 
#define BLE_GAP_AD_LE_SUP_FEATURES   (0x27)
 
#define BLE_GAP_AD_CHAN_MAP_UPDATE_IND   (0x28)
 
#define BLE_GAP_AD_3D_INFO_DATA   (0x3d)
 
#define BLE_GAP_AD_VENDOR   (0xff)
 

Flags used in GAP advertisement packets

#define BLE_GAP_DISCOVER_LIM   (0x01)
 
#define BLE_GAP_DISCOVERABLE   (0x02)
 
#define BLE_GAP_FLAG_BREDR_NOTSUP   (0x04)
 

BLE advertising packet types

#define BLE_PDU_MASK   (0x0f)
 
#define BLE_ADV_IND   (0x00)
 
#define BLE_DIRECT_IND   (0x01)
 
#define BLE_ADV_NONCON_IND   (0x02)
 
#define BLE_SCAN_REQ   (0x03)
 
#define BLE_AUX_SCAN_REQ   (0x03)
 
#define BLE_SCAN_RESP   (0x04)
 
#define BLE_CONNECT_IND   (0x05)
 
#define BLE_AUX_CONNECT_REQ   (0x05)
 
#define BLE_ADV_SCAN_IND   (0x06)
 
#define BLE_ADV_EXT_IND   (0x07)
 
#define BLE_AUX_ADV_IND   (0x07)
 
#define BLE_AUX_SCAN_RSP   (0x07)
 
#define BLE_AUX_SYNC_IND   (0x07)
 
#define BLE_AUX_CHAIN_IND   (0x07)
 
#define BLE_CONNECT_RESP   (0x08)
 

Advertising packet flags

#define BLE_LL_FLAG_CHSEL   (0x20)
 
#define BLE_LL_FLAG_TXADD   (0x40)
 
#define BLE_LL_FLAG_RXADD   (0x80)
 

Link layer control message opcodes

#define BLE_LL_CONN_UPDATE_IND   (0x00)
 
#define BLE_LL_CHANNEL_MAP_IND   (0x01)
 
#define BLE_LL_TERMINATE_IND   (0x02)
 
#define BLE_LL_ENC_REQ   (0x03)
 
#define BLE_LL_ENC_RSP   (0x04)
 
#define BLE_LL_START_ENC_REQ   (0x05)
 
#define BLE_LL_START_ENC_RSP   (0x06)
 
#define BLE_LL_UNKNOWN_RSP   (0x07)
 
#define BLE_LL_FEATURE_REQ   (0x08)
 
#define BLE_LL_FEATURE_RSP   (0x09)
 
#define BLE_LL_PAUSE_ENC_REQ   (0x0a)
 
#define BLE_LL_PAUSE_ENC_RSP   (0x0b)
 
#define BLE_LL_VERSION_IND   (0x0c)
 
#define BLE_LL_REJECT_IND   (0x0d)
 
#define BLE_LL_SLAVE_FEATURE_REQ   (0x0e)
 
#define BLE_LL_CONN_PARAM_REQ   (0x0f)
 
#define BLE_LL_CONN_PARAM_RSP   (0x10)
 
#define BLE_LL_REJECT_EXT_IND   (0x11)
 
#define BLE_LL_PING_REQ   (0x12)
 
#define BLE_LL_PING_RSP   (0x13)
 
#define BLE_LL_LENGTH_REQ   (0x14)
 
#define BLE_LL_LENGTH_RSP   (0x15)
 
#define BLE_LL_PHY_REQ   (0x16)
 
#define BLE_LL_PHY_RSP   (0x17)
 
#define BLE_LL_PHY_UPDATE_IND   (0x18)
 
#define BLE_LL_MIN_USED_CHAN_IND   (0x19)
 

Macro Definition Documentation

◆ BLE_AA_LEN

#define BLE_AA_LEN   (4U)

access address length

Definition at line 42 of file ble.h.

◆ BLE_ADDR_LEN

#define BLE_ADDR_LEN   (6U)

link layer address length

Definition at line 43 of file ble.h.

◆ BLE_ADV_EXT_IND

#define BLE_ADV_EXT_IND   (0x07)

Definition at line 446 of file ble.h.

◆ BLE_ADV_IND

#define BLE_ADV_IND   (0x00)

Definition at line 437 of file ble.h.

◆ BLE_ADV_NONCON_IND

#define BLE_ADV_NONCON_IND   (0x02)

Definition at line 439 of file ble.h.

◆ BLE_ADV_PDU_LEN

#define BLE_ADV_PDU_LEN   (31U)

max size of legacy ADV packets

Definition at line 49 of file ble.h.

◆ BLE_ADV_PDU_LEN_EXT

#define BLE_ADV_PDU_LEN_EXT   (251U)

max size of extended ADV packets

Definition at line 50 of file ble.h.

◆ BLE_ADV_SCAN_IND

#define BLE_ADV_SCAN_IND   (0x06)

Definition at line 445 of file ble.h.

◆ BLE_ATT_ATTRIBUTE_NOT_FOUND

#define BLE_ATT_ATTRIBUTE_NOT_FOUND   (0x0a)

Definition at line 342 of file ble.h.

◆ BLE_ATT_ATTRIBUTE_NOT_LONG

#define BLE_ATT_ATTRIBUTE_NOT_LONG   (0x0b)

Definition at line 343 of file ble.h.

◆ BLE_ATT_AUTH_SIGNED_WRITES

#define BLE_ATT_AUTH_SIGNED_WRITES   (0x40)

Definition at line 362 of file ble.h.

◆ BLE_ATT_BROADCAST

#define BLE_ATT_BROADCAST   (0x01)

Definition at line 356 of file ble.h.

◆ BLE_ATT_ERROR_RESP

#define BLE_ATT_ERROR_RESP   (0x01)

Definition at line 299 of file ble.h.

◆ BLE_ATT_EXEC_WRITE_REQ

#define BLE_ATT_EXEC_WRITE_REQ   (0x18)

Definition at line 321 of file ble.h.

◆ BLE_ATT_EXEC_WRITE_RESP

#define BLE_ATT_EXEC_WRITE_RESP   (0x19)

Definition at line 322 of file ble.h.

◆ BLE_ATT_EXT_PROPERTIES

#define BLE_ATT_EXT_PROPERTIES   (0x80)

Definition at line 363 of file ble.h.

◆ BLE_ATT_FIND_BY_VAL_REQ

#define BLE_ATT_FIND_BY_VAL_REQ   (0x06)

Definition at line 304 of file ble.h.

◆ BLE_ATT_FIND_BY_VAL_RESP

#define BLE_ATT_FIND_BY_VAL_RESP   (0x07)

Definition at line 305 of file ble.h.

◆ BLE_ATT_FIND_INFO_REQ

#define BLE_ATT_FIND_INFO_REQ   (0x04)

Definition at line 302 of file ble.h.

◆ BLE_ATT_FIND_INFO_RESP

#define BLE_ATT_FIND_INFO_RESP   (0x05)

Definition at line 303 of file ble.h.

◆ BLE_ATT_FORMAT_U128

#define BLE_ATT_FORMAT_U128   (0x02)

used in FIND_INFO_RESP

Definition at line 371 of file ble.h.

◆ BLE_ATT_FORMAT_U16

#define BLE_ATT_FORMAT_U16   (0x01)

used in FIND_INFO_RESP

Definition at line 370 of file ble.h.

◆ BLE_ATT_INDICATE

#define BLE_ATT_INDICATE   (0x20)

Definition at line 361 of file ble.h.

◆ BLE_ATT_INSUFFICENT_KEY_SIZE

#define BLE_ATT_INSUFFICENT_KEY_SIZE   (0x0c)

Definition at line 344 of file ble.h.

◆ BLE_ATT_INSUFFICIENT_AUTHEN

#define BLE_ATT_INSUFFICIENT_AUTHEN   (0x05)

Definition at line 337 of file ble.h.

◆ BLE_ATT_INSUFFICIENT_AUTHOR

#define BLE_ATT_INSUFFICIENT_AUTHOR   (0x08)

Definition at line 340 of file ble.h.

◆ BLE_ATT_INSUFFICIENT_ENCRYPTION

#define BLE_ATT_INSUFFICIENT_ENCRYPTION   (0x0f)

Definition at line 347 of file ble.h.

◆ BLE_ATT_INSUFFICIENT_RESSOURCES

#define BLE_ATT_INSUFFICIENT_RESSOURCES   (0x11)

Definition at line 349 of file ble.h.

◆ BLE_ATT_INVALID_ATTR_VAL_LEN

#define BLE_ATT_INVALID_ATTR_VAL_LEN   (0x0d)

Definition at line 345 of file ble.h.

◆ BLE_ATT_INVALID_HANDLE

#define BLE_ATT_INVALID_HANDLE   (0x01)

Definition at line 333 of file ble.h.

◆ BLE_ATT_INVALID_OFFSET

#define BLE_ATT_INVALID_OFFSET   (0x07)

Definition at line 339 of file ble.h.

◆ BLE_ATT_INVALID_PDU

#define BLE_ATT_INVALID_PDU   (0x04)

Definition at line 336 of file ble.h.

◆ BLE_ATT_MTU_REQ

#define BLE_ATT_MTU_REQ   (0x02)

Definition at line 300 of file ble.h.

◆ BLE_ATT_MTU_RESP

#define BLE_ATT_MTU_RESP   (0x03)

Definition at line 301 of file ble.h.

◆ BLE_ATT_NOTIFY

#define BLE_ATT_NOTIFY   (0x10)

Definition at line 360 of file ble.h.

◆ BLE_ATT_PREP_WRITE_REQ

#define BLE_ATT_PREP_WRITE_REQ   (0x16)

Definition at line 319 of file ble.h.

◆ BLE_ATT_PREP_WRITE_RESP

#define BLE_ATT_PREP_WRITE_RESP   (0x17)

Definition at line 320 of file ble.h.

◆ BLE_ATT_PREPARE_QUEUE_FULL

#define BLE_ATT_PREPARE_QUEUE_FULL   (0x09)

Definition at line 341 of file ble.h.

◆ BLE_ATT_READ

#define BLE_ATT_READ   (0x02)

Definition at line 357 of file ble.h.

◆ BLE_ATT_READ_BLOB_REQ

#define BLE_ATT_READ_BLOB_REQ   (0x0c)

Definition at line 310 of file ble.h.

◆ BLE_ATT_READ_BLOB_RESP

#define BLE_ATT_READ_BLOB_RESP   (0x0d)

Definition at line 311 of file ble.h.

◆ BLE_ATT_READ_BY_GROUP_TYPE_REQ

#define BLE_ATT_READ_BY_GROUP_TYPE_REQ   (0x10)

Definition at line 314 of file ble.h.

◆ BLE_ATT_READ_BY_GROUP_TYPE_RESP

#define BLE_ATT_READ_BY_GROUP_TYPE_RESP   (0x11)

Definition at line 315 of file ble.h.

◆ BLE_ATT_READ_BY_TYPE_REQ

#define BLE_ATT_READ_BY_TYPE_REQ   (0x08)

Definition at line 306 of file ble.h.

◆ BLE_ATT_READ_BY_TYPE_RESP

#define BLE_ATT_READ_BY_TYPE_RESP   (0x09)

Definition at line 307 of file ble.h.

◆ BLE_ATT_READ_MUL_REQ

#define BLE_ATT_READ_MUL_REQ   (0x0e)

Definition at line 312 of file ble.h.

◆ BLE_ATT_READ_MUL_RESP

#define BLE_ATT_READ_MUL_RESP   (0x0f)

Definition at line 313 of file ble.h.

◆ BLE_ATT_READ_NOT_PERMITTED

#define BLE_ATT_READ_NOT_PERMITTED   (0x02)

Definition at line 334 of file ble.h.

◆ BLE_ATT_READ_REQ

#define BLE_ATT_READ_REQ   (0x0a)

Definition at line 308 of file ble.h.

◆ BLE_ATT_READ_RESP

#define BLE_ATT_READ_RESP   (0x0b)

Definition at line 309 of file ble.h.

◆ BLE_ATT_REQUEST_NOT_SUP

#define BLE_ATT_REQUEST_NOT_SUP   (0x06)

Definition at line 338 of file ble.h.

◆ BLE_ATT_SIGNED_WRITE_CMD

#define BLE_ATT_SIGNED_WRITE_CMD   (0xd2)

Definition at line 326 of file ble.h.

◆ BLE_ATT_ULIKELY_ERROR

#define BLE_ATT_ULIKELY_ERROR   (0x0e)

Definition at line 346 of file ble.h.

◆ BLE_ATT_UNSUPPORTED_GROUP_TYPE

#define BLE_ATT_UNSUPPORTED_GROUP_TYPE   (0x10)

Definition at line 348 of file ble.h.

◆ BLE_ATT_VAL_CONFIRMATION

#define BLE_ATT_VAL_CONFIRMATION   (0x1e)

Definition at line 325 of file ble.h.

◆ BLE_ATT_VAL_INDICATION

#define BLE_ATT_VAL_INDICATION   (0x1d)

Definition at line 324 of file ble.h.

◆ BLE_ATT_VAL_NOTIFICATION

#define BLE_ATT_VAL_NOTIFICATION   (0x1b)

Definition at line 323 of file ble.h.

◆ BLE_ATT_WRITE

#define BLE_ATT_WRITE   (0x08)

Definition at line 359 of file ble.h.

◆ BLE_ATT_WRITE_COMMAND

#define BLE_ATT_WRITE_COMMAND   (0x52)

Definition at line 318 of file ble.h.

◆ BLE_ATT_WRITE_NOT_PERMITTED

#define BLE_ATT_WRITE_NOT_PERMITTED   (0x03)

Definition at line 335 of file ble.h.

◆ BLE_ATT_WRITE_REQ

#define BLE_ATT_WRITE_REQ   (0x12)

Definition at line 316 of file ble.h.

◆ BLE_ATT_WRITE_RESP

#define BLE_ATT_WRITE_RESP   (0x13)

Definition at line 317 of file ble.h.

◆ BLE_ATT_WRITE_WO_RESP

#define BLE_ATT_WRITE_WO_RESP   (0x04)

Definition at line 358 of file ble.h.

◆ BLE_AUX_ADV_IND

#define BLE_AUX_ADV_IND   (0x07)

Definition at line 447 of file ble.h.

◆ BLE_AUX_CHAIN_IND

#define BLE_AUX_CHAIN_IND   (0x07)

Definition at line 450 of file ble.h.

◆ BLE_AUX_CONNECT_REQ

#define BLE_AUX_CONNECT_REQ   (0x05)

Definition at line 444 of file ble.h.

◆ BLE_AUX_SCAN_REQ

#define BLE_AUX_SCAN_REQ   (0x03)

Definition at line 441 of file ble.h.

◆ BLE_AUX_SCAN_RSP

#define BLE_AUX_SCAN_RSP   (0x07)

Definition at line 448 of file ble.h.

◆ BLE_AUX_SYNC_IND

#define BLE_AUX_SYNC_IND   (0x07)

Definition at line 449 of file ble.h.

◆ BLE_CHAN_ADV_NUMOF

#define BLE_CHAN_ADV_NUMOF   (3U)

number of advertising channels

Definition at line 47 of file ble.h.

◆ BLE_CHAN_DAT_NUMOF

#define BLE_CHAN_DAT_NUMOF   (37U)

number of data channels

Definition at line 48 of file ble.h.

◆ BLE_CHAN_NUMOF

#define BLE_CHAN_NUMOF   (40U)

number of available channels

Definition at line 46 of file ble.h.

◆ BLE_CHANMAP_LEN

#define BLE_CHANMAP_LEN   (5U)

channel map length

Definition at line 45 of file ble.h.

◆ BLE_CONNECT_IND

#define BLE_CONNECT_IND   (0x05)

Definition at line 443 of file ble.h.

◆ BLE_CONNECT_RESP

#define BLE_CONNECT_RESP   (0x08)

Definition at line 451 of file ble.h.

◆ BLE_CRC_LEN

#define BLE_CRC_LEN   (3U)

CRC length.

Definition at line 44 of file ble.h.

◆ BLE_DECL_CHAR

#define BLE_DECL_CHAR   (0x2803)

Definition at line 62 of file ble.h.

◆ BLE_DECL_INCLUDE

#define BLE_DECL_INCLUDE   (0x2802)

Definition at line 61 of file ble.h.

◆ BLE_DECL_PRI_SERVICE

#define BLE_DECL_PRI_SERVICE   (0x2800)

Definition at line 59 of file ble.h.

◆ BLE_DECL_SEC_SERVICE

#define BLE_DECL_SEC_SERVICE   (0x2801)

Definition at line 60 of file ble.h.

◆ BLE_DESC_AGGR_FMT

#define BLE_DESC_AGGR_FMT   (0x2905)

Definition at line 71 of file ble.h.

◆ BLE_DESC_CLIENT_CONFIG

#define BLE_DESC_CLIENT_CONFIG   (0x2902)

Definition at line 75 of file ble.h.

◆ BLE_DESC_ENV_CONFIG

#define BLE_DESC_ENV_CONFIG   (0x290b)

Definition at line 76 of file ble.h.

◆ BLE_DESC_ENV_MEASUREMENT

#define BLE_DESC_ENV_MEASUREMENT   (0x290c)

Definition at line 77 of file ble.h.

◆ BLE_DESC_ENV_TRIGGER_SETTING

#define BLE_DESC_ENV_TRIGGER_SETTING   (0x290d)

Definition at line 78 of file ble.h.

◆ BLE_DESC_EXT_PROP

#define BLE_DESC_EXT_PROP   (0x2900)

Definition at line 72 of file ble.h.

◆ BLE_DESC_EXT_REPORT_REF

#define BLE_DESC_EXT_REPORT_REF   (0x2907)

Definition at line 79 of file ble.h.

◆ BLE_DESC_NUMOF_DIGITS

#define BLE_DESC_NUMOF_DIGITS   (0x2909)

Definition at line 80 of file ble.h.

◆ BLE_DESC_PRES_FMT

#define BLE_DESC_PRES_FMT   (0x2904)

Definition at line 73 of file ble.h.

◆ BLE_DESC_REPORT_REF

#define BLE_DESC_REPORT_REF   (0x2908)

Definition at line 81 of file ble.h.

◆ BLE_DESC_SERVER_CONFIG

#define BLE_DESC_SERVER_CONFIG   (0x2903)

Definition at line 82 of file ble.h.

◆ BLE_DESC_TIME_TRIGGER_SETTING

#define BLE_DESC_TIME_TRIGGER_SETTING   (0x290e)

Definition at line 83 of file ble.h.

◆ BLE_DESC_USER_DESC

#define BLE_DESC_USER_DESC   (0x2901)

Definition at line 74 of file ble.h.

◆ BLE_DESC_VALID_RANGE

#define BLE_DESC_VALID_RANGE   (0x2906)

Definition at line 84 of file ble.h.

◆ BLE_DESC_VALUE_TRIGGER_SETTING

#define BLE_DESC_VALUE_TRIGGER_SETTING   (0x290a)

Definition at line 85 of file ble.h.

◆ BLE_DIRECT_IND

#define BLE_DIRECT_IND   (0x01)

Definition at line 438 of file ble.h.

◆ BLE_GAP_AD_3D_INFO_DATA

#define BLE_GAP_AD_3D_INFO_DATA   (0x3d)

Definition at line 419 of file ble.h.

◆ BLE_GAP_AD_ADDR_PUBLIC

#define BLE_GAP_AD_ADDR_PUBLIC   (0x17)

Definition at line 401 of file ble.h.

◆ BLE_GAP_AD_ADDR_RANDOM

#define BLE_GAP_AD_ADDR_RANDOM   (0x18)

Definition at line 402 of file ble.h.

◆ BLE_GAP_AD_ADV_INTERVAL

#define BLE_GAP_AD_ADV_INTERVAL   (0x1a)

Definition at line 404 of file ble.h.

◆ BLE_GAP_AD_APPEARANCE

#define BLE_GAP_AD_APPEARANCE   (0x19)

Definition at line 403 of file ble.h.

◆ BLE_GAP_AD_CHAN_MAP_UPDATE_IND

#define BLE_GAP_AD_CHAN_MAP_UPDATE_IND   (0x28)

Definition at line 418 of file ble.h.

◆ BLE_GAP_AD_CLASS_OF_DEVICE

#define BLE_GAP_AD_CLASS_OF_DEVICE   (0x0d)

Definition at line 390 of file ble.h.

◆ BLE_GAP_AD_DEVICE_ID

#define BLE_GAP_AD_DEVICE_ID   (0x10)

Definition at line 393 of file ble.h.

◆ BLE_GAP_AD_FLAGS

#define BLE_GAP_AD_FLAGS   (0x01)

Definition at line 380 of file ble.h.

◆ BLE_GAP_AD_INDOOR_POSITIONING

#define BLE_GAP_AD_INDOOR_POSITIONING   (0x25)

Definition at line 415 of file ble.h.

◆ BLE_GAP_AD_LE_DEVICE_ADDR

#define BLE_GAP_AD_LE_DEVICE_ADDR   (0x1b)

Definition at line 405 of file ble.h.

◆ BLE_GAP_AD_LE_ROLE

#define BLE_GAP_AD_LE_ROLE   (0x1c)

Definition at line 406 of file ble.h.

◆ BLE_GAP_AD_LE_SEC_CON_CONF_VAL

#define BLE_GAP_AD_LE_SEC_CON_CONF_VAL   (0x22)

Definition at line 412 of file ble.h.

◆ BLE_GAP_AD_LE_SEC_CON_RAND_VAL

#define BLE_GAP_AD_LE_SEC_CON_RAND_VAL   (0x23)

Definition at line 413 of file ble.h.

◆ BLE_GAP_AD_LE_SUP_FEATURES

#define BLE_GAP_AD_LE_SUP_FEATURES   (0x27)

Definition at line 417 of file ble.h.

◆ BLE_GAP_AD_LIST_SOL_UUID_128

#define BLE_GAP_AD_LIST_SOL_UUID_128   (0x15)

Definition at line 398 of file ble.h.

◆ BLE_GAP_AD_LIST_SOL_UUID_16

#define BLE_GAP_AD_LIST_SOL_UUID_16   (0x14)

Definition at line 397 of file ble.h.

◆ BLE_GAP_AD_LIST_SOL_UUID_32

#define BLE_GAP_AD_LIST_SOL_UUID_32   (0x1f)

Definition at line 409 of file ble.h.

◆ BLE_GAP_AD_NAME

#define BLE_GAP_AD_NAME   (0x09)

Definition at line 388 of file ble.h.

◆ BLE_GAP_AD_NAME_SHORT

#define BLE_GAP_AD_NAME_SHORT   (0x08)

Definition at line 387 of file ble.h.

◆ BLE_GAP_AD_PAIRING_HASH_192

#define BLE_GAP_AD_PAIRING_HASH_192   (0x0e)

Definition at line 391 of file ble.h.

◆ BLE_GAP_AD_PAIRING_HASH_256

#define BLE_GAP_AD_PAIRING_HASH_256   (0x1d)

Definition at line 407 of file ble.h.

◆ BLE_GAP_AD_PAIRING_RAND_192

#define BLE_GAP_AD_PAIRING_RAND_192   (0x0f)

Definition at line 392 of file ble.h.

◆ BLE_GAP_AD_PAIRING_RAND_256

#define BLE_GAP_AD_PAIRING_RAND_256   (0x1e)

Definition at line 408 of file ble.h.

◆ BLE_GAP_AD_SEC_MANAGER_OOB_FLAGS

#define BLE_GAP_AD_SEC_MANAGER_OOB_FLAGS   (0x11)

Definition at line 395 of file ble.h.

◆ BLE_GAP_AD_SEC_MANAGER_TK_VAL

#define BLE_GAP_AD_SEC_MANAGER_TK_VAL   (0x10)

Definition at line 394 of file ble.h.

◆ BLE_GAP_AD_SERVICE_DATA

#define BLE_GAP_AD_SERVICE_DATA   (0x16)

Definition at line 399 of file ble.h.

◆ BLE_GAP_AD_SERVICE_DATA_128

#define BLE_GAP_AD_SERVICE_DATA_128   (0x21)

Definition at line 411 of file ble.h.

◆ BLE_GAP_AD_SERVICE_DATA_32

#define BLE_GAP_AD_SERVICE_DATA_32   (0x20)

Definition at line 410 of file ble.h.

◆ BLE_GAP_AD_SERVICE_DATA_UUID16

#define BLE_GAP_AD_SERVICE_DATA_UUID16   (0x16)

Definition at line 400 of file ble.h.

◆ BLE_GAP_AD_SLAVE_CON_INTERVAL

#define BLE_GAP_AD_SLAVE_CON_INTERVAL   (0x12)

Definition at line 396 of file ble.h.

◆ BLE_GAP_AD_TRANSPORT_DISC_DATA

#define BLE_GAP_AD_TRANSPORT_DISC_DATA   (0x26)

Definition at line 416 of file ble.h.

◆ BLE_GAP_AD_TX_POWER_LEVEL

#define BLE_GAP_AD_TX_POWER_LEVEL   (0x0a)

Definition at line 389 of file ble.h.

◆ BLE_GAP_AD_URI

#define BLE_GAP_AD_URI   (0x24)

Definition at line 414 of file ble.h.

◆ BLE_GAP_AD_UUID128_COMP

#define BLE_GAP_AD_UUID128_COMP   (0x07)

Definition at line 386 of file ble.h.

◆ BLE_GAP_AD_UUID128_INCOMP

#define BLE_GAP_AD_UUID128_INCOMP   (0x06)

Definition at line 385 of file ble.h.

◆ BLE_GAP_AD_UUID16_COMP

#define BLE_GAP_AD_UUID16_COMP   (0x03)

Definition at line 382 of file ble.h.

◆ BLE_GAP_AD_UUID16_INCOMP

#define BLE_GAP_AD_UUID16_INCOMP   (0x02)

Definition at line 381 of file ble.h.

◆ BLE_GAP_AD_UUID32_COMP

#define BLE_GAP_AD_UUID32_COMP   (0x05)

Definition at line 384 of file ble.h.

◆ BLE_GAP_AD_UUID32_INCOMP

#define BLE_GAP_AD_UUID32_INCOMP   (0x04)

Definition at line 383 of file ble.h.

◆ BLE_GAP_AD_VENDOR

#define BLE_GAP_AD_VENDOR   (0xff)

Definition at line 420 of file ble.h.

◆ BLE_GAP_DISCOVER_LIM

#define BLE_GAP_DISCOVER_LIM   (0x01)

Definition at line 427 of file ble.h.

◆ BLE_GAP_DISCOVERABLE

#define BLE_GAP_DISCOVERABLE   (0x02)

Definition at line 428 of file ble.h.

◆ BLE_GAP_FLAG_BREDR_NOTSUP

#define BLE_GAP_FLAG_BREDR_NOTSUP   (0x04)

Definition at line 429 of file ble.h.

◆ BLE_GATT_CHAR_BATTERY_LEVEL

#define BLE_GATT_CHAR_BATTERY_LEVEL   (0x2a19)

battery level

Definition at line 111 of file ble.h.

◆ BLE_GATT_CHAR_BODY_SENSE_LOC

#define BLE_GATT_CHAR_BODY_SENSE_LOC   (0x2a38)

body sensor location

Definition at line 120 of file ble.h.

◆ BLE_GATT_CHAR_FW_REV_STR

#define BLE_GATT_CHAR_FW_REV_STR   (0x2a26)

firmware revision

Definition at line 115 of file ble.h.

◆ BLE_GATT_CHAR_HEART_RATE_MEASURE

#define BLE_GATT_CHAR_HEART_RATE_MEASURE   (0x2a37)

heart rate measurement

Definition at line 119 of file ble.h.

◆ BLE_GATT_CHAR_HW_REV_STR

#define BLE_GATT_CHAR_HW_REV_STR   (0x2a27)

hardware revision

Definition at line 116 of file ble.h.

◆ BLE_GATT_CHAR_MANUFACTURER_NAME

#define BLE_GATT_CHAR_MANUFACTURER_NAME   (0x2a29)

manufacturer name

Definition at line 118 of file ble.h.

◆ BLE_GATT_CHAR_MODEL_NUMBER_STR

#define BLE_GATT_CHAR_MODEL_NUMBER_STR   (0x2a24)

model number

Definition at line 113 of file ble.h.

◆ BLE_GATT_CHAR_SERIAL_NUMBER_STR

#define BLE_GATT_CHAR_SERIAL_NUMBER_STR   (0x2a25)

serial number

Definition at line 114 of file ble.h.

◆ BLE_GATT_CHAR_SW_REV_STR

#define BLE_GATT_CHAR_SW_REV_STR   (0x2a28)

software revision

Definition at line 117 of file ble.h.

◆ BLE_GATT_CHAR_SYSTEM_ID

#define BLE_GATT_CHAR_SYSTEM_ID   (0x2a23)

system ID

Definition at line 112 of file ble.h.

◆ BLE_GATT_SVC_BAS

#define BLE_GATT_SVC_BAS   (0x180f)

battery service

Definition at line 98 of file ble.h.

◆ BLE_GATT_SVC_DEVINFO

#define BLE_GATT_SVC_DEVINFO   (0x180a)

device info

Definition at line 96 of file ble.h.

◆ BLE_GATT_SVC_GAP

#define BLE_GATT_SVC_GAP   (0x1800)

GAP service.

Definition at line 94 of file ble.h.

◆ BLE_GATT_SVC_GATT

#define BLE_GATT_SVC_GATT   (0x1801)

GATT service.

Definition at line 95 of file ble.h.

◆ BLE_GATT_SVC_HRS

#define BLE_GATT_SVC_HRS   (0x180d)

heart rate service

Definition at line 97 of file ble.h.

◆ BLE_GATT_SVC_IPSS

#define BLE_GATT_SVC_IPSS   (0x1820)

IP protocol support.

Definition at line 99 of file ble.h.

◆ BLE_GATT_SVC_NDNSS

#define BLE_GATT_SVC_NDNSS   (0x7e5e)

NDN support service.

Definition at line 101 of file ble.h.

◆ BLE_L2CAP_CID_CB_MAX

#define BLE_L2CAP_CID_CB_MAX   (0x007f)

Definition at line 292 of file ble.h.

◆ BLE_L2CAP_CID_CB_MIN

#define BLE_L2CAP_CID_CB_MIN   (0x0040)

Definition at line 291 of file ble.h.

◆ BLE_L2CAP_CID_IPSP

#define BLE_L2CAP_CID_IPSP   (0x0023)

Channel identifiers defined for L2CAP LE-U link layers.

Definition at line 290 of file ble.h.

◆ BLE_LL_CHANNEL_MAP_IND

#define BLE_LL_CHANNEL_MAP_IND   (0x01)

Definition at line 468 of file ble.h.

◆ BLE_LL_CONN_PARAM_REQ

#define BLE_LL_CONN_PARAM_REQ   (0x0f)

Definition at line 482 of file ble.h.

◆ BLE_LL_CONN_PARAM_RSP

#define BLE_LL_CONN_PARAM_RSP   (0x10)

Definition at line 483 of file ble.h.

◆ BLE_LL_CONN_UPDATE_IND

#define BLE_LL_CONN_UPDATE_IND   (0x00)

Definition at line 467 of file ble.h.

◆ BLE_LL_ENC_REQ

#define BLE_LL_ENC_REQ   (0x03)

Definition at line 470 of file ble.h.

◆ BLE_LL_ENC_RSP

#define BLE_LL_ENC_RSP   (0x04)

Definition at line 471 of file ble.h.

◆ BLE_LL_FEATURE_REQ

#define BLE_LL_FEATURE_REQ   (0x08)

Definition at line 475 of file ble.h.

◆ BLE_LL_FEATURE_RSP

#define BLE_LL_FEATURE_RSP   (0x09)

Definition at line 476 of file ble.h.

◆ BLE_LL_FLAG_CHSEL

#define BLE_LL_FLAG_CHSEL   (0x20)

Definition at line 458 of file ble.h.

◆ BLE_LL_FLAG_RXADD

#define BLE_LL_FLAG_RXADD   (0x80)

Definition at line 460 of file ble.h.

◆ BLE_LL_FLAG_TXADD

#define BLE_LL_FLAG_TXADD   (0x40)

Definition at line 459 of file ble.h.

◆ BLE_LL_LENGTH_REQ

#define BLE_LL_LENGTH_REQ   (0x14)

Definition at line 487 of file ble.h.

◆ BLE_LL_LENGTH_RSP

#define BLE_LL_LENGTH_RSP   (0x15)

Definition at line 488 of file ble.h.

◆ BLE_LL_MIN_USED_CHAN_IND

#define BLE_LL_MIN_USED_CHAN_IND   (0x19)

Definition at line 492 of file ble.h.

◆ BLE_LL_PAUSE_ENC_REQ

#define BLE_LL_PAUSE_ENC_REQ   (0x0a)

Definition at line 477 of file ble.h.

◆ BLE_LL_PAUSE_ENC_RSP

#define BLE_LL_PAUSE_ENC_RSP   (0x0b)

Definition at line 478 of file ble.h.

◆ BLE_LL_PHY_REQ

#define BLE_LL_PHY_REQ   (0x16)

Definition at line 489 of file ble.h.

◆ BLE_LL_PHY_RSP

#define BLE_LL_PHY_RSP   (0x17)

Definition at line 490 of file ble.h.

◆ BLE_LL_PHY_UPDATE_IND

#define BLE_LL_PHY_UPDATE_IND   (0x18)

Definition at line 491 of file ble.h.

◆ BLE_LL_PING_REQ

#define BLE_LL_PING_REQ   (0x12)

Definition at line 485 of file ble.h.

◆ BLE_LL_PING_RSP

#define BLE_LL_PING_RSP   (0x13)

Definition at line 486 of file ble.h.

◆ BLE_LL_REJECT_EXT_IND

#define BLE_LL_REJECT_EXT_IND   (0x11)

Definition at line 484 of file ble.h.

◆ BLE_LL_REJECT_IND

#define BLE_LL_REJECT_IND   (0x0d)

Definition at line 480 of file ble.h.

◆ BLE_LL_SLAVE_FEATURE_REQ

#define BLE_LL_SLAVE_FEATURE_REQ   (0x0e)

Definition at line 481 of file ble.h.

◆ BLE_LL_START_ENC_REQ

#define BLE_LL_START_ENC_REQ   (0x05)

Definition at line 472 of file ble.h.

◆ BLE_LL_START_ENC_RSP

#define BLE_LL_START_ENC_RSP   (0x06)

Definition at line 473 of file ble.h.

◆ BLE_LL_TERMINATE_IND

#define BLE_LL_TERMINATE_IND   (0x02)

Definition at line 469 of file ble.h.

◆ BLE_LL_UNKNOWN_RSP

#define BLE_LL_UNKNOWN_RSP   (0x07)

Definition at line 474 of file ble.h.

◆ BLE_LL_VERSION_IND

#define BLE_LL_VERSION_IND   (0x0c)

Definition at line 479 of file ble.h.

◆ BLE_PDU_MASK

#define BLE_PDU_MASK   (0x0f)

Definition at line 436 of file ble.h.

◆ BLE_SCAN_REQ

#define BLE_SCAN_REQ   (0x03)

Definition at line 440 of file ble.h.

◆ BLE_SCAN_RESP

#define BLE_SCAN_RESP   (0x04)

Definition at line 442 of file ble.h.

◆ BLE_UNIT_AMPERE

#define BLE_UNIT_AMPERE   (0x2704)

electric_current [ampere]

Definition at line 168 of file ble.h.

◆ BLE_UNIT_AMPERE_HOURS

#define BLE_UNIT_AMPERE_HOURS   (0x27b0)

electric_charge [ampere_hours]

Definition at line 266 of file ble.h.

◆ BLE_UNIT_AMPERE_PER_METRE

#define BLE_UNIT_AMPERE_PER_METRE   (0x2719)

magnetic_field_strength [ampere_per_metre]

Definition at line 181 of file ble.h.

◆ BLE_UNIT_AMPERE_PER_SQUARE_METRE

#define BLE_UNIT_AMPERE_PER_SQUARE_METRE   (0x2718)

current_density [ampere_per_square_metre]

Definition at line 180 of file ble.h.

◆ BLE_UNIT_ANGLE_DEGREE

#define BLE_UNIT_ANGLE_DEGREE   (0x2763)

plane_angle [degree]

Definition at line 236 of file ble.h.

◆ BLE_UNIT_ANGLE_MINUTE

#define BLE_UNIT_ANGLE_MINUTE   (0x2764)

plane_angle [minute]

Definition at line 237 of file ble.h.

◆ BLE_UNIT_ANGLE_SECOND

#define BLE_UNIT_ANGLE_SECOND   (0x2765)

plane_angle [second]

Definition at line 238 of file ble.h.

◆ BLE_UNIT_BAR

#define BLE_UNIT_BAR   (0x2780)

pressure [bar]

Definition at line 242 of file ble.h.

◆ BLE_UNIT_BARN

#define BLE_UNIT_BARN   (0x2784)

area [barn]

Definition at line 246 of file ble.h.

◆ BLE_UNIT_BEATS_PER_MINUTE

#define BLE_UNIT_BEATS_PER_MINUTE   (0x27af)

period [beats_per_minute]

Definition at line 265 of file ble.h.

◆ BLE_UNIT_BECQUEREL

#define BLE_UNIT_BECQUEREL   (0x2732)

activity_referred_to_a_radionuclide [becquerel]

Definition at line 205 of file ble.h.

◆ BLE_UNIT_BEL

#define BLE_UNIT_BEL   (0x2787)

logarithmic_radio_quantity [bel]

Definition at line 249 of file ble.h.

◆ BLE_UNIT_BLE_FMT_2bit

#define BLE_UNIT_BLE_FMT_2bit   (0x02)

Definition at line 130 of file ble.h.

◆ BLE_UNIT_BLE_FMT_BOOL

#define BLE_UNIT_BLE_FMT_BOOL   (0x01)

Definition at line 129 of file ble.h.

◆ BLE_UNIT_BLE_FMT_DUINT16

#define BLE_UNIT_BLE_FMT_DUINT16   (0x18)

Definition at line 152 of file ble.h.

◆ BLE_UNIT_BLE_FMT_FLOAT

#define BLE_UNIT_BLE_FMT_FLOAT   (0x17)

Definition at line 151 of file ble.h.

◆ BLE_UNIT_BLE_FMT_FLOAT32

#define BLE_UNIT_BLE_FMT_FLOAT32   (0x14)

Definition at line 148 of file ble.h.

◆ BLE_UNIT_BLE_FMT_FLOAT64

#define BLE_UNIT_BLE_FMT_FLOAT64   (0x15)

Definition at line 149 of file ble.h.

◆ BLE_UNIT_BLE_FMT_NIBBLE

#define BLE_UNIT_BLE_FMT_NIBBLE   (0x03)

Definition at line 131 of file ble.h.

◆ BLE_UNIT_BLE_FMT_SFLOAT

#define BLE_UNIT_BLE_FMT_SFLOAT   (0x16)

Definition at line 150 of file ble.h.

◆ BLE_UNIT_BLE_FMT_SINT12

#define BLE_UNIT_BLE_FMT_SINT12   (0x0D)

Definition at line 141 of file ble.h.

◆ BLE_UNIT_BLE_FMT_SINT128

#define BLE_UNIT_BLE_FMT_SINT128   (0x13)

Definition at line 147 of file ble.h.

◆ BLE_UNIT_BLE_FMT_SINT16

#define BLE_UNIT_BLE_FMT_SINT16   (0x0E)

Definition at line 142 of file ble.h.

◆ BLE_UNIT_BLE_FMT_SINT24

#define BLE_UNIT_BLE_FMT_SINT24   (0x0F)

Definition at line 143 of file ble.h.

◆ BLE_UNIT_BLE_FMT_SINT32

#define BLE_UNIT_BLE_FMT_SINT32   (0x10)

Definition at line 144 of file ble.h.

◆ BLE_UNIT_BLE_FMT_SINT48

#define BLE_UNIT_BLE_FMT_SINT48   (0x11)

Definition at line 145 of file ble.h.

◆ BLE_UNIT_BLE_FMT_SINT64

#define BLE_UNIT_BLE_FMT_SINT64   (0x12)

Definition at line 146 of file ble.h.

◆ BLE_UNIT_BLE_FMT_SINT8

#define BLE_UNIT_BLE_FMT_SINT8   (0x0C)

Definition at line 140 of file ble.h.

◆ BLE_UNIT_BLE_FMT_STRUCT

#define BLE_UNIT_BLE_FMT_STRUCT   (0x1B)

Definition at line 155 of file ble.h.

◆ BLE_UNIT_BLE_FMT_UINT12

#define BLE_UNIT_BLE_FMT_UINT12   (0x05)

Definition at line 133 of file ble.h.

◆ BLE_UNIT_BLE_FMT_UINT128

#define BLE_UNIT_BLE_FMT_UINT128   (0x0B)

Definition at line 139 of file ble.h.

◆ BLE_UNIT_BLE_FMT_UINT16

#define BLE_UNIT_BLE_FMT_UINT16   (0x06)

Definition at line 134 of file ble.h.

◆ BLE_UNIT_BLE_FMT_UINT24

#define BLE_UNIT_BLE_FMT_UINT24   (0x07)

Definition at line 135 of file ble.h.

◆ BLE_UNIT_BLE_FMT_UINT32

#define BLE_UNIT_BLE_FMT_UINT32   (0x08)

Definition at line 136 of file ble.h.

◆ BLE_UNIT_BLE_FMT_UINT48

#define BLE_UNIT_BLE_FMT_UINT48   (0x09)

Definition at line 137 of file ble.h.

◆ BLE_UNIT_BLE_FMT_UINT64

#define BLE_UNIT_BLE_FMT_UINT64   (0x0A)

Definition at line 138 of file ble.h.

◆ BLE_UNIT_BLE_FMT_UINT8

#define BLE_UNIT_BLE_FMT_UINT8   (0x04)

Definition at line 132 of file ble.h.

◆ BLE_UNIT_BLE_FMT_UTF16

#define BLE_UNIT_BLE_FMT_UTF16   (0x1A)

Definition at line 154 of file ble.h.

◆ BLE_UNIT_BLE_FMT_UTF8

#define BLE_UNIT_BLE_FMT_UTF8   (0x19)

Definition at line 153 of file ble.h.

◆ BLE_UNIT_BLE_UNIT_METRE

#define BLE_UNIT_BLE_UNIT_METRE   (0x2701)

length [metre]

Definition at line 165 of file ble.h.

◆ BLE_UNIT_CANDELA

#define BLE_UNIT_CANDELA   (0x2707)

luminous_intensity [candela]

Definition at line 171 of file ble.h.

◆ BLE_UNIT_CANDELA_PER_SQUARE_METRE

#define BLE_UNIT_CANDELA_PER_SQUARE_METRE   (0x271c)

luminance [candela_per_square_metre]

Definition at line 184 of file ble.h.

◆ BLE_UNIT_COULOMB

#define BLE_UNIT_COULOMB   (0x2727)

electric_charge [coulomb]

Definition at line 194 of file ble.h.

◆ BLE_UNIT_COULOMB_PER_CUBIC_METRE

#define BLE_UNIT_COULOMB_PER_CUBIC_METRE   (0x274c)

electric_charge_density [coulomb_per_cubic_metre]

Definition at line 221 of file ble.h.

◆ BLE_UNIT_COULOMB_PER_KG

#define BLE_UNIT_COULOMB_PER_KG   (0x2753)

exposure [coulomb_per_kilogram]

Definition at line 228 of file ble.h.

◆ BLE_UNIT_COULOMB_PER_M2

#define BLE_UNIT_COULOMB_PER_M2   (0x274d)

surface_charge_density [coulomb_per_square_metre]

Definition at line 222 of file ble.h.

◆ BLE_UNIT_COUNT_PER_CUBIC_METRE

#define BLE_UNIT_COUNT_PER_CUBIC_METRE   (0x27b5)

concentration [count_per_cubic_metre]

Definition at line 271 of file ble.h.

◆ BLE_UNIT_CUBIC_METRE_PER_KILOGRAM

#define BLE_UNIT_CUBIC_METRE_PER_KILOGRAM   (0x2717)

specific_volume [cubic_metre_per_kilogram]

Definition at line 179 of file ble.h.

◆ BLE_UNIT_CUBIC_METRES

#define BLE_UNIT_CUBIC_METRES   (0x2711)

volume [cubic_metres]

Definition at line 173 of file ble.h.

◆ BLE_UNIT_DAY

#define BLE_UNIT_DAY   (0x2762)

time [day]

Definition at line 235 of file ble.h.

◆ BLE_UNIT_DEGREE_CELSIUS

#define BLE_UNIT_DEGREE_CELSIUS   (0x272f)

thermodynamic_temperature [degree_celsius]

Definition at line 202 of file ble.h.

◆ BLE_UNIT_DEGREE_FAHRENHEIT

#define BLE_UNIT_DEGREE_FAHRENHEIT   (0x27ac)

thermodynamic_temperature [degree_fahrenheit]

Definition at line 262 of file ble.h.

◆ BLE_UNIT_FARAD

#define BLE_UNIT_FARAD   (0x2729)

capacitance [farad]

Definition at line 196 of file ble.h.

◆ BLE_UNIT_FARAD_PER_METRE

#define BLE_UNIT_FARAD_PER_METRE   (0x274f)

permittivity [farad_per_metre]

Definition at line 224 of file ble.h.

◆ BLE_UNIT_FLUX_COULOMB_PER_M2

#define BLE_UNIT_FLUX_COULOMB_PER_M2   (0x274e)

electric_flux_density [coulomb_per_square_metre]

Definition at line 223 of file ble.h.

◆ BLE_UNIT_FOOT

#define BLE_UNIT_FOOT   (0x27a3)

length [foot]

Definition at line 253 of file ble.h.

◆ BLE_UNIT_GRAM_CALORIE

#define BLE_UNIT_GRAM_CALORIE   (0x27a9)

energy [gram_calorie]

Definition at line 259 of file ble.h.

◆ BLE_UNIT_GRAM_PER_SECOND

#define BLE_UNIT_GRAM_PER_SECOND   (0x27c1)

mass_flow [gram_per_second]

Definition at line 282 of file ble.h.

◆ BLE_UNIT_GRAY

#define BLE_UNIT_GRAY   (0x2733)

absorbed_dose [gray]

Definition at line 206 of file ble.h.

◆ BLE_UNIT_GRAY_PER_SECOND

#define BLE_UNIT_GRAY_PER_SECOND   (0x2754)

absorbed_dose_rate [gray_per_second]

Definition at line 229 of file ble.h.

◆ BLE_UNIT_HEAT_FLUX_WATT_PER_M2

#define BLE_UNIT_HEAT_FLUX_WATT_PER_M2   (0x2745)

heat_flux_density [watt_per_square_metre]

Definition at line 214 of file ble.h.

◆ BLE_UNIT_HECTARE

#define BLE_UNIT_HECTARE   (0x2766)

area [hectare]

Definition at line 239 of file ble.h.

◆ BLE_UNIT_HENRY

#define BLE_UNIT_HENRY   (0x272e)

inductance [henry]

Definition at line 201 of file ble.h.

◆ BLE_UNIT_HENRY_PER_METRE

#define BLE_UNIT_HENRY_PER_METRE   (0x2750)

permeability [henry_per_metre]

Definition at line 225 of file ble.h.

◆ BLE_UNIT_HERTZ

#define BLE_UNIT_HERTZ   (0x2722)

frequency [hertz]

Definition at line 189 of file ble.h.

◆ BLE_UNIT_HOUR

#define BLE_UNIT_HOUR   (0x2761)

time [hour]

Definition at line 234 of file ble.h.

◆ BLE_UNIT_INCH

#define BLE_UNIT_INCH   (0x27a2)

length [inch]

Definition at line 252 of file ble.h.

◆ BLE_UNIT_JOULE

#define BLE_UNIT_JOULE   (0x2725)

energy [joule]

Definition at line 192 of file ble.h.

◆ BLE_UNIT_JOULE_PER_CUBIC_METRE

#define BLE_UNIT_JOULE_PER_CUBIC_METRE   (0x274a)

energy_density [joule_per_cubic_metre]

Definition at line 219 of file ble.h.

◆ BLE_UNIT_JOULE_PER_KELVIN

#define BLE_UNIT_JOULE_PER_KELVIN   (0x2746)

heat_capacity [joule_per_kelvin]

Definition at line 215 of file ble.h.

◆ BLE_UNIT_JOULE_PER_KG

#define BLE_UNIT_JOULE_PER_KG   (0x2748)

specific_energy [joule_per_kilogram]

Definition at line 217 of file ble.h.

◆ BLE_UNIT_JOULE_PER_KG_KELVIN

#define BLE_UNIT_JOULE_PER_KG_KELVIN   (0x2747)

specific_heat_capacity [joule_per_kilogram_kelvin]

Definition at line 216 of file ble.h.

◆ BLE_UNIT_JOULE_PER_MOLE

#define BLE_UNIT_JOULE_PER_MOLE   (0x2751)

molar_energy [joule_per_mole]

Definition at line 226 of file ble.h.

◆ BLE_UNIT_JOULE_PER_MOLE_KELVIN

#define BLE_UNIT_JOULE_PER_MOLE_KELVIN   (0x2752)

molar_entropy [joule_per_mole_kelvin]

Definition at line 227 of file ble.h.

◆ BLE_UNIT_KATAL

#define BLE_UNIT_KATAL   (0x2735)

catalytic_activity [katal]

Definition at line 208 of file ble.h.

◆ BLE_UNIT_KATAL_PER_CUBIC_METRE

#define BLE_UNIT_KATAL_PER_CUBIC_METRE   (0x2757)

catalytic_activity_concentration [katal_per_cubic_metre]

Definition at line 232 of file ble.h.

◆ BLE_UNIT_KELVIN

#define BLE_UNIT_KELVIN   (0x2705)

thermodynamic_temperature [kelvin]

Definition at line 169 of file ble.h.

◆ BLE_UNIT_KG_CALORIE

#define BLE_UNIT_KG_CALORIE   (0x27aa)

energy [kilogram_calorie]

Definition at line 260 of file ble.h.

◆ BLE_UNIT_KG_PER_CUBIC_METRE

#define BLE_UNIT_KG_PER_CUBIC_METRE   (0x2715)

density [kilogram_per_cubic_metre]

Definition at line 177 of file ble.h.

◆ BLE_UNIT_KG_PER_SQUARE_METRE

#define BLE_UNIT_KG_PER_SQUARE_METRE   (0x2716)

surface_density [kilogram_per_square_metre]

Definition at line 178 of file ble.h.

◆ BLE_UNIT_KILOGRAM

#define BLE_UNIT_KILOGRAM   (0x2702)

mass [kilogram]

Definition at line 166 of file ble.h.

◆ BLE_UNIT_KILOGRAM_PER_CUBIC_METRE

#define BLE_UNIT_KILOGRAM_PER_CUBIC_METRE   (0x271b)

mass_concentration [kilogram_per_cubic_metre]

Definition at line 183 of file ble.h.

◆ BLE_UNIT_KILOMETER_PER_MINUTE

#define BLE_UNIT_KILOMETER_PER_MINUTE   (0x27bd)

velocity [kilometer_per_minute]

Definition at line 278 of file ble.h.

◆ BLE_UNIT_KILOMETRE_PER_HOUR

#define BLE_UNIT_KILOMETRE_PER_HOUR   (0x27a6)

velocity [kilometre_per_hour]

Definition at line 256 of file ble.h.

◆ BLE_UNIT_KILOWATT_HOUR

#define BLE_UNIT_KILOWATT_HOUR   (0x27ab)

energy [kilowatt_hour]

Definition at line 261 of file ble.h.

◆ BLE_UNIT_KNOT

#define BLE_UNIT_KNOT   (0x2785)

velocity [knot]

Definition at line 247 of file ble.h.

◆ BLE_UNIT_LITRE

#define BLE_UNIT_LITRE   (0x2767)

volume [litre]

Definition at line 240 of file ble.h.

◆ BLE_UNIT_LITRE_PER_SECOND

#define BLE_UNIT_LITRE_PER_SECOND   (0x27c2)

volume_flow [litre_per_second]

Definition at line 283 of file ble.h.

◆ BLE_UNIT_LUMEN

#define BLE_UNIT_LUMEN   (0x2730)

luminous_flux [lumen]

Definition at line 203 of file ble.h.

◆ BLE_UNIT_LUMEN_HOUR

#define BLE_UNIT_LUMEN_HOUR   (0x27bf)

luminous_energy [lumen_hour]

Definition at line 280 of file ble.h.

◆ BLE_UNIT_LUMEN_PER_WATT

#define BLE_UNIT_LUMEN_PER_WATT   (0x27be)

luminous_efficacy [lumen_per_watt]

Definition at line 279 of file ble.h.

◆ BLE_UNIT_LUX

#define BLE_UNIT_LUX   (0x2731)

illuminance [lux]

Definition at line 204 of file ble.h.

◆ BLE_UNIT_LUX_HOUR

#define BLE_UNIT_LUX_HOUR   (0x27c0)

luminous_exposure [lux_hour]

Definition at line 281 of file ble.h.

◆ BLE_UNIT_METABOLIC_EQU

#define BLE_UNIT_METABOLIC_EQU   (0x27b9)

metabolic equivalent

Definition at line 275 of file ble.h.

◆ BLE_UNIT_METRES_PER_SECOND

#define BLE_UNIT_METRES_PER_SECOND   (0x2712)

velocity [metres_per_second]

Definition at line 174 of file ble.h.

◆ BLE_UNIT_METRES_PER_SECOND_SQUARED

#define BLE_UNIT_METRES_PER_SECOND_SQUARED   (0x2713)

acceleration [metres_per_second_squared]

Definition at line 175 of file ble.h.

◆ BLE_UNIT_MILE

#define BLE_UNIT_MILE   (0x27a4)

length [mile]

Definition at line 254 of file ble.h.

◆ BLE_UNIT_MILE_PER_HOUR

#define BLE_UNIT_MILE_PER_HOUR   (0x27a7)

velocity [mile_per_hour]

Definition at line 257 of file ble.h.

◆ BLE_UNIT_MILLIGRAM_PER_DECILITRE

#define BLE_UNIT_MILLIGRAM_PER_DECILITRE   (0x27b1)

mass_density [milligram_per_decilitre]

Definition at line 267 of file ble.h.

◆ BLE_UNIT_MILLIMETRE_OF_MERCURY

#define BLE_UNIT_MILLIMETRE_OF_MERCURY   (0x2781)

pressure [millimetre_of_mercury]

Definition at line 243 of file ble.h.

◆ BLE_UNIT_MILLIMOLE_PER_LITRE

#define BLE_UNIT_MILLIMOLE_PER_LITRE   (0x27b2)

mass_density [millimole_per_litre]

Definition at line 268 of file ble.h.

◆ BLE_UNIT_MINUTE

#define BLE_UNIT_MINUTE   (0x2760)

time [minute]

Definition at line 233 of file ble.h.

◆ BLE_UNIT_MLIT_PER_KG_PER_MINUTE

#define BLE_UNIT_MLIT_PER_KG_PER_MINUTE   (0x27b7)

transfer_rate [milliliter_per_kilogram_per_minute]

Definition at line 273 of file ble.h.

◆ BLE_UNIT_MOLE

#define BLE_UNIT_MOLE   (0x2706)

amount_of_substance [mole]

Definition at line 170 of file ble.h.

◆ BLE_UNIT_MOLE_PER_CUBIC_METRE

#define BLE_UNIT_MOLE_PER_CUBIC_METRE   (0x271a)

amount_concentration [mole_per_cubic_metre]

Definition at line 182 of file ble.h.

◆ BLE_UNIT_MONTH

#define BLE_UNIT_MONTH   (0x27b4)

time [month]

Definition at line 270 of file ble.h.

◆ BLE_UNIT_NAUTICAL_MILE

#define BLE_UNIT_NAUTICAL_MILE   (0x2783)

length [nautical_mile]

Definition at line 245 of file ble.h.

◆ BLE_UNIT_NEPER

#define BLE_UNIT_NEPER   (0x2786)

logarithmic_radio_quantity [neper]

Definition at line 248 of file ble.h.

◆ BLE_UNIT_NEWTON

#define BLE_UNIT_NEWTON   (0x2723)

force [newton]

Definition at line 190 of file ble.h.

◆ BLE_UNIT_NEWTON_METRE

#define BLE_UNIT_NEWTON_METRE   (0x2741)

moment_of_force [newton_metre]

Definition at line 210 of file ble.h.

◆ BLE_UNIT_NEWTON_PER_METRE

#define BLE_UNIT_NEWTON_PER_METRE   (0x2742)

surface_tension [newton_per_metre]

Definition at line 211 of file ble.h.

◆ BLE_UNIT_NGSTRM

#define BLE_UNIT_NGSTRM   (0x2782)

length [ngstrm]

Definition at line 244 of file ble.h.

◆ BLE_UNIT_NONE

#define BLE_UNIT_NONE   (0x2700)

no unit

Definition at line 164 of file ble.h.

◆ BLE_UNIT_OHM

#define BLE_UNIT_OHM   (0x272a)

electric_resistance [ohm]

Definition at line 197 of file ble.h.

◆ BLE_UNIT_PARSEC

#define BLE_UNIT_PARSEC   (0x27a1)

length [parsec]

Definition at line 251 of file ble.h.

◆ BLE_UNIT_PASCAL

#define BLE_UNIT_PASCAL   (0x2724)

pressure [pascal]

Definition at line 191 of file ble.h.

◆ BLE_UNIT_PASCAL_SECOND

#define BLE_UNIT_PASCAL_SECOND   (0x2740)

dynamic_viscosity [pascal_second]

Definition at line 209 of file ble.h.

◆ BLE_UNIT_PER_MILLE

#define BLE_UNIT_PER_MILLE   (0x27ae)

per mille

Definition at line 264 of file ble.h.

◆ BLE_UNIT_PERCENTAGE

#define BLE_UNIT_PERCENTAGE   (0x27ad)

percentage

Definition at line 263 of file ble.h.

◆ BLE_UNIT_POUND

#define BLE_UNIT_POUND   (0x27b8)

mass [pound]

Definition at line 274 of file ble.h.

◆ BLE_UNIT_POUND_FORCE_PER_SQU_INCH

#define BLE_UNIT_POUND_FORCE_PER_SQU_INCH   (0x27a5)

pressure [pound_force_per_square_inch]

Definition at line 255 of file ble.h.

◆ BLE_UNIT_RADIAN

#define BLE_UNIT_RADIAN   (0x2720)

plane_angle [radian]

Definition at line 187 of file ble.h.

◆ BLE_UNIT_RADIAN_PER_SECOND

#define BLE_UNIT_RADIAN_PER_SECOND   (0x2743)

angular_velocity [radian_per_second]

Definition at line 212 of file ble.h.

◆ BLE_UNIT_RADIAN_PER_SECOND_SQUARED

#define BLE_UNIT_RADIAN_PER_SECOND_SQUARED   (0x2744)

angular_acceleration [radian_per_second_squared]

Definition at line 213 of file ble.h.

◆ BLE_UNIT_RECIPROCAL_METRE

#define BLE_UNIT_RECIPROCAL_METRE   (0x2714)

wavenumber [reciprocal_metre]

Definition at line 176 of file ble.h.

◆ BLE_UNIT_REFRACTIVE_INDEX

#define BLE_UNIT_REFRACTIVE_INDEX   (0x271d)

refractive index

Definition at line 185 of file ble.h.

◆ BLE_UNIT_RELATIVE_PERMEABILITY

#define BLE_UNIT_RELATIVE_PERMEABILITY   (0x271e)

relative permeability

Definition at line 186 of file ble.h.

◆ BLE_UNIT_REVOLUTION_PER_MINUTE

#define BLE_UNIT_REVOLUTION_PER_MINUTE   (0x27a8)

angular_velocity [revolution_per_minute]

Definition at line 258 of file ble.h.

◆ BLE_UNIT_SECOND

#define BLE_UNIT_SECOND   (0x2703)

time [second]

Definition at line 167 of file ble.h.

◆ BLE_UNIT_SIEMENS

#define BLE_UNIT_SIEMENS   (0x272b)

electric_conductance [siemens]

Definition at line 198 of file ble.h.

◆ BLE_UNIT_SIEVERT

#define BLE_UNIT_SIEVERT   (0x2734)

dose_equivalent [sievert]

Definition at line 207 of file ble.h.

◆ BLE_UNIT_SQUARE_METRES

#define BLE_UNIT_SQUARE_METRES   (0x2710)

area [square_metres]

Definition at line 172 of file ble.h.

◆ BLE_UNIT_STEP_PER_MINUTE

#define BLE_UNIT_STEP_PER_MINUTE   (0x27ba)

steps per minute

Definition at line 276 of file ble.h.

◆ BLE_UNIT_STERADIAN

#define BLE_UNIT_STERADIAN   (0x2721)

solid_angle [steradian]

Definition at line 188 of file ble.h.

◆ BLE_UNIT_STROKE_PER_MINUTE

#define BLE_UNIT_STROKE_PER_MINUTE   (0x27bc)

strokes per minute

Definition at line 277 of file ble.h.

◆ BLE_UNIT_TESLA

#define BLE_UNIT_TESLA   (0x272d)

magnetic_flux_density [tesla]

Definition at line 200 of file ble.h.

◆ BLE_UNIT_TONNE

#define BLE_UNIT_TONNE   (0x2768)

mass [tonne]

Definition at line 241 of file ble.h.

◆ BLE_UNIT_VOLT

#define BLE_UNIT_VOLT   (0x2728)

electric_potential_difference [volt]

Definition at line 195 of file ble.h.

◆ BLE_UNIT_VOLT_PER_METRE

#define BLE_UNIT_VOLT_PER_METRE   (0x274b)

electric_field_strength [volt_per_metre]

Definition at line 220 of file ble.h.

◆ BLE_UNIT_WATT

#define BLE_UNIT_WATT   (0x2726)

power [watt]

Definition at line 193 of file ble.h.

◆ BLE_UNIT_WATT_PER_M2_STERADIAN

#define BLE_UNIT_WATT_PER_M2_STERADIAN   (0x2756)

radiance [watt_per_square_metre_steradian]

Definition at line 231 of file ble.h.

◆ BLE_UNIT_WATT_PER_METRE_KELVIN

#define BLE_UNIT_WATT_PER_METRE_KELVIN   (0x2749)

thermal_conductivity [watt_per_metre_kelvin]

Definition at line 218 of file ble.h.

◆ BLE_UNIT_WATT_PER_SQUARE_METRE

#define BLE_UNIT_WATT_PER_SQUARE_METRE   (0x27b6)

irradiance [watt_per_square_metre]

Definition at line 272 of file ble.h.

◆ BLE_UNIT_WATT_PER_STERADIAN

#define BLE_UNIT_WATT_PER_STERADIAN   (0x2755)

radiant_intensity [watt_per_steradian]

Definition at line 230 of file ble.h.

◆ BLE_UNIT_WEBER

#define BLE_UNIT_WEBER   (0x272c)

magnetic_flux [weber]

Definition at line 199 of file ble.h.

◆ BLE_UNIT_YARD

#define BLE_UNIT_YARD   (0x27a0)

length [yard]

Definition at line 250 of file ble.h.

◆ BLE_UNIT_YEAR

#define BLE_UNIT_YEAR   (0x27b3)

time [year]

Definition at line 269 of file ble.h.

◆ BLE_VERSION_40

#define BLE_VERSION_40   (0x06)

Definition at line 32 of file ble.h.

◆ BLE_VERSION_41

#define BLE_VERSION_41   (0x07)

Definition at line 33 of file ble.h.

◆ BLE_VERSION_42

#define BLE_VERSION_42   (0x08)

Definition at line 34 of file ble.h.

◆ BLE_VERSION_50

#define BLE_VERSION_50   (0x09)

Definition at line 35 of file ble.h.