Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Typedefs
STACK_ATT_API

Data Structures

struct  attCfg_t
 ATT run-time configurable parameters. More...
 
struct  eattCfg_t
 EATT run-time configurable parameters. More...
 
struct  attEvt_t
 ATT callback event. More...
 
struct  eattTuple_t
 EATT multiple notify tuple structure. More...
 

Typedefs

typedef void(* attCback_t) (attEvt_t *pEvt)
 ATT event callback type. More...
 

ATT Callback Events

Events related to ATT transactions.

#define ATT_CBACK_START   0x02
 ATT callback event starting value. More...
 
#define ATT_CBACK_END   ATT_EATT_RECONFIG_CMPL_IND
 ATT callback events. More...
 

ATT Client Awareness of Database Change

Status of a client's awareness of a database change.

ATT Setup Functions

void AttRegister (attCback_t cback)
 Register a callback with ATT. This callback will be used for messages from both ATTC and ATTS. More...
 
void AttConnRegister (dmCback_t cback)
 Register a connection callback with ATT. The callback is typically used to manage the attribute server database. More...
 

ATT Parameter Functions

Functions specific to a connection between 2 devices.

Functions may be called by either Client or server.

uint16_t AttGetMtu (dmConnId_t connId)
 Get the attribute protocol MTU of a connection. More...
 

ATT Message Passing Functions

void * AttMsgAlloc (uint16_t len, uint8_t opcode)
 Allocate an ATT message buffer to be sent with the ATT attribute protocol zero-copy APIs. More...
 
void AttMsgFree (void *pMsg, uint8_t opcode)
 Free an ATT message buffer allocated with AttMsgAlloc(). More...
 

ATT PDU Format

ATT PDU defaults and constants

#define ATT_HDR_LEN   1
 Attribute PDU header length. More...
 
#define ATT_AUTH_SIG_LEN   12
 Authentication signature length. More...
 
#define ATT_DEFAULT_MTU   23
 Default value of ATT_MTU. More...
 
#define ATT_MAX_MTU   517
 Maximum value of ATT_MTU. More...
 
#define ATT_DEFAULT_PAYLOAD_LEN   20
 Default maximum payload length for most PDUs. More...
 

ATT Maximum Value Parameters

maximum values for ATT attribute length and offset

#define ATT_VALUE_MAX_LEN   512
 Maximum attribute value length. More...
 
#define ATT_VALUE_MAX_OFFSET   511
 Maximum attribute value offset. More...
 

ATT Transaction Timeout

Maximum time allowed between transaction request and response.

#define ATT_MAX_TRANS_TIMEOUT   30
 Maximum transaction timeout in seconds. More...
 

ATT Error Codes

ATT Protocol operation status codes found in PDUs

#define ATT_SUCCESS   0x00
 Operation successful. More...
 
#define ATT_ERR_HANDLE   0x01
 Invalid handle. More...
 
#define ATT_ERR_READ   0x02
 Read not permitted. More...
 
#define ATT_ERR_WRITE   0x03
 Write not permitted. More...
 
#define ATT_ERR_INVALID_PDU   0x04
 Invalid pdu. More...
 
#define ATT_ERR_AUTH   0x05
 Insufficient authentication. More...
 
#define ATT_ERR_NOT_SUP   0x06
 Request not supported. More...
 
#define ATT_ERR_OFFSET   0x07
 Invalid offset. More...
 
#define ATT_ERR_AUTHOR   0x08
 Insufficient authorization. More...
 
#define ATT_ERR_QUEUE_FULL   0x09
 Prepare queue full. More...
 
#define ATT_ERR_NOT_FOUND   0x0A
 Attribute not found. More...
 
#define ATT_ERR_NOT_LONG   0x0B
 Attribute not long. More...
 
#define ATT_ERR_KEY_SIZE   0x0C
 Insufficient encryption key size. More...
 
#define ATT_ERR_LENGTH   0x0D
 Invalid attribute value length. More...
 
#define ATT_ERR_UNLIKELY   0x0E
 Other unlikely error. More...
 
#define ATT_ERR_ENC   0x0F
 Insufficient encryption. More...
 
#define ATT_ERR_GROUP_TYPE   0x10
 Unsupported group type. More...
 
#define ATT_ERR_RESOURCES   0x11
 Insufficient resources. More...
 
#define ATT_ERR_DATABASE_OUT_OF_SYNC   0x12
 Client out of synch with database. More...
 
#define ATT_ERR_VALUE_NOT_ALLOWED   0x13
 Value not allowed. More...
 
#define ATT_ERR_WRITE_REJ   0xFC
 Write request rejected. More...
 
#define ATT_ERR_CCCD   0xFD
 CCCD improperly configured. More...
 
#define ATT_ERR_IN_PROGRESS   0xFE
 Procedure already in progress. More...
 
#define ATT_ERR_RANGE   0xFF
 Value out of range. More...
 

Proprietary Internal Error Codes

These codes may be sent to application but are not present in any ATT PDU.

#define ATT_ERR_MEMORY   0x70
 Out of memory. More...
 
#define ATT_ERR_TIMEOUT   0x71
 Transaction timeout. More...
 
#define ATT_ERR_OVERFLOW   0x72
 Transaction overflow. More...
 
#define ATT_ERR_INVALID_RSP   0x73
 Invalid response PDU. More...
 
#define ATT_ERR_CANCELLED   0x74
 Request cancelled. More...
 
#define ATT_ERR_UNDEFINED   0x75
 Other undefined error. More...
 
#define ATT_ERR_REQ_NOT_FOUND   0x76
 Required characteristic not found. More...
 
#define ATT_ERR_MTU_EXCEEDED   0x77
 Attribute PDU length exceeded MTU size. More...
 
#define ATT_ERR_NO_CHANNEL   0x78
 No enhanced channel available. More...
 
#define ATT_CONTINUING   0x79
 Procedure continuing. More...
 
#define ATT_RSP_PENDING   0x7A
 Response delayed pending higher layer. More...
 

ATT Application Error Codes

These codes may be sent to application but are not present in any ATT PDU.

#define ATT_ERR_VALUE_RANGE   0x80
 Value out of range. More...
 
#define ATT_ERR_INVALID_CHANGE_CTR   0x80
 Invalid change counter. More...
 
#define ATT_ERR_OPCODE_NOT_SUPPORTED   0x81
 Opcode out of range. More...
 
#define ATT_ERR_MUTE_DISABLE   0x82
 Mute disable. More...
 
#define ATT_ERR_VALUE_RANGE_x83   0x83
 Value out of range 0x83. More...
 

ATT HCI Error Status

#define ATT_HCI_ERR_BASE   0x20
 Base value for HCI error status values passed through ATT. Since the values of HCI and ATT error codes overlap, the constant ATT_HCI_ERR_BASE is added to HCI error codes before being passed through ATT. See HCI_SUCCESS for HCI error code values. More...
 

ATT PDU Types

PDU Types for all possible over-the-air ATT operations.

#define ATT_PDU_ERR_RSP   0x01
 Error response. More...
 
#define ATT_PDU_MTU_REQ   0x02
 Exchange mtu request. More...
 
#define ATT_PDU_MTU_RSP   0x03
 Exchange mtu response. More...
 
#define ATT_PDU_FIND_INFO_REQ   0x04
 Find information request. More...
 
#define ATT_PDU_FIND_INFO_RSP   0x05
 Find information response. More...
 
#define ATT_PDU_FIND_TYPE_REQ   0x06
 Find by type value request. More...
 
#define ATT_PDU_FIND_TYPE_RSP   0x07
 Find by type value response. More...
 
#define ATT_PDU_READ_TYPE_REQ   0x08
 Read by type request. More...
 
#define ATT_PDU_READ_TYPE_RSP   0x09
 Read by type response. More...
 
#define ATT_PDU_READ_REQ   0x0A
 Read request. More...
 
#define ATT_PDU_READ_RSP   0x0B
 Read response. More...
 
#define ATT_PDU_READ_BLOB_REQ   0x0C
 Read blob request. More...
 
#define ATT_PDU_READ_BLOB_RSP   0x0D
 Read blob response. More...
 
#define ATT_PDU_READ_MULT_REQ   0x0E
 Read multiple request. More...
 
#define ATT_PDU_READ_MULT_RSP   0x0F
 Read multiple response. More...
 
#define ATT_PDU_READ_GROUP_TYPE_REQ   0x10
 Read by group type request. More...
 
#define ATT_PDU_READ_GROUP_TYPE_RSP   0x11
 Read by group type response. More...
 
#define ATT_PDU_WRITE_REQ   0x12
 Write request. More...
 
#define ATT_PDU_WRITE_RSP   0x13
 Write response. More...
 
#define ATT_PDU_WRITE_CMD   0x52
 Write command. More...
 
#define ATT_PDU_SIGNED_WRITE_CMD   0xD2
 Signed write command. More...
 
#define ATT_PDU_PREP_WRITE_REQ   0x16
 Prepare write request. More...
 
#define ATT_PDU_PREP_WRITE_RSP   0x17
 Prepare write response. More...
 
#define ATT_PDU_EXEC_WRITE_REQ   0x18
 Execute write request. More...
 
#define ATT_PDU_EXEC_WRITE_RSP   0x19
 Execute write response. More...
 
#define ATT_PDU_VALUE_NTF   0x1B
 Handle value notification. More...
 
#define ATT_PDU_VALUE_IND   0x1D
 Handle value indication. More...
 
#define ATT_PDU_VALUE_CNF   0x1E
 Handle value confirmation. More...
 
#define ATT_PDU_READ_MULT_VAR_REQ   0x20
 Read multiple variable length request. More...
 
#define ATT_PDU_READ_MULT_VAR_RSP   0x21
 Read multiple variable length response. More...
 
#define ATT_PDU_MULT_VALUE_NTF   0x23
 Handle value multiple notification. More...
 

ATT PDU Length Fields

Length constants of PDU fixed length fields

#define ATT_ERR_RSP_LEN   5
 Error response length. More...
 
#define ATT_MTU_REQ_LEN   3
 MTU request length. More...
 
#define ATT_MTU_RSP_LEN   3
 MTU response length. More...
 
#define ATT_FIND_INFO_REQ_LEN   5
 Find information request length. More...
 
#define ATT_FIND_INFO_RSP_LEN   2
 Find information response length. More...
 
#define ATT_FIND_TYPE_REQ_LEN   7
 Find type request length. More...
 
#define ATT_FIND_TYPE_RSP_LEN   1
 Find type response length. More...
 
#define ATT_READ_TYPE_REQ_LEN   5
 Read type request length. More...
 
#define ATT_READ_TYPE_RSP_LEN   2
 Read type response length. More...
 
#define ATT_READ_REQ_LEN   3
 Read request length. More...
 
#define ATT_READ_RSP_LEN   1
 Read response length. More...
 
#define ATT_READ_BLOB_REQ_LEN   5
 Read blob request legnth. More...
 
#define ATT_READ_BLOB_RSP_LEN   1
 Read blob response length. More...
 
#define ATT_READ_MULT_REQ_LEN   1
 Read multiple request length. More...
 
#define ATT_READ_MULT_RSP_LEN   1
 Read multiple response length. More...
 
#define ATT_READ_GROUP_TYPE_REQ_LEN   5
 Read group type request length. More...
 
#define ATT_READ_GROUP_TYPE_RSP_LEN   2
 Read group type response length. More...
 
#define ATT_WRITE_REQ_LEN   3
 Write request length. More...
 
#define ATT_WRITE_RSP_LEN   1
 Write response length. More...
 
#define ATT_WRITE_CMD_LEN   3
 Write command length. More...
 
#define ATT_SIGNED_WRITE_CMD_LEN   (ATT_WRITE_CMD_LEN + ATT_AUTH_SIG_LEN)
 Signed write command length. More...
 
#define ATT_PREP_WRITE_REQ_LEN   5
 Prepared write command length. More...
 
#define ATT_PREP_WRITE_RSP_LEN   5
 Prepared write response length. More...
 
#define ATT_EXEC_WRITE_REQ_LEN   2
 Execute write request length. More...
 
#define ATT_EXEC_WRITE_RSP_LEN   1
 Execute write response length. More...
 
#define ATT_VALUE_NTF_LEN   3
 Value notification length. More...
 
#define ATT_VALUE_IND_LEN   3
 Value indication length. More...
 
#define ATT_VALUE_CNF_LEN   1
 Value confirmation length. More...
 
#define ATT_READ_MULT_VAR_REQ_LEN   1
 Base read multiple variable request length. More...
 
#define ATT_READ_MULT_VAR_RSP_LEN   1
 Base read multiple variable response length. More...
 
#define ATT_PDU_MULT_VALUE_NTF_LEN   1
 Base multiple variable notification length. More...
 

ATT Find Information Response Format

#define ATT_FIND_HANDLE_16_UUID   0x01
 Handle and 16 bit UUID. More...
 
#define ATT_FIND_HANDLE_128_UUID   0x02
 Handle and 128 bit UUID. More...
 

ATT Execute Write Request Flags

#define ATT_EXEC_WRITE_CANCEL   0x00
 Cancel all prepared writes. More...
 
#define ATT_EXEC_WRITE_ALL   0x01
 Write all pending prepared writes. More...
 

ATT PDU Masks

#define ATT_PDU_MASK_SERVER   0x01
 Server bit mask. More...
 
#define ATT_PDU_MASK_COMMAND   0x40
 Command bit mask. More...
 
#define ATT_PDU_MASK_SIGNED   0x80
 Auth signature bit mask. More...
 

ATT Handle Constants

Invalid, minimum and maximum handle values.

#define ATT_HANDLE_NONE   0x0000
 Handle none. More...
 
#define ATT_HANDLE_START   0x0001
 Handle start. More...
 
#define ATT_HANDLE_MAX   0xFFFF
 Handle max. More...
 

ATT UUID Lengths

#define ATT_NO_UUID_LEN   0
 Length when no UUID is present ;-) More...
 
#define ATT_16_UUID_LEN   2
 Length in bytes of a 16 bit UUID. More...
 
#define ATT_128_UUID_LEN   16
 Length in bytes of a 128 bit UUID. More...
 

GATT Characteristic Properties

Properties for how a characteristic may be interacted with through the ATT Protocol.

#define ATT_PROP_BROADCAST   0x01
 Permit broadcasts. More...
 
#define ATT_PROP_READ   0x02
 Permit reads. More...
 
#define ATT_PROP_WRITE_NO_RSP   0x04
 Permit writes without response. More...
 
#define ATT_PROP_WRITE   0x08
 Permit writes with response. More...
 
#define ATT_PROP_NOTIFY   0x10
 Permit notifications. More...
 
#define ATT_PROP_INDICATE   0x20
 Permit indications. More...
 
#define ATT_PROP_AUTHENTICATED   0x40
 Permit signed writes. More...
 
#define ATT_PROP_EXTENDED   0x80
 More properties defined in extended properties. More...
 

GATT Characteristic Extended Properties

#define ATT_EXT_PROP_RELIABLE_WRITE   0x0001
 Permit reliable writes. More...
 
#define ATT_EXT_PROP_WRITEABLE_AUX   0x0002
 Permit write to characteristic descriptor. More...
 

GATT Client Charactertic Configuration

Configures a characteristic to send notifications or indications, if applicable.

#define ATT_CLIENT_CFG_NOTIFY   0x0001
 Notify the value. More...
 
#define ATT_CLIENT_CFG_INDICATE   0x0002
 Indicate the value. More...
 

GATT Server Characteristic Configuration

#define ATT_SERVER_CFG_BROADCAST   0x0001
 Broadcast the value. More...
 

GATT Characteristic Format

GATT Format descriptor values

#define ATT_FORMAT_BOOLEAN   0x01
 Boolean. More...
 
#define ATT_FORMAT_2BIT   0x02
 Unsigned 2 bit integer. More...
 
#define ATT_FORMAT_NIBBLE   0x03
 Unsigned 4 bit integer. More...
 
#define ATT_FORMAT_UINT8   0x04
 Unsigned 8 bit integer. More...
 
#define ATT_FORMAT_UINT12   0x05
 Unsigned 12 bit integer. More...
 
#define ATT_FORMAT_UINT16   0x06
 Unsigned 16 bit integer. More...
 
#define ATT_FORMAT_UINT24   0x07
 Unsigned 24 bit integer. More...
 
#define ATT_FORMAT_UINT32   0x08
 Unsigned 32 bit integer. More...
 
#define ATT_FORMAT_UINT48   0x09
 Unsigned 48 bit integer. More...
 
#define ATT_FORMAT_UINT64   0x0A
 Unsigned 64 bit integer. More...
 
#define ATT_FORMAT_UINT128   0x0B
 Unsigned 128 bit integer. More...
 
#define ATT_FORMAT_SINT8   0x0C
 Signed 8 bit integer. More...
 
#define ATT_FORMAT_SINT12   0x0D
 Signed 12 bit integer. More...
 
#define ATT_FORMAT_SINT16   0x0E
 Signed 16 bit integer. More...
 
#define ATT_FORMAT_SINT24   0x0F
 Signed 24 bit integer. More...
 
#define ATT_FORMAT_SINT32   0x10
 Signed 32 bit integer. More...
 
#define ATT_FORMAT_SINT48   0x11
 Signed 48 bit integer. More...
 
#define ATT_FORMAT_SINT64   0x12
 Signed 64 bit integer. More...
 
#define ATT_FORMAT_SINT128   0x13
 Signed 128 bit integer. More...
 
#define ATT_FORMAT_FLOAT32   0x14
 IEEE-754 32 bit floating point. More...
 
#define ATT_FORMAT_FLOAT64   0x15
 IEEE-754 64 bit floating point. More...
 
#define ATT_FORMAT_SFLOAT   0x16
 IEEE-11073 16 bit SFLOAT. More...
 
#define ATT_FORMAT_FLOAT   0x17
 IEEE-11073 32 bit FLOAT. More...
 
#define ATT_FORMAT_DUINT16   0x18
 IEEE-20601 format. More...
 
#define ATT_FORMAT_UTF8   0x19
 UTF-8 string. More...
 
#define ATT_FORMAT_UTF16   0x1A
 UTF-16 string. More...
 
#define ATT_FORMAT_STRUCT   0x1B
 Opaque structure. More...
 

GATT Database Hash

GATT database hash values

#define ATT_DATABASE_HASH_LEN   16
 Database hash length. More...
 

GATT Client Supported Features

Flags of features supported by the GATT Client

#define ATTS_CSF_ROBUST_CACHING   (1<<0)
 Robust caching. More...
 
#define ATTS_CSF_EATT_BEARER   (1<<1)
 Enhanced ATT Bearer. More...
 
#define ATTS_CSF_MULTI_VAL_NTF   (1<<2)
 Multiple Handle Value Notifications. More...
 
#define ATTS_CSF_ALL_FEATURES   (0x7)
 Mask of all client supported features. More...
 
#define ATT_CSF_LEN   1
 Length of client supported features array. More...
 

GATT Server Supported Features

Flags of features supported by the GATT Server

#define ATTS_SSF_EATT   (1<<0)
 Enhanced ATT supported. More...
 

ATT Service UUIDs

Defined BLE Service UUID constants.

#define ATT_UUID_GAP_SERVICE   0x1800
 Generic Access Profile Service. More...
 
#define ATT_UUID_GATT_SERVICE   0x1801
 Generic Attribute Profile Service. More...
 
#define ATT_UUID_IMMEDIATE_ALERT_SERVICE   0x1802
 Immediate Alert Service. More...
 
#define ATT_UUID_LINK_LOSS_SERVICE   0x1803
 Link Loss Service. More...
 
#define ATT_UUID_TX_POWER_SERVICE   0x1804
 Tx Power Service. More...
 
#define ATT_UUID_CURRENT_TIME_SERVICE   0x1805
 Current Time Service. More...
 
#define ATT_UUID_REF_TIME_UPDATE_SERVICE   0x1806
 Reference Time Update Service. More...
 
#define ATT_UUID_DST_CHANGE_SERVICE   0x1807
 Next DST Change Service. More...
 
#define ATT_UUID_GLUCOSE_SERVICE   0x1808
 Glucose Service. More...
 
#define ATT_UUID_HEALTH_THERM_SERVICE   0x1809
 Health Thermometer Service. More...
 
#define ATT_UUID_DEVICE_INFO_SERVICE   0x180A
 Device Information Service. More...
 
#define ATT_UUID_NETWORK_AVAIL_SERVICE   0x180B
 Network Availability Service. More...
 
#define ATT_UUID_WATCHDOG_SERVICE   0x180C
 Watchdog Service. More...
 
#define ATT_UUID_HEART_RATE_SERVICE   0x180D
 Heart Rate Service. More...
 
#define ATT_UUID_PHONE_ALERT_SERVICE   0x180E
 Phone Alert Status Service. More...
 
#define ATT_UUID_BATTERY_SERVICE   0x180F
 Battery Service. More...
 
#define ATT_UUID_BLOOD_PRESSURE_SERVICE   0x1810
 Blood Pressure Service. More...
 
#define ATT_UUID_ALERT_NOTIF_SERVICE   0x1811
 Alert Notification Service. More...
 
#define ATT_UUID_HID_SERVICE   0x1812
 Human Interface Device Service. More...
 
#define ATT_UUID_SCAN_PARAM_SERVICE   0x1813
 Scan Parameter Service. More...
 
#define ATT_UUID_RUNNING_SPEED_SERVICE   0x1814
 Running Speed Service. More...
 
#define ATT_UUID_CYCLING_SPEED_SERVICE   0x1816
 Cycling Speed Service. More...
 
#define ATT_UUID_CYCLING_POWER_SERVICE   0x1818
 Cycling Power Service. More...
 
#define ATT_UUID_USER_DATA_SERVICE   0x181C
 User Data Service. More...
 
#define ATT_UUID_WEIGHT_SCALE_SERVICE   0x181D
 Weight Scale Service. More...
 
#define ATT_UUID_IP_SUPPORT_SERVICE   0x1820
 IP Support Service. More...
 
#define ATT_UUID_PULSE_OXIMITER_SERVICE   0x1822
 Pulse Oximeter Service. More...
 
#define ATT_UUID_MESH_PRV_SERVICE   0x1827
 Mesh Provisioning Service. More...
 
#define ATT_UUID_MESH_PROXY_SERVICE   0x1828
 Mesh Proxy Service. More...
 
#define ATT_UUID_CONSTANT_TONE_SERVICE   0x7F7F
 Constant Tone Extension. More...
 

GATT UUIDs

BLE Defined UUIDs of GATT Service components

#define ATT_UUID_PRIMARY_SERVICE   0x2800
 Primary Service. More...
 
#define ATT_UUID_SECONDARY_SERVICE   0x2801
 Secondary Service. More...
 
#define ATT_UUID_INCLUDE   0x2802
 Include. More...
 
#define ATT_UUID_CHARACTERISTIC   0x2803
 Characteristic. More...
 

GATT Characteristic Descriptor UUIDs

BLE Defined UUIDs of Characteristic Descriptors

#define ATT_UUID_CHARACTERISTIC_EXT   0x2900
 Characteristic Extended Properties. More...
 
#define ATT_UUID_CHAR_USER_DESC   0x2901
 Characteristic User Description. More...
 
#define ATT_UUID_CLIENT_CHAR_CONFIG   0x2902
 Client Characteristic Configuration. More...
 
#define ATT_UUID_SERVER_CHAR_CONFIG   0x2903
 Server Characteristic Configuration. More...
 
#define ATT_UUID_CHAR_PRES_FORMAT   0x2904
 Characteristic Presentation Format. More...
 
#define ATT_UUID_AGGREGATE_FORMAT   0x2905
 Characteristic Aggregate Format. More...
 
#define ATT_UUID_VALID_RANGE   0x2906
 Valid Range. More...
 
#define ATT_UUID_HID_EXT_REPORT_MAPPING   0x2907
 HID External Report ID Mapping. More...
 
#define ATT_UUID_HID_REPORT_ID_MAPPING   0x2908
 HID Report ID Mapping. More...
 

GATT Characistic UUIDs

BLE Defined UUIDs of Characeristics

#define ATT_UUID_DEVICE_NAME   0x2A00
 Device Name. More...
 
#define ATT_UUID_APPEARANCE   0x2A01
 Appearance. More...
 
#define ATT_UUID_PERIPH_PRIVACY_FLAG   0x2A02
 Peripheral Privacy Flag. More...
 
#define ATT_UUID_RECONN_ADDR   0x2A03
 Reconnection Address. More...
 
#define ATT_UUID_PREF_CONN_PARAM   0x2A04
 Peripheral Preferred Connection Parameters. More...
 
#define ATT_UUID_SERVICE_CHANGED   0x2A05
 Service Changed. More...
 
#define ATT_UUID_ALERT_LEVEL   0x2A06
 Alert Level. More...
 
#define ATT_UUID_TX_POWER_LEVEL   0x2A07
 Tx Power Level. More...
 
#define ATT_UUID_DATE_TIME   0x2A08
 Date Time. More...
 
#define ATT_UUID_DAY_OF_WEEK   0x2A09
 Day of Week. More...
 
#define ATT_UUID_DAY_DATE_TIME   0x2A0A
 Day Date Time. More...
 
#define ATT_UUID_EXACT_TIME_100   0x2A0B
 Exact Time 100. More...
 
#define ATT_UUID_EXACT_TIME_256   0x2A0C
 Exact Time 256. More...
 
#define ATT_UUID_DST_OFFSET   0x2A0D
 DST Offset. More...
 
#define ATT_UUID_TIME_ZONE   0x2A0E
 Time Zone. More...
 
#define ATT_UUID_LOCAL_TIME_INFO   0x2A0F
 Local Time Information. More...
 
#define ATT_UUID_SECONDARY_TIME_ZONE   0x2A10
 Secondary Time Zone. More...
 
#define ATT_UUID_TIME_WITH_DST   0x2A11
 Time with DST. More...
 
#define ATT_UUID_TIME_ACCURACY   0x2A12
 Time Accuracy. More...
 
#define ATT_UUID_TIME_SOURCE   0x2A13
 Time Source. More...
 
#define ATT_UUID_REFERENCE_TIME_INFO   0x2A14
 Reference Time Information. More...
 
#define ATT_UUID_TIME_BROADCAST   0x2A15
 Time Broadcast. More...
 
#define ATT_UUID_TIME_UPDATE_CP   0x2A16
 Time Update Control Point. More...
 
#define ATT_UUID_TIME_UPDATE_STATE   0x2A17
 Time Update State. More...
 
#define ATT_UUID_GLUCOSE_MEAS   0x2A18
 Glucose Measurement. More...
 
#define ATT_UUID_BATTERY_LEVEL   0x2A19
 Battery Level. More...
 
#define ATT_UUID_BATTERY_POWER_STATE   0x2A1A
 Battery Power State. More...
 
#define ATT_UUID_BATTERY_LEVEL_STATE   0x2A1B
 Battery Level State. More...
 
#define ATT_UUID_TEMP_MEAS   0x2A1C
 Temperature Measurement. More...
 
#define ATT_UUID_TEMP_TYPE   0x2A1D
 Temperature Type. More...
 
#define ATT_UUID_INTERMEDIATE_TEMP   0x2A1E
 Intermediate Temperature. More...
 
#define ATT_UUID_TEMP_C   0x2A1F
 Temperature Celsius. More...
 
#define ATT_UUID_TEMP_F   0x2A20
 Temperature Fahrenheit. More...
 
#define ATT_UUID_MEAS_INTERVAL   0x2A21
 Measurement Interval. More...
 
#define ATT_UUID_HID_BOOT_KEYBOARD_IN   0x2A22
 HID Boot Keyboard In. More...
 
#define ATT_UUID_SYSTEM_ID   0x2A23
 System ID. More...
 
#define ATT_UUID_MODEL_NUMBER   0x2A24
 Model Number String. More...
 
#define ATT_UUID_SERIAL_NUMBER   0x2A25
 Serial Number String. More...
 
#define ATT_UUID_FIRMWARE_REV   0x2A26
 Firmware Revision String. More...
 
#define ATT_UUID_HARDWARE_REV   0x2A27
 Hardware Revision String. More...
 
#define ATT_UUID_SOFTWARE_REV   0x2A28
 Software Revision String. More...
 
#define ATT_UUID_MANUFACTURER_NAME   0x2A29
 Manufacturer Name String. More...
 
#define ATT_UUID_11073_CERT_DATA   0x2A2A
 IEEE 11073-20601 Regulatory Certification Data List. More...
 
#define ATT_UUID_CURRENT_TIME   0x2A2B
 Current Time. More...
 
#define ATT_UUID_ELEVATION   0x2A2C
 Elevation. More...
 
#define ATT_UUID_LATITUDE   0x2A2D
 Latitude. More...
 
#define ATT_UUID_LONGITUDE   0x2A2E
 Longitude. More...
 
#define ATT_UUID_POSITION_2D   0x2A2F
 Position 2D. More...
 
#define ATT_UUID_POSITION_3D   0x2A30
 Position 3D. More...
 
#define ATT_UUID_VENDOR_ID   0x2A31
 Vendor ID. More...
 
#define ATT_UUID_HID_BOOT_KEYBOARD_OUT   0x2A32
 HID Boot Keyboard Out. More...
 
#define ATT_UUID_HID_BOOT_MOUSE_IN   0x2A33
 HID Boot Mouse In. More...
 
#define ATT_UUID_GLUCOSE_MEAS_CONTEXT   0x2A34
 Glucose Measurement Context. More...
 
#define ATT_UUID_BP_MEAS   0x2A35
 Blood Pressure Measurement. More...
 
#define ATT_UUID_INTERMEDIATE_BP   0x2A36
 Intermediate Cuff Pressure. More...
 
#define ATT_UUID_HR_MEAS   0x2A37
 Heart Rate Measurement. More...
 
#define ATT_UUID_HR_SENSOR_LOC   0x2A38
 Body Sensor Location. More...
 
#define ATT_UUID_HR_CP   0x2A39
 Heart Rate Control Point. More...
 
#define ATT_UUID_REMOVABLE   0x2A3A
 Removable. More...
 
#define ATT_UUID_SERVICE_REQ   0x2A3B
 Service Required. More...
 
#define ATT_UUID_SCI_TEMP_C   0x2A3C
 Scientific Temperature in Celsius. More...
 
#define ATT_UUID_STRING   0x2A3D
 String. More...
 
#define ATT_UUID_NETWORK_AVAIL   0x2A3E
 Network Availability. More...
 
#define ATT_UUID_ALERT_STATUS   0x2A3F
 Alert Status. More...
 
#define ATT_UUID_RINGER_CP   0x2A40
 Ringer Control Point. More...
 
#define ATT_UUID_RINGER_SETTING   0x2A41
 Ringer Setting. More...
 
#define ATT_UUID_ALERT_CAT_ID_MASK   0x2A42
 Alert Category ID Bit Mask. More...
 
#define ATT_UUID_ALERT_CAT_ID   0x2A43
 Alert Category ID. More...
 
#define ATT_UUID_ALERT_NOTIF_CP   0x2A44
 Alert Notification Control Point. More...
 
#define ATT_UUID_UNREAD_ALERT_STATUS   0x2A45
 Unread Alert Status. More...
 
#define ATT_UUID_NEW_ALERT   0x2A46
 New Alert. More...
 
#define ATT_UUID_SUP_NEW_ALERT_CAT   0x2A47
 Supported New Alert Category. More...
 
#define ATT_UUID_SUP_UNREAD_ALERT_CAT   0x2A48
 Supported Unread Alert Category. More...
 
#define ATT_UUID_BP_FEATURE   0x2A49
 Blood Pressure Feature. More...
 
#define ATT_UUID_HID_INFORMATION   0x2A4A
 HID Information. More...
 
#define ATT_UUID_HID_REPORT_MAP   0x2A4B
 HID Report Map. More...
 
#define ATT_UUID_HID_CONTROL_POINT   0x2A4C
 HID Control Point. More...
 
#define ATT_UUID_HID_REPORT   0x2A4D
 HID Report. More...
 
#define ATT_UUID_HID_PROTOCOL_MODE   0x2A4E
 HID Protocol Mode. More...
 
#define ATT_UUID_SCAN_INT_WIND   0x2A4F
 Scan Interval Window. More...
 
#define ATT_UUID_PNP_ID   0x2A50
 PnP ID. More...
 
#define ATT_UUID_GLUCOSE_FEATURE   0x2A51
 Glucose Feature. More...
 
#define ATT_UUID_RACP   0x2A52
 Record Access Control Point. More...
 
#define ATT_UUID_CAR   0x2AA6
 Central Address Resolution. More...
 
#define ATT_UUID_RUNNING_SPEED_FEATURE   0x2A54
 Running Speed Feature. More...
 
#define ATT_UUID_RUNNING_SPEED_MEASUREMENT   0x2A53
 Running Speed Measurement. More...
 
#define ATT_UUID_PULSE_OX_FEATURES   0x2A60
 Pulse Oximeter Features. More...
 
#define ATT_UUID_PULSE_OX_SPOT_CHECK   0x2A5E
 Pulse Oximeter Features. More...
 
#define ATT_UUID_PULSE_OX_CONTINUOUS   0x2A5F
 Pulse Oximeter Features. More...
 
#define ATT_UUID_CYCLING_POWER_FEATURE   0x2A65
 Cycling Power Feature. More...
 
#define ATT_UUID_CYCLING_POWER_MEASUREMENT   0x2A63
 Cycling Power Measurement. More...
 
#define ATT_UUID_CYCLING_SPEED_FEATURE   0x2A5C
 Cycling Speed Feature. More...
 
#define ATT_UUID_CYCLING_SPEED_MEASUREMENT   0x2A5B
 Cycling Speed Measurement. More...
 
#define ATT_UUID_SENSOR_LOCATION   0x2A5D
 Sensor Location. More...
 
#define ATT_UUID_DB_CHANGE_INCREMENT   0x2A99
 Database Change Increment. More...
 
#define ATT_UUID_USER_INDEX   0x2A9A
 User Index. More...
 
#define ATT_UUID_WEIGHT_MEAS   0x2A9D
 Weight Measurement. More...
 
#define ATT_UUID_WEIGHT_SCALE_FEATURE   0x2A9E
 Weight Scale Feature. More...
 
#define ATT_UUID_USER_CONTROL_POINT   0x2A9F
 User Control Point. More...
 
#define ATT_UUID_RPAO   0x2AC9
 Resolvable Prviate Address Only. More...
 
#define ATT_UUID_MESH_PRV_DATA_IN   0x2ADB
 Mesh Provisioning Data In. More...
 
#define ATT_UUID_MESH_PRV_DATA_OUT   0x2ADC
 Mesh Provisioning Data Out. More...
 
#define ATT_UUID_MESH_PROXY_DATA_IN   0x2ADD
 Mesh Proxy Data In. More...
 
#define ATT_UUID_MESH_PROXY_DATA_OUT   0x2ADE
 Mesh Proxy Data Out. More...
 
#define ATT_UUID_CLIENT_SUPPORTED_FEATURES   0x2B29
 Client Supported Features. More...
 
#define ATT_UUID_DATABASE_HASH   0x2B2A
 Database Hash. More...
 
#define ATT_UUID_SERVER_SUPPORTED_FEATURES   0x2B3A
 Server Supported Features. More...
 
#define ATT_UUID_CTE_ENABLE   0x7F80
 Constant Tone Extension enable. More...
 
#define ATT_UUID_CTE_MIN_LEN   0x7F81
 Constant Tone Extension minimum length. More...
 
#define ATT_UUID_CTE_TX_CNT   0x7F82
 Constant Tone Extension transmit count. More...
 
#define ATT_UUID_CTE_TX_DURATION   0x7F83
 Constant Tone Extension transmit duration. More...
 
#define ATT_UUID_CTE_INTERVAL   0x7F84
 Constant Tone Extension interval. More...
 
#define ATT_UUID_CTE_PHY   0x7F85
 Constant Tone Extension PHY. More...
 

GATT Unit UUIDs

BLE Defined GATT Unit UUIDs.

#define ATT_UUID_UNITLESS   0x2700
 unitless More...
 
#define ATT_UUID_LENGTH_M   0x2701
 length metre More...
 
#define ATT_UUID_MASS_KG   0x2702
 mass kilogram More...
 
#define ATT_UUID_TIME_SEC   0x2703
 time second More...
 
#define ATT_UUID_ELECTRIC_CURRENT_AMP   0x2704
 electric current ampere More...
 
#define ATT_UUID_THERMO_TEMP_K   0x2705
 thermodynamic temperature kelvin More...
 
#define ATT_UUID_AMOUNT_OF_SUBSTANCE_MOLE   0x2706
 amount of substance mole More...
 
#define ATT_UUID_LUMINOUS_INTENSITY_CAND   0x2707
 luminous intensity candela More...
 
#define ATT_UUID_AREA_SQ_M   0x2710
 area square metres More...
 
#define ATT_UUID_VOLUME_CU_M   0x2711
 volume cubic metres More...
 
#define ATT_UUID_VELOCITY_MPS   0x2712
 velocity metres per second More...
 
#define ATT_UUID_ACCELERATION_MPS_SQ   0x2713
 acceleration metres per second squared More...
 
#define ATT_UUID_WAVENUMBER_RECIPROCAL_M   0x2714
 wavenumber reciprocal metre More...
 
#define ATT_UUID_DENSITY_KG_PER_CU_M   0x2715
 density kilogram per cubic metre More...
 
#define ATT_UUID_SURFACE_DENS_KG_PER_SQ_M   0x2716
 surface density kilogram per square metre More...
 
#define ATT_UUID_SPECIFIC_VOL_CU_M_PER_KG   0x2717
 specific volume cubic metre per kilogram More...
 
#define ATT_UUID_CURRENT_DENS_AMP_PER_SQ_M   0x2718
 current density ampere per square metre More...
 
#define ATT_UUID_MAG_FIELD_STR_AMP_PER_M   0x2719
 magnetic field strength ampere per metre More...
 
#define ATT_UUID_AMOUNT_CONC_MOLE_PER_CU_M   0x271A
 amount concentration mole per cubic metre More...
 
#define ATT_UUID_MASS_CONC_KG_PER_CU_M   0x271B
 mass concentration kilogram per cubic metre More...
 
#define ATT_UUID_LUM_CAND_PER_SQ_M   0x271C
 luminance candela per square metre More...
 
#define ATT_UUID_REFRACTIVE_INDEX   0x271D
 refractive index More...
 
#define ATT_UUID_RELATIVE_PERMEABILITY   0x271E
 relative permeability More...
 
#define ATT_UUID_PLANE_ANGLE_R   0x2720
 plane angle radian More...
 
#define ATT_UUID_SOLID_ANGLE_STER   0x2721
 solid angle steradian More...
 
#define ATT_UUID_FREQUENCY_HERTZ   0x2722
 frequency hertz More...
 
#define ATT_UUID_FORCE_NEWT   0x2723
 force newton More...
 
#define ATT_UUID_PRESSURE_PASCAL   0x2724
 pressure pascal More...
 
#define ATT_UUID_ENERGY_J   0x2725
 energy joule More...
 
#define ATT_UUID_POWER_W   0x2726
 power watt More...
 
#define ATT_UUID_ELECTRIC_CHG_C   0x2727
 electric charge coulomb More...
 
#define ATT_UUID_ELECTRIC_POTENTIAL_VOLT   0x2728
 electric potential difference volt More...
 
#define ATT_UUID_CAPACITANCE_F   0x2729
 capacitance farad More...
 
#define ATT_UUID_ELECTRIC_RESISTANCE_OHM   0x272A
 electric resistance ohm More...
 
#define ATT_UUID_ELECTRIC_COND_SIEMENS   0x272B
 electric conductance siemens More...
 
#define ATT_UUID_MAGNETIC_FLEX_WEBER   0x272C
 magnetic flex weber More...
 
#define ATT_UUID_MAGNETIC_FLEX_DENS_TESLA   0x272D
 magnetic flex density tesla More...
 
#define ATT_UUID_INDUCTANCE_H   0x272E
 inductance henry More...
 
#define ATT_UUID_C_TEMP_DEG_C   0x272F
 Celsius temperature degree Celsius. More...
 
#define ATT_UUID_LUMINOUS_FLUX_LUMEN   0x2730
 luminous flux lumen More...
 
#define ATT_UUID_ILLUMINANCE_LUX   0x2731
 illuminance lux More...
 
#define ATT_UUID_RADIONUCLIDE_BECQUEREL   0x2732
 activity referred to a radionuclide becquerel More...
 
#define ATT_UUID_ABSORBED_DOSE_GRAY   0x2733
 absorbed dose gray More...
 
#define ATT_UUID_DOSE_EQUIVALENT_SIEVERT   0x2734
 dose equivalent sievert More...
 
#define ATT_UUID_CATALYTIC_ACTIVITY_KATAL   0x2735
 catalytic activity katal More...
 
#define ATT_UUID_DYNAMIC_VISC_PASCAL_SEC   0x2740
 dynamic viscosity pascal second More...
 
#define ATT_UUID_MOMENT_OF_FORCE_NEWT_M   0x2741
 moment of force newton metre More...
 
#define ATT_UUID_SURFACE_TENSION_NEWT_PER_M   0x2742
 surface tension newton per metre More...
 
#define ATT_UUID_ANG_VELOCITY_R_PER_SEC   0x2743
 angular velocity radian per second More...
 
#define ATT_UUID_ANG_ACCEL_R_PER_SEC_SQD   0x2744
 angular acceleration radian per second squared More...
 
#define ATT_UUID_HEAT_FLUX_DEN_W_PER_SQ_M   0x2745
 heat flux density watt per square metre More...
 
#define ATT_UUID_HEAT_CAP_J_PER_K   0x2746
 heat capacity joule per kelvin More...
 
#define ATT_UUID_SPEC_HEAT_CAP_J_PER_KG_K   0x2747
 specific heat capacity joule per kilogram kelvin More...
 
#define ATT_UUID_SPEC_ENERGY_J_PER_KG   0x2748
 specific energy joule per kilogram More...
 
#define ATT_UUID_THERMAL_COND_W_PER_M_K   0x2749
 thermal conductivity watt per metre kelvin More...
 
#define ATT_UUID_ENERGY_DENSITY_J_PER_CU_M   0x274A
 energy density joule per cubic metre More...
 
#define ATT_UUID_ELEC_FIELD_STR_VOLT_PER_M   0x274B
 electric field strength volt per metre More...
 
#define ATT_UUID_ELEC_CHG_DENS_C_PER_CU_M   0x274C
 electric charge density coulomb per cubic metre More...
 
#define ATT_UUID_SURF_CHG_DENS_C_PER_SQ_M   0x274D
 surface charge density coulomb per square metre More...
 
#define ATT_UUID_ELEC_FLUX_DENS_C_PER_SQ_M   0x274E
 electric flux density coulomb per square metre More...
 
#define ATT_UUID_PERMITTIVITY_F_PER_M   0x274F
 permittivity farad per metre More...
 
#define ATT_UUID_PERMEABILITY_H_PER_M   0x2750
 permeability henry per metre More...
 
#define ATT_UUID_MOLAR_ENERGY_J_PER_MOLE   0x2751
 molar energy joule per mole More...
 
#define ATT_UUID_MOLAR_ENTROPY_J_PER_MOLE_K   0x2752
 molar entropy joule per mole kelvin More...
 
#define ATT_UUID_EXPOSURE_C_PER_KG   0x2753
 exposure coulomb per kilogram More...
 
#define ATT_UUID_DOSE_RATE_GRAY_PER_SEC   0x2754
 absorbed dose rate gray per second More...
 
#define ATT_UUID_RT_INTENSITY_W_PER_STER   0x2755
 radiant intensity watt per steradian More...
 
#define ATT_UUID_RCE_W_PER_SQ_METER_STER   0x2756
 radiance watt per square meter steradian More...
 
#define ATT_UUID_CATALYTIC_KATAL_PER_CU_M   0x2757
 catalytic activity concentration katal per cubic metre More...
 
#define ATT_UUID_TIME_MIN   0x2760
 time minute More...
 
#define ATT_UUID_TIME_HR   0x2761
 time hour More...
 
#define ATT_UUID_TIME_DAY   0x2762
 time day More...
 
#define ATT_UUID_PLANE_ANGLE_DEG   0x2763
 plane angle degree More...
 
#define ATT_UUID_PLANE_ANGLE_MIN   0x2764
 plane angle minute More...
 
#define ATT_UUID_PLANE_ANGLE_SEC   0x2765
 plane angle second More...
 
#define ATT_UUID_AREA_HECTARE   0x2766
 area hectare More...
 
#define ATT_UUID_VOLUME_L   0x2767
 volume litre More...
 
#define ATT_UUID_MASS_TONNE   0x2768
 mass tonne More...
 
#define ATT_UUID_PRESSURE_BAR   0x2780
 pressure bar More...
 
#define ATT_UUID_PRESSURE_MM   0x2781
 pressure millimetre of mercury More...
 
#define ATT_UUID_LENGTH_ANGSTROM   0x2782
 length angstrom More...
 
#define ATT_UUID_LENGTH_NAUTICAL_MILE   0x2783
 length nautical mile More...
 
#define ATT_UUID_AREA_BARN   0x2784
 area barn More...
 
#define ATT_UUID_VELOCITY_KNOT   0x2785
 velocity knot More...
 
#define ATT_UUID_LOG_RADIO_QUANT_NEPER   0x2786
 logarithmic radio quantity neper More...
 
#define ATT_UUID_LOG_RADIO_QUANT_BEL   0x2787
 logarithmic radio quantity bel More...
 
#define ATT_UUID_LOG_RADIO_QUANT_DB   0x2788
 logarithmic radio quantity decibel More...
 
#define ATT_UUID_LENGTH_YARD   0x27A0
 length yard More...
 
#define ATT_UUID_LENGTH_PARSEC   0x27A1
 length parsec More...
 
#define ATT_UUID_LENGTH_IN   0x27A2
 length inch More...
 
#define ATT_UUID_LENGTH_FOOT   0x27A3
 length foot More...
 
#define ATT_UUID_LENGTH_MILE   0x27A4
 length mile More...
 
#define ATT_UUID_PRESSURE_POUND_PER_SQ_IN   0x27A5
 pressure pound-force per square inch More...
 
#define ATT_UUID_VELOCITY_KPH   0x27A6
 velocity kilometre per hour More...
 
#define ATT_UUID_VELOCITY_MPH   0x27A7
 velocity mile per hour More...
 
#define ATT_UUID_ANG_VELOCITY_RPM   0x27A8
 angular velocity revolution per minute More...
 
#define ATT_UUID_ENERGY_GRAM_CALORIE   0x27A9
 energy gram calorie More...
 
#define ATT_UUID_ENERGY_KG_CALORIE   0x27AA
 energy kilogram calorie More...
 
#define ATT_UUID_ENERGY_KILOWATT_HR   0x27AB
 energy kilowatt hour More...
 
#define ATT_UUID_THERM_TEMP_F   0x27AC
 thermodynamic temperature degree Fahrenheit More...
 
#define ATT_UUID_PERCENTAGE   0x27AD
 percentage More...
 
#define ATT_UUID_PER_MILLE   0x27AE
 per mille More...
 
#define ATT_UUID_PERIOD_BEATS_PER_MIN   0x27AF
 period beats per minute More...
 
#define ATT_UUID_ELECTRIC_CHG_AMP_HRS   0x27B0
 electric charge ampere hours More...
 
#define ATT_UUID_MASS_DENSITY_MG_PER_DL   0x27B1
 mass density milligram per decilitre More...
 
#define ATT_UUID_MASS_DENSITY_MMOLE_PER_L   0x27B2
 mass density millimole per litre More...
 
#define ATT_UUID_TIME_YEAR   0x27B3
 time year More...
 
#define ATT_UUID_TIME_MONTH   0x27B4
 time month More...
 

Arm Ltd. proprietary UUIDs

propertietary services defined by Arm Ltd.

#define ATT_UUID_ARM_BASE
 Base UUID: E0262760-08C2-11E1-9073-0E8AC72EXXXX. More...
 
#define ATT_UUID_ARM_BUILD(part)    UINT16_TO_BYTES(part), ATT_UUID_ARM_BASE
 Macro for building Arm Ltd. UUIDs. More...
 
#define ATT_UUID_P1_SERVICE_PART   0x1001
 Partial proprietary service P1 UUID. More...
 
#define ATT_UUID_D1_DATA_PART   0x0001
 Partial proprietary characteristic data D1 UUID. More...
 
#define ATT_UUID_P1_SERVICE   ATT_UUID_ARM_BUILD(ATT_UUID_P1_SERVICE_PART)
 Proprietary services. More...
 
#define ATT_UUID_D1_DATA   ATT_UUID_ARM_BUILD(ATT_UUID_D1_DATA_PART)
 Proprietary characteristics. More...
 

ATT Service UUID Variables

const uint8_t attGapSvcUuid [2]
 Generic Access Profile Service. More...
 
const uint8_t attGattSvcUuid [2]
 Generic Attribute Profile Service. More...
 
const uint8_t attIasSvcUuid [2]
 Immediate Alert Service. More...
 
const uint8_t attLlsSvcUuid [2]
 Link Loss Service. More...
 
const uint8_t attTpsSvcUuid [2]
 Tx Power Service. More...
 
const uint8_t attCtsSvcUuid [2]
 Current Time Service. More...
 
const uint8_t attRtusSvcUuid [2]
 Reference Time Update Service. More...
 
const uint8_t attNdcsSvcUuid [2]
 Next DST Change Service. More...
 
const uint8_t attGlsSvcUuid [2]
 Glucose Service. More...
 
const uint8_t attHtsSvcUuid [2]
 Health Thermometer Service. More...
 
const uint8_t attDisSvcUuid [2]
 Device Information Service. More...
 
const uint8_t attNwaSvcUuid [2]
 Network Availability Service. More...
 
const uint8_t attWdsSvcUuid [2]
 Watchdog Service. More...
 
const uint8_t attHrsSvcUuid [2]
 Heart Rate Service. More...
 
const uint8_t attPassSvcUuid [2]
 Phone Alert Status Service. More...
 
const uint8_t attBasSvcUuid [2]
 Battery Service. More...
 
const uint8_t attBpsSvcUuid [2]
 Blood Pressure Service. More...
 
const uint8_t attAnsSvcUuid [2]
 Alert Notification Service. More...
 
const uint8_t attHidSvcUuid [2]
 Human Interface Device Service. More...
 
const uint8_t attSpsSvcUuid [2]
 Scan Parameter Service. More...
 
const uint8_t attPlxsSvcUuid [2]
 Pulse Oximeter Service. More...
 
const uint8_t attUdsSvcUuid [2]
 User Data Service. More...
 
const uint8_t attMprvSvcUuid [2]
 Mesh Provisioning Service. More...
 
const uint8_t attMprxSvcUuid [2]
 Mesh Proxy Service. More...
 
const uint8_t attWssSvcUuid [2]
 Weight scale service. More...
 
const uint8_t attCteSvcUuid [2]
 Constant Tone Extension service. More...
 

GATT UUID Variables

const uint8_t attPrimSvcUuid [2]
 Primary Service. More...
 
const uint8_t attSecSvcUuid [2]
 Secondary Service. More...
 
const uint8_t attIncUuid [2]
 Include. More...
 
const uint8_t attChUuid [2]
 Characteristic. More...
 

GATT Characteristic Descriptor UUID Variables

const uint8_t attChExtUuid [2]
 Characteristic Extended Properties. More...
 
const uint8_t attChUserDescUuid [2]
 Characteristic User Description. More...
 
const uint8_t attCliChCfgUuid [2]
 Client Characteristic Configuration. More...
 
const uint8_t attSrvChCfgUuid [2]
 Server Characteristic Configuration. More...
 
const uint8_t attChPresFmtUuid [2]
 Characteristic Presentation Format. More...
 
const uint8_t attAggFmtUuid [2]
 Characteristic Aggregate Format. More...
 
const uint8_t attHidErmUuid [2]
 HID External Report Reference. More...
 
const uint8_t attHidRimUuid [2]
 HID Report ID Mapping. More...
 
const uint8_t attValRangeUuid [2]
 Valid Range. More...
 

GATT Characteristic UUID Variables

const uint8_t attDnChUuid [2]
 Device Name. More...
 
const uint8_t attApChUuid [2]
 Appearance. More...
 
const uint8_t attPpfChUuid [2]
 Peripheral Privacy Flag. More...
 
const uint8_t attRaChUuid [2]
 Reconnection Address. More...
 
const uint8_t attPpcpChUuid [2]
 Peripheral Preferred Connection Parameters. More...
 
const uint8_t attScChUuid [2]
 Service Changed. More...
 
const uint8_t attAlChUuid [2]
 Alert Level. More...
 
const uint8_t attTxpChUuid [2]
 Tx Power Level. More...
 
const uint8_t attDtChUuid [2]
 Date Time. More...
 
const uint8_t attDwChUuid [2]
 Day of Week. More...
 
const uint8_t attDdtChUuid [2]
 Day Date Time. More...
 
const uint8_t attEt100ChUuid [2]
 Exact Time 100. More...
 
const uint8_t attEt256ChUuid [2]
 Exact Time 256. More...
 
const uint8_t attDstoChUuid [2]
 DST Offset. More...
 
const uint8_t attTzChUuid [2]
 Time Zone. More...
 
const uint8_t attLtiChUuid [2]
 Local Time Information. More...
 
const uint8_t attStzChUuid [2]
 Secondary Time Zone. More...
 
const uint8_t attTdstChUuid [2]
 Time with DST. More...
 
const uint8_t attTaChUuid [2]
 Time Accuracy. More...
 
const uint8_t attTsChUuid [2]
 Time Source. More...
 
const uint8_t attRtiChUuid [2]
 Reference Time Information. More...
 
const uint8_t attTbChUuid [2]
 Time Broadcast. More...
 
const uint8_t attTucpChUuid [2]
 Time Update Control Point. More...
 
const uint8_t attTusChUuid [2]
 Time Update State. More...
 
const uint8_t attGlmChUuid [2]
 Glucose Measurement. More...
 
const uint8_t attBlChUuid [2]
 Battery Level. More...
 
const uint8_t attBpsChUuid [2]
 Battery Power State. More...
 
const uint8_t attBlsChUuid [2]
 Battery Level State. More...
 
const uint8_t attTmChUuid [2]
 Temperature Measurement. More...
 
const uint8_t attTtChUuid [2]
 Temperature Type. More...
 
const uint8_t attItChUuid [2]
 Intermediate Temperature. More...
 
const uint8_t attTcelChUuid [2]
 Temperature Celsius. More...
 
const uint8_t attTfahChUuid [2]
 Temperature Fahrenheit. More...
 
const uint8_t attSidChUuid [2]
 System ID. More...
 
const uint8_t attMnsChUuid [2]
 Model Number String. More...
 
const uint8_t attSnsChUuid [2]
 Serial Number String. More...
 
const uint8_t attFrsChUuid [2]
 Firmware Revision String. More...
 
const uint8_t attHrsChUuid [2]
 Hardware Revision String. More...
 
const uint8_t attSrsChUuid [2]
 Software Revision String. More...
 
const uint8_t attMfnsChUuid [2]
 Manufacturer Name String. More...
 
const uint8_t attIeeeChUuid [2]
 IEEE 11073-20601 Regulatory Certification Data List. More...
 
const uint8_t attCtChUuid [2]
 Current Time. More...
 
const uint8_t attElChUuid [2]
 Elevation. More...
 
const uint8_t attLatChUuid [2]
 Latitude. More...
 
const uint8_t attLongChUuid [2]
 Longitude. More...
 
const uint8_t attP2dChUuid [2]
 Position 2D. More...
 
const uint8_t attP3dChUuid [2]
 Position 3D. More...
 
const uint8_t attVidChUuid [2]
 Vendor ID. More...
 
const uint8_t attGlmcChUuid [2]
 Glucose Measurement Context. More...
 
const uint8_t attBpmChUuid [2]
 Blood Pressure Measurement. More...
 
const uint8_t attIcpChUuid [2]
 Intermediate Cuff Pressure. More...
 
const uint8_t attHrmChUuid [2]
 Heart Rate Measurement. More...
 
const uint8_t attBslChUuid [2]
 Body Sensor Location. More...
 
const uint8_t attHrcpChUuid [2]
 Heart Rate Control Point. More...
 
const uint8_t attRemChUuid [2]
 Removable. More...
 
const uint8_t attSrChUuid [2]
 Service Required. More...
 
const uint8_t attStcChUuid [2]
 Scientific Temperature in Celsius. More...
 
const uint8_t attStrChUuid [2]
 String. More...
 
const uint8_t attNwaChUuid [2]
 Network Availability. More...
 
const uint8_t attAsChUuid [2]
 Alert Status. More...
 
const uint8_t attRcpChUuid [2]
 Ringer Control Point. More...
 
const uint8_t attRsChUuid [2]
 Ringer Setting. More...
 
const uint8_t attAcbmChUuid [2]
 Alert Category ID Bit Mask. More...
 
const uint8_t attAcChUuid [2]
 Alert Category ID. More...
 
const uint8_t attAncpChUuid [2]
 Alert Notification Control Point. More...
 
const uint8_t attUasChUuid [2]
 Unread Alert Status. More...
 
const uint8_t attNaChUuid [2]
 New Alert. More...
 
const uint8_t attSnacChUuid [2]
 Supported New Alert Category. More...
 
const uint8_t attSuacChUuid [2]
 Supported Unread Alert Category. More...
 
const uint8_t attBpfChUuid [2]
 Blood Pressure Feature. More...
 
const uint8_t attHidBmiChUuid [2]
 HID Information. More...
 
const uint8_t attHidBkiChUuid [2]
 HID Information. More...
 
const uint8_t attHidBkoChUuid [2]
 HID Information. More...
 
const uint8_t attHidiChUuid [2]
 HID Information. More...
 
const uint8_t attHidRmChUuid [2]
 Report Map. More...
 
const uint8_t attHidcpChUuid [2]
 HID Control Point. More...
 
const uint8_t attHidRepChUuid [2]
 Report. More...
 
const uint8_t attHidPmChUuid [2]
 Protocol Mode. More...
 
const uint8_t attSiwChUuid [2]
 Scan Interval Window. More...
 
const uint8_t attPnpChUuid [2]
 PnP ID. More...
 
const uint8_t attGlfChUuid [2]
 Glucose Feature. More...
 
const uint8_t attRacpChUuid [2]
 Record Access Control Point. More...
 
const uint8_t attCarChUuid [2]
 Central Address Resolution. More...
 
const uint8_t attRsfChUuid [2]
 Running Speed Features. More...
 
const uint8_t attRsmChUuid [2]
 Running Speed Measurement. More...
 
const uint8_t attCpfChUuid [2]
 Cycling Power Features. More...
 
const uint8_t attCpmChUuid [2]
 Cycling Power Measurement. More...
 
const uint8_t attCsfChUuid [2]
 Cycling Speed Features. More...
 
const uint8_t attCsmChUuid [2]
 Cycling Speed Measurement. More...
 
const uint8_t attSlChUuid [2]
 Sensor Location. More...
 
const uint8_t attPlxfChUuid [2]
 Pulse Oximeter Features. More...
 
const uint8_t attPlxscmChUuid [2]
 Pulse Oximeter Spot Check Measurement. More...
 
const uint8_t attPlxcmChUuid [2]
 Pulse Oximeter Continuous Measurement. More...
 
const uint8_t attRpaoChUuid [2]
 Resolvable Private Address Only. More...
 
const uint8_t attDbciChUuid [2]
 Database Change Increment. More...
 
const uint8_t attUiChUuid [2]
 User Index. More...
 
const uint8_t attUcpChUuid [2]
 User Control Point. More...
 
const uint8_t attMprvDinChUuid [2]
 Mesh Provisioning Data In. More...
 
const uint8_t attMprvDoutChUuid [2]
 Mesh Provisioning Data Out. More...
 
const uint8_t attMprxDinChUuid [2]
 Mesh Proxy Data In. More...
 
const uint8_t attMprxDoutChUuid [2]
 Mesh Proxy Data Out. More...
 
const uint8_t attWmChUuid [2]
 Weight measurement. More...
 
const uint8_t attWsfChUuid [2]
 Weight scale feature. More...
 
const uint8_t attGattCsfChUuid [2]
 Client supported features. More...
 
const uint8_t attGattDbhChUuid [2]
 Database hash. More...
 
const uint8_t attCteEnChUuid [2]
 Constant Tone Extension enable. More...
 
const uint8_t attCteMinLenChUuid [2]
 Constant Tone Extension minimum length. More...
 
const uint8_t attCteTxCntChUuid [2]
 Constant Tone Extension minimum transmit count. More...
 
const uint8_t attCteTxDurChUuid [2]
 Constant Tone Extension transmit duration. More...
 
const uint8_t attCteIntChUuid [2]
 Constant Tone Extension interval. More...
 
const uint8_t attCtePhyChUuid [2]
 Constant Tone Extension PHY. More...
 
const uint8_t attSsfChUuid [2]
 Server supported features. More...
 

EATT Role

EATT role can be initiator or acceptor.

#define EATT_ROLE_INITIATOR   L2C_COC_ROLE_INITIATOR
 
#define EATT_ROLE_ACCEPTOR   L2C_COC_ROLE_ACCEPTOR
 

EATT Functions

void EattEstablishChannels (dmConnId_t connId)
 Begin requesting EATT L2CAP coc channels. More...
 
uint8_t EattGetNumChannelsInUse (dmConnId_t connId)
 Returns the number of open EATT channels on a given connection. More...
 
void EattInit (uint8_t roleBits)
 Initialize the Enhanced ATT subsystem. More...
 

Detailed Description

Macro Definition Documentation

#define ATT_128_UUID_LEN   16

Length in bytes of a 128 bit UUID.

Definition at line 248 of file att_defs.h.

#define ATT_16_UUID_LEN   2

Length in bytes of a 16 bit UUID.

Definition at line 247 of file att_defs.h.

#define ATT_AUTH_SIG_LEN   12

Authentication signature length.

Definition at line 43 of file att_defs.h.

#define ATT_CBACK_END   ATT_EATT_RECONFIG_CMPL_IND

ATT callback events.

ATT callback event ending value

Definition at line 130 of file att_api.h.

#define ATT_CBACK_START   0x02

ATT callback event starting value.

Definition at line 98 of file att_api.h.

#define ATT_CLIENT_CFG_INDICATE   0x0002

Indicate the value.

Definition at line 278 of file att_defs.h.

#define ATT_CLIENT_CFG_NOTIFY   0x0001

Notify the value.

Definition at line 277 of file att_defs.h.

#define ATT_CONTINUING   0x79

Procedure continuing.

Definition at line 107 of file att_defs.h.

#define ATT_CSF_LEN   1

Length of client supported features array.

Definition at line 338 of file att_defs.h.

#define ATT_DATABASE_HASH_LEN   16

Database hash length.

Definition at line 325 of file att_defs.h.

#define ATT_DEFAULT_MTU   23

Default value of ATT_MTU.

Definition at line 44 of file att_defs.h.

#define ATT_DEFAULT_PAYLOAD_LEN   20

Default maximum payload length for most PDUs.

Definition at line 46 of file att_defs.h.

#define ATT_ERR_AUTH   0x05

Insufficient authentication.

Definition at line 73 of file att_defs.h.

#define ATT_ERR_AUTHOR   0x08

Insufficient authorization.

Definition at line 76 of file att_defs.h.

#define ATT_ERR_CANCELLED   0x74

Request cancelled.

Definition at line 102 of file att_defs.h.

#define ATT_ERR_CCCD   0xFD

CCCD improperly configured.

Definition at line 89 of file att_defs.h.

#define ATT_ERR_DATABASE_OUT_OF_SYNC   0x12

Client out of synch with database.

Definition at line 86 of file att_defs.h.

#define ATT_ERR_ENC   0x0F

Insufficient encryption.

Definition at line 83 of file att_defs.h.

#define ATT_ERR_GROUP_TYPE   0x10

Unsupported group type.

Definition at line 84 of file att_defs.h.

#define ATT_ERR_HANDLE   0x01

Invalid handle.

Definition at line 69 of file att_defs.h.

#define ATT_ERR_IN_PROGRESS   0xFE

Procedure already in progress.

Definition at line 90 of file att_defs.h.

#define ATT_ERR_INVALID_CHANGE_CTR   0x80

Invalid change counter.

Definition at line 116 of file att_defs.h.

#define ATT_ERR_INVALID_PDU   0x04

Invalid pdu.

Definition at line 72 of file att_defs.h.

#define ATT_ERR_INVALID_RSP   0x73

Invalid response PDU.

Definition at line 101 of file att_defs.h.

#define ATT_ERR_KEY_SIZE   0x0C

Insufficient encryption key size.

Definition at line 80 of file att_defs.h.

#define ATT_ERR_LENGTH   0x0D

Invalid attribute value length.

Definition at line 81 of file att_defs.h.

#define ATT_ERR_MEMORY   0x70

Out of memory.

Definition at line 98 of file att_defs.h.

#define ATT_ERR_MTU_EXCEEDED   0x77

Attribute PDU length exceeded MTU size.

Definition at line 105 of file att_defs.h.

#define ATT_ERR_MUTE_DISABLE   0x82

Mute disable.

Definition at line 118 of file att_defs.h.

#define ATT_ERR_NO_CHANNEL   0x78

No enhanced channel available.

Definition at line 106 of file att_defs.h.

#define ATT_ERR_NOT_FOUND   0x0A

Attribute not found.

Definition at line 78 of file att_defs.h.

#define ATT_ERR_NOT_LONG   0x0B

Attribute not long.

Definition at line 79 of file att_defs.h.

#define ATT_ERR_NOT_SUP   0x06

Request not supported.

Definition at line 74 of file att_defs.h.

#define ATT_ERR_OFFSET   0x07

Invalid offset.

Definition at line 75 of file att_defs.h.

#define ATT_ERR_OPCODE_NOT_SUPPORTED   0x81

Opcode out of range.

Definition at line 117 of file att_defs.h.

#define ATT_ERR_OVERFLOW   0x72

Transaction overflow.

Definition at line 100 of file att_defs.h.

#define ATT_ERR_QUEUE_FULL   0x09

Prepare queue full.

Definition at line 77 of file att_defs.h.

#define ATT_ERR_RANGE   0xFF

Value out of range.

Definition at line 91 of file att_defs.h.

#define ATT_ERR_READ   0x02

Read not permitted.

Definition at line 70 of file att_defs.h.

#define ATT_ERR_REQ_NOT_FOUND   0x76

Required characteristic not found.

Definition at line 104 of file att_defs.h.

#define ATT_ERR_RESOURCES   0x11

Insufficient resources.

Definition at line 85 of file att_defs.h.

#define ATT_ERR_RSP_LEN   5

Error response length.

Definition at line 175 of file att_defs.h.

#define ATT_ERR_TIMEOUT   0x71

Transaction timeout.

Definition at line 99 of file att_defs.h.

#define ATT_ERR_UNDEFINED   0x75

Other undefined error.

Definition at line 103 of file att_defs.h.

#define ATT_ERR_UNLIKELY   0x0E

Other unlikely error.

Definition at line 82 of file att_defs.h.

#define ATT_ERR_VALUE_NOT_ALLOWED   0x13

Value not allowed.

Definition at line 87 of file att_defs.h.

#define ATT_ERR_VALUE_RANGE   0x80

Value out of range.

Definition at line 115 of file att_defs.h.

#define ATT_ERR_VALUE_RANGE_x83   0x83

Value out of range 0x83.

Definition at line 119 of file att_defs.h.

#define ATT_ERR_WRITE   0x03

Write not permitted.

Definition at line 71 of file att_defs.h.

#define ATT_ERR_WRITE_REJ   0xFC

Write request rejected.

Definition at line 88 of file att_defs.h.

#define ATT_EXEC_WRITE_ALL   0x01

Write all pending prepared writes.

Definition at line 221 of file att_defs.h.

#define ATT_EXEC_WRITE_CANCEL   0x00

Cancel all prepared writes.

Definition at line 220 of file att_defs.h.

#define ATT_EXEC_WRITE_REQ_LEN   2

Execute write request length.

Definition at line 198 of file att_defs.h.

#define ATT_EXEC_WRITE_RSP_LEN   1

Execute write response length.

Definition at line 199 of file att_defs.h.

#define ATT_EXT_PROP_RELIABLE_WRITE   0x0001

Permit reliable writes.

Definition at line 269 of file att_defs.h.

#define ATT_EXT_PROP_WRITEABLE_AUX   0x0002

Permit write to characteristic descriptor.

Definition at line 270 of file att_defs.h.

#define ATT_FIND_HANDLE_128_UUID   0x02

Handle and 128 bit UUID.

Definition at line 213 of file att_defs.h.

#define ATT_FIND_HANDLE_16_UUID   0x01

Handle and 16 bit UUID.

Definition at line 212 of file att_defs.h.

#define ATT_FIND_INFO_REQ_LEN   5

Find information request length.

Definition at line 178 of file att_defs.h.

#define ATT_FIND_INFO_RSP_LEN   2

Find information response length.

Definition at line 179 of file att_defs.h.

#define ATT_FIND_TYPE_REQ_LEN   7

Find type request length.

Definition at line 180 of file att_defs.h.

#define ATT_FIND_TYPE_RSP_LEN   1

Find type response length.

Definition at line 181 of file att_defs.h.

#define ATT_FORMAT_2BIT   0x02

Unsigned 2 bit integer.

Definition at line 293 of file att_defs.h.

#define ATT_FORMAT_BOOLEAN   0x01

Boolean.

Definition at line 292 of file att_defs.h.

#define ATT_FORMAT_DUINT16   0x18

IEEE-20601 format.

Definition at line 315 of file att_defs.h.

#define ATT_FORMAT_FLOAT   0x17

IEEE-11073 32 bit FLOAT.

Definition at line 314 of file att_defs.h.

#define ATT_FORMAT_FLOAT32   0x14

IEEE-754 32 bit floating point.

Definition at line 311 of file att_defs.h.

#define ATT_FORMAT_FLOAT64   0x15

IEEE-754 64 bit floating point.

Definition at line 312 of file att_defs.h.

#define ATT_FORMAT_NIBBLE   0x03

Unsigned 4 bit integer.

Definition at line 294 of file att_defs.h.

#define ATT_FORMAT_SFLOAT   0x16

IEEE-11073 16 bit SFLOAT.

Definition at line 313 of file att_defs.h.

#define ATT_FORMAT_SINT12   0x0D

Signed 12 bit integer.

Definition at line 304 of file att_defs.h.

#define ATT_FORMAT_SINT128   0x13

Signed 128 bit integer.

Definition at line 310 of file att_defs.h.

#define ATT_FORMAT_SINT16   0x0E

Signed 16 bit integer.

Definition at line 305 of file att_defs.h.

#define ATT_FORMAT_SINT24   0x0F

Signed 24 bit integer.

Definition at line 306 of file att_defs.h.

#define ATT_FORMAT_SINT32   0x10

Signed 32 bit integer.

Definition at line 307 of file att_defs.h.

#define ATT_FORMAT_SINT48   0x11

Signed 48 bit integer.

Definition at line 308 of file att_defs.h.

#define ATT_FORMAT_SINT64   0x12

Signed 64 bit integer.

Definition at line 309 of file att_defs.h.

#define ATT_FORMAT_SINT8   0x0C

Signed 8 bit integer.

Definition at line 303 of file att_defs.h.

#define ATT_FORMAT_STRUCT   0x1B

Opaque structure.

Definition at line 318 of file att_defs.h.

#define ATT_FORMAT_UINT12   0x05

Unsigned 12 bit integer.

Definition at line 296 of file att_defs.h.

#define ATT_FORMAT_UINT128   0x0B

Unsigned 128 bit integer.

Definition at line 302 of file att_defs.h.

#define ATT_FORMAT_UINT16   0x06

Unsigned 16 bit integer.

Definition at line 297 of file att_defs.h.

#define ATT_FORMAT_UINT24   0x07

Unsigned 24 bit integer.

Definition at line 298 of file att_defs.h.

#define ATT_FORMAT_UINT32   0x08

Unsigned 32 bit integer.

Definition at line 299 of file att_defs.h.

#define ATT_FORMAT_UINT48   0x09

Unsigned 48 bit integer.

Definition at line 300 of file att_defs.h.

#define ATT_FORMAT_UINT64   0x0A

Unsigned 64 bit integer.

Definition at line 301 of file att_defs.h.

#define ATT_FORMAT_UINT8   0x04

Unsigned 8 bit integer.

Definition at line 295 of file att_defs.h.

#define ATT_FORMAT_UTF16   0x1A

UTF-16 string.

Definition at line 317 of file att_defs.h.

#define ATT_FORMAT_UTF8   0x19

UTF-8 string.

Definition at line 316 of file att_defs.h.

#define ATT_HANDLE_MAX   0xFFFF

Handle max.

Definition at line 239 of file att_defs.h.

#define ATT_HANDLE_NONE   0x0000

Handle none.

Definition at line 237 of file att_defs.h.

#define ATT_HANDLE_START   0x0001

Handle start.

Definition at line 238 of file att_defs.h.

#define ATT_HCI_ERR_BASE   0x20

Base value for HCI error status values passed through ATT. Since the values of HCI and ATT error codes overlap, the constant ATT_HCI_ERR_BASE is added to HCI error codes before being passed through ATT. See HCI_SUCCESS for HCI error code values.

Definition at line 131 of file att_defs.h.

#define ATT_HDR_LEN   1

Attribute PDU header length.

Definition at line 42 of file att_defs.h.

#define ATT_MAX_MTU   517

Maximum value of ATT_MTU.

Definition at line 45 of file att_defs.h.

#define ATT_MAX_TRANS_TIMEOUT   30

Maximum transaction timeout in seconds.

Definition at line 61 of file att_defs.h.

#define ATT_MTU_REQ_LEN   3

MTU request length.

Definition at line 176 of file att_defs.h.

#define ATT_MTU_RSP_LEN   3

MTU response length.

Definition at line 177 of file att_defs.h.

#define ATT_NO_UUID_LEN   0

Length when no UUID is present ;-)

Definition at line 246 of file att_defs.h.

#define ATT_PDU_ERR_RSP   0x01

Error response.

Definition at line 138 of file att_defs.h.

#define ATT_PDU_EXEC_WRITE_REQ   0x18

Execute write request.

Definition at line 161 of file att_defs.h.

#define ATT_PDU_EXEC_WRITE_RSP   0x19

Execute write response.

Definition at line 162 of file att_defs.h.

#define ATT_PDU_FIND_INFO_REQ   0x04

Find information request.

Definition at line 141 of file att_defs.h.

#define ATT_PDU_FIND_INFO_RSP   0x05

Find information response.

Definition at line 142 of file att_defs.h.

#define ATT_PDU_FIND_TYPE_REQ   0x06

Find by type value request.

Definition at line 143 of file att_defs.h.

#define ATT_PDU_FIND_TYPE_RSP   0x07

Find by type value response.

Definition at line 144 of file att_defs.h.

#define ATT_PDU_MASK_COMMAND   0x40

Command bit mask.

Definition at line 229 of file att_defs.h.

#define ATT_PDU_MASK_SERVER   0x01

Server bit mask.

Definition at line 228 of file att_defs.h.

#define ATT_PDU_MASK_SIGNED   0x80

Auth signature bit mask.

Definition at line 230 of file att_defs.h.

#define ATT_PDU_MTU_REQ   0x02

Exchange mtu request.

Definition at line 139 of file att_defs.h.

#define ATT_PDU_MTU_RSP   0x03

Exchange mtu response.

Definition at line 140 of file att_defs.h.

#define ATT_PDU_MULT_VALUE_NTF   0x23

Handle value multiple notification.

Definition at line 168 of file att_defs.h.

#define ATT_PDU_MULT_VALUE_NTF_LEN   1

Base multiple variable notification length.

Definition at line 205 of file att_defs.h.

#define ATT_PDU_PREP_WRITE_REQ   0x16

Prepare write request.

Definition at line 159 of file att_defs.h.

#define ATT_PDU_PREP_WRITE_RSP   0x17

Prepare write response.

Definition at line 160 of file att_defs.h.

#define ATT_PDU_READ_BLOB_REQ   0x0C

Read blob request.

Definition at line 149 of file att_defs.h.

#define ATT_PDU_READ_BLOB_RSP   0x0D

Read blob response.

Definition at line 150 of file att_defs.h.

#define ATT_PDU_READ_GROUP_TYPE_REQ   0x10

Read by group type request.

Definition at line 153 of file att_defs.h.

#define ATT_PDU_READ_GROUP_TYPE_RSP   0x11

Read by group type response.

Definition at line 154 of file att_defs.h.

#define ATT_PDU_READ_MULT_REQ   0x0E

Read multiple request.

Definition at line 151 of file att_defs.h.

#define ATT_PDU_READ_MULT_RSP   0x0F

Read multiple response.

Definition at line 152 of file att_defs.h.

#define ATT_PDU_READ_MULT_VAR_REQ   0x20

Read multiple variable length request.

Definition at line 166 of file att_defs.h.

#define ATT_PDU_READ_MULT_VAR_RSP   0x21

Read multiple variable length response.

Definition at line 167 of file att_defs.h.

#define ATT_PDU_READ_REQ   0x0A

Read request.

Definition at line 147 of file att_defs.h.

#define ATT_PDU_READ_RSP   0x0B

Read response.

Definition at line 148 of file att_defs.h.

#define ATT_PDU_READ_TYPE_REQ   0x08

Read by type request.

Definition at line 145 of file att_defs.h.

#define ATT_PDU_READ_TYPE_RSP   0x09

Read by type response.

Definition at line 146 of file att_defs.h.

#define ATT_PDU_SIGNED_WRITE_CMD   0xD2

Signed write command.

Definition at line 158 of file att_defs.h.

#define ATT_PDU_VALUE_CNF   0x1E

Handle value confirmation.

Definition at line 165 of file att_defs.h.

#define ATT_PDU_VALUE_IND   0x1D

Handle value indication.

Definition at line 164 of file att_defs.h.

#define ATT_PDU_VALUE_NTF   0x1B

Handle value notification.

Definition at line 163 of file att_defs.h.

#define ATT_PDU_WRITE_CMD   0x52

Write command.

Definition at line 157 of file att_defs.h.

#define ATT_PDU_WRITE_REQ   0x12

Write request.

Definition at line 155 of file att_defs.h.

#define ATT_PDU_WRITE_RSP   0x13

Write response.

Definition at line 156 of file att_defs.h.

#define ATT_PREP_WRITE_REQ_LEN   5

Prepared write command length.

Definition at line 196 of file att_defs.h.

#define ATT_PREP_WRITE_RSP_LEN   5

Prepared write response length.

Definition at line 197 of file att_defs.h.

#define ATT_PROP_AUTHENTICATED   0x40

Permit signed writes.

Definition at line 261 of file att_defs.h.

#define ATT_PROP_BROADCAST   0x01

Permit broadcasts.

Definition at line 255 of file att_defs.h.

#define ATT_PROP_EXTENDED   0x80

More properties defined in extended properties.

Definition at line 262 of file att_defs.h.

#define ATT_PROP_INDICATE   0x20

Permit indications.

Definition at line 260 of file att_defs.h.

#define ATT_PROP_NOTIFY   0x10

Permit notifications.

Definition at line 259 of file att_defs.h.

#define ATT_PROP_READ   0x02

Permit reads.

Definition at line 256 of file att_defs.h.

#define ATT_PROP_WRITE   0x08

Permit writes with response.

Definition at line 258 of file att_defs.h.

#define ATT_PROP_WRITE_NO_RSP   0x04

Permit writes without response.

Definition at line 257 of file att_defs.h.

#define ATT_READ_BLOB_REQ_LEN   5

Read blob request legnth.

Definition at line 186 of file att_defs.h.

#define ATT_READ_BLOB_RSP_LEN   1

Read blob response length.

Definition at line 187 of file att_defs.h.

#define ATT_READ_GROUP_TYPE_REQ_LEN   5

Read group type request length.

Definition at line 190 of file att_defs.h.

#define ATT_READ_GROUP_TYPE_RSP_LEN   2

Read group type response length.

Definition at line 191 of file att_defs.h.

#define ATT_READ_MULT_REQ_LEN   1

Read multiple request length.

Definition at line 188 of file att_defs.h.

#define ATT_READ_MULT_RSP_LEN   1

Read multiple response length.

Definition at line 189 of file att_defs.h.

#define ATT_READ_MULT_VAR_REQ_LEN   1

Base read multiple variable request length.

Definition at line 203 of file att_defs.h.

#define ATT_READ_MULT_VAR_RSP_LEN   1

Base read multiple variable response length.

Definition at line 204 of file att_defs.h.

#define ATT_READ_REQ_LEN   3

Read request length.

Definition at line 184 of file att_defs.h.

#define ATT_READ_RSP_LEN   1

Read response length.

Definition at line 185 of file att_defs.h.

#define ATT_READ_TYPE_REQ_LEN   5

Read type request length.

Definition at line 182 of file att_defs.h.

#define ATT_READ_TYPE_RSP_LEN   2

Read type response length.

Definition at line 183 of file att_defs.h.

#define ATT_RSP_PENDING   0x7A

Response delayed pending higher layer.

Definition at line 108 of file att_defs.h.

#define ATT_SERVER_CFG_BROADCAST   0x0001

Broadcast the value.

Definition at line 285 of file att_defs.h.

#define ATT_SIGNED_WRITE_CMD_LEN   (ATT_WRITE_CMD_LEN + ATT_AUTH_SIG_LEN)

Signed write command length.

Definition at line 195 of file att_defs.h.

#define ATT_SUCCESS   0x00

Operation successful.

Definition at line 68 of file att_defs.h.

#define ATT_UUID_11073_CERT_DATA   0x2A2A

IEEE 11073-20601 Regulatory Certification Data List.

Definition at line 148 of file att_uuid.h.

#define ATT_UUID_ABSORBED_DOSE_GRAY   0x2733

absorbed dose gray

Definition at line 267 of file att_uuid.h.

#define ATT_UUID_ACCELERATION_MPS_SQ   0x2713

acceleration metres per second squared

Definition at line 236 of file att_uuid.h.

#define ATT_UUID_AGGREGATE_FORMAT   0x2905

Characteristic Aggregate Format.

Definition at line 96 of file att_uuid.h.

#define ATT_UUID_ALERT_CAT_ID   0x2A43

Alert Category ID.

Definition at line 173 of file att_uuid.h.

#define ATT_UUID_ALERT_CAT_ID_MASK   0x2A42

Alert Category ID Bit Mask.

Definition at line 172 of file att_uuid.h.

#define ATT_UUID_ALERT_LEVEL   0x2A06

Alert Level.

Definition at line 112 of file att_uuid.h.

#define ATT_UUID_ALERT_NOTIF_CP   0x2A44

Alert Notification Control Point.

Definition at line 174 of file att_uuid.h.

#define ATT_UUID_ALERT_NOTIF_SERVICE   0x1811

Alert Notification Service.

Definition at line 61 of file att_uuid.h.

#define ATT_UUID_ALERT_STATUS   0x2A3F

Alert Status.

Definition at line 169 of file att_uuid.h.

#define ATT_UUID_AMOUNT_CONC_MOLE_PER_CU_M   0x271A

amount concentration mole per cubic metre

Definition at line 243 of file att_uuid.h.

#define ATT_UUID_AMOUNT_OF_SUBSTANCE_MOLE   0x2706

amount of substance mole

Definition at line 231 of file att_uuid.h.

#define ATT_UUID_ANG_ACCEL_R_PER_SEC_SQD   0x2744

angular acceleration radian per second squared

Definition at line 274 of file att_uuid.h.

#define ATT_UUID_ANG_VELOCITY_R_PER_SEC   0x2743

angular velocity radian per second

Definition at line 273 of file att_uuid.h.

#define ATT_UUID_ANG_VELOCITY_RPM   0x27A8

angular velocity revolution per minute

Definition at line 320 of file att_uuid.h.

#define ATT_UUID_APPEARANCE   0x2A01

Appearance.

Definition at line 107 of file att_uuid.h.

#define ATT_UUID_AREA_BARN   0x2784

area barn

Definition at line 307 of file att_uuid.h.

#define ATT_UUID_AREA_HECTARE   0x2766

area hectare

Definition at line 300 of file att_uuid.h.

#define ATT_UUID_AREA_SQ_M   0x2710

area square metres

Definition at line 233 of file att_uuid.h.

#define ATT_UUID_ARM_BASE
Value:
0x2E, 0xC7, 0x8A, 0x0E, 0x73, 0x90, \
0xE1, 0x11, 0xC2, 0x08, 0x60, 0x27, 0x26, 0xE0

Base UUID: E0262760-08C2-11E1-9073-0E8AC72EXXXX.

Definition at line 341 of file att_uuid.h.

#define ATT_UUID_ARM_BUILD (   part)    UINT16_TO_BYTES(part), ATT_UUID_ARM_BASE

Macro for building Arm Ltd. UUIDs.

Definition at line 345 of file att_uuid.h.

#define ATT_UUID_BATTERY_LEVEL   0x2A19

Battery Level.

Definition at line 131 of file att_uuid.h.

#define ATT_UUID_BATTERY_LEVEL_STATE   0x2A1B

Battery Level State.

Definition at line 133 of file att_uuid.h.

#define ATT_UUID_BATTERY_POWER_STATE   0x2A1A

Battery Power State.

Definition at line 132 of file att_uuid.h.

#define ATT_UUID_BATTERY_SERVICE   0x180F

Battery Service.

Definition at line 59 of file att_uuid.h.

#define ATT_UUID_BLOOD_PRESSURE_SERVICE   0x1810

Blood Pressure Service.

Definition at line 60 of file att_uuid.h.

#define ATT_UUID_BP_FEATURE   0x2A49

Blood Pressure Feature.

Definition at line 179 of file att_uuid.h.

#define ATT_UUID_BP_MEAS   0x2A35

Blood Pressure Measurement.

Definition at line 159 of file att_uuid.h.

#define ATT_UUID_C_TEMP_DEG_C   0x272F

Celsius temperature degree Celsius.

Definition at line 263 of file att_uuid.h.

#define ATT_UUID_CAPACITANCE_F   0x2729

capacitance farad

Definition at line 257 of file att_uuid.h.

#define ATT_UUID_CAR   0x2AA6

Central Address Resolution.

Definition at line 189 of file att_uuid.h.

#define ATT_UUID_CATALYTIC_ACTIVITY_KATAL   0x2735

catalytic activity katal

Definition at line 269 of file att_uuid.h.

#define ATT_UUID_CATALYTIC_KATAL_PER_CU_M   0x2757

catalytic activity concentration katal per cubic metre

Definition at line 293 of file att_uuid.h.

#define ATT_UUID_CHAR_PRES_FORMAT   0x2904

Characteristic Presentation Format.

Definition at line 95 of file att_uuid.h.

#define ATT_UUID_CHAR_USER_DESC   0x2901

Characteristic User Description.

Definition at line 92 of file att_uuid.h.

#define ATT_UUID_CHARACTERISTIC   0x2803

Characteristic.

Definition at line 84 of file att_uuid.h.

#define ATT_UUID_CHARACTERISTIC_EXT   0x2900

Characteristic Extended Properties.

Definition at line 91 of file att_uuid.h.

#define ATT_UUID_CLIENT_CHAR_CONFIG   0x2902

Client Characteristic Configuration.

Definition at line 93 of file att_uuid.h.

#define ATT_UUID_CLIENT_SUPPORTED_FEATURES   0x2B29

Client Supported Features.

Definition at line 210 of file att_uuid.h.

#define ATT_UUID_CONSTANT_TONE_SERVICE   0x7F7F

Constant Tone Extension.

Definition at line 73 of file att_uuid.h.

#define ATT_UUID_CTE_ENABLE   0x7F80

Constant Tone Extension enable.

Definition at line 213 of file att_uuid.h.

#define ATT_UUID_CTE_INTERVAL   0x7F84

Constant Tone Extension interval.

Definition at line 217 of file att_uuid.h.

#define ATT_UUID_CTE_MIN_LEN   0x7F81

Constant Tone Extension minimum length.

Definition at line 214 of file att_uuid.h.

#define ATT_UUID_CTE_PHY   0x7F85

Constant Tone Extension PHY.

Definition at line 218 of file att_uuid.h.

#define ATT_UUID_CTE_TX_CNT   0x7F82

Constant Tone Extension transmit count.

Definition at line 215 of file att_uuid.h.

#define ATT_UUID_CTE_TX_DURATION   0x7F83

Constant Tone Extension transmit duration.

Definition at line 216 of file att_uuid.h.

#define ATT_UUID_CURRENT_DENS_AMP_PER_SQ_M   0x2718

current density ampere per square metre

Definition at line 241 of file att_uuid.h.

#define ATT_UUID_CURRENT_TIME   0x2A2B

Current Time.

Definition at line 149 of file att_uuid.h.

#define ATT_UUID_CURRENT_TIME_SERVICE   0x1805

Current Time Service.

Definition at line 49 of file att_uuid.h.

#define ATT_UUID_CYCLING_POWER_FEATURE   0x2A65

Cycling Power Feature.

Definition at line 195 of file att_uuid.h.

#define ATT_UUID_CYCLING_POWER_MEASUREMENT   0x2A63

Cycling Power Measurement.

Definition at line 196 of file att_uuid.h.

#define ATT_UUID_CYCLING_POWER_SERVICE   0x1818

Cycling Power Service.

Definition at line 66 of file att_uuid.h.

#define ATT_UUID_CYCLING_SPEED_FEATURE   0x2A5C

Cycling Speed Feature.

Definition at line 197 of file att_uuid.h.

#define ATT_UUID_CYCLING_SPEED_MEASUREMENT   0x2A5B

Cycling Speed Measurement.

Definition at line 198 of file att_uuid.h.

#define ATT_UUID_CYCLING_SPEED_SERVICE   0x1816

Cycling Speed Service.

Definition at line 65 of file att_uuid.h.

#define ATT_UUID_D1_DATA   ATT_UUID_ARM_BUILD(ATT_UUID_D1_DATA_PART)

Proprietary characteristics.

Definition at line 358 of file att_uuid.h.

#define ATT_UUID_D1_DATA_PART   0x0001

Partial proprietary characteristic data D1 UUID.

Definition at line 352 of file att_uuid.h.

#define ATT_UUID_DATABASE_HASH   0x2B2A

Database Hash.

Definition at line 211 of file att_uuid.h.

#define ATT_UUID_DATE_TIME   0x2A08

Date Time.

Definition at line 114 of file att_uuid.h.

#define ATT_UUID_DAY_DATE_TIME   0x2A0A

Day Date Time.

Definition at line 116 of file att_uuid.h.

#define ATT_UUID_DAY_OF_WEEK   0x2A09

Day of Week.

Definition at line 115 of file att_uuid.h.

#define ATT_UUID_DB_CHANGE_INCREMENT   0x2A99

Database Change Increment.

Definition at line 200 of file att_uuid.h.

#define ATT_UUID_DENSITY_KG_PER_CU_M   0x2715

density kilogram per cubic metre

Definition at line 238 of file att_uuid.h.

#define ATT_UUID_DEVICE_INFO_SERVICE   0x180A

Device Information Service.

Definition at line 54 of file att_uuid.h.

#define ATT_UUID_DEVICE_NAME   0x2A00

Device Name.

Definition at line 106 of file att_uuid.h.

#define ATT_UUID_DOSE_EQUIVALENT_SIEVERT   0x2734

dose equivalent sievert

Definition at line 268 of file att_uuid.h.

#define ATT_UUID_DOSE_RATE_GRAY_PER_SEC   0x2754

absorbed dose rate gray per second

Definition at line 290 of file att_uuid.h.

#define ATT_UUID_DST_CHANGE_SERVICE   0x1807

Next DST Change Service.

Definition at line 51 of file att_uuid.h.

#define ATT_UUID_DST_OFFSET   0x2A0D

DST Offset.

Definition at line 119 of file att_uuid.h.

#define ATT_UUID_DYNAMIC_VISC_PASCAL_SEC   0x2740

dynamic viscosity pascal second

Definition at line 270 of file att_uuid.h.

#define ATT_UUID_ELEC_CHG_DENS_C_PER_CU_M   0x274C

electric charge density coulomb per cubic metre

Definition at line 282 of file att_uuid.h.

#define ATT_UUID_ELEC_FIELD_STR_VOLT_PER_M   0x274B

electric field strength volt per metre

Definition at line 281 of file att_uuid.h.

#define ATT_UUID_ELEC_FLUX_DENS_C_PER_SQ_M   0x274E

electric flux density coulomb per square metre

Definition at line 284 of file att_uuid.h.

#define ATT_UUID_ELECTRIC_CHG_AMP_HRS   0x27B0

electric charge ampere hours

Definition at line 328 of file att_uuid.h.

#define ATT_UUID_ELECTRIC_CHG_C   0x2727

electric charge coulomb

Definition at line 255 of file att_uuid.h.

#define ATT_UUID_ELECTRIC_COND_SIEMENS   0x272B

electric conductance siemens

Definition at line 259 of file att_uuid.h.

#define ATT_UUID_ELECTRIC_CURRENT_AMP   0x2704

electric current ampere

Definition at line 229 of file att_uuid.h.

#define ATT_UUID_ELECTRIC_POTENTIAL_VOLT   0x2728

electric potential difference volt

Definition at line 256 of file att_uuid.h.

#define ATT_UUID_ELECTRIC_RESISTANCE_OHM   0x272A

electric resistance ohm

Definition at line 258 of file att_uuid.h.

#define ATT_UUID_ELEVATION   0x2A2C

Elevation.

Definition at line 150 of file att_uuid.h.

#define ATT_UUID_ENERGY_DENSITY_J_PER_CU_M   0x274A

energy density joule per cubic metre

Definition at line 280 of file att_uuid.h.

#define ATT_UUID_ENERGY_GRAM_CALORIE   0x27A9

energy gram calorie

Definition at line 321 of file att_uuid.h.

#define ATT_UUID_ENERGY_J   0x2725

energy joule

Definition at line 253 of file att_uuid.h.

#define ATT_UUID_ENERGY_KG_CALORIE   0x27AA

energy kilogram calorie

Definition at line 322 of file att_uuid.h.

#define ATT_UUID_ENERGY_KILOWATT_HR   0x27AB

energy kilowatt hour

Definition at line 323 of file att_uuid.h.

#define ATT_UUID_EXACT_TIME_100   0x2A0B

Exact Time 100.

Definition at line 117 of file att_uuid.h.

#define ATT_UUID_EXACT_TIME_256   0x2A0C

Exact Time 256.

Definition at line 118 of file att_uuid.h.

#define ATT_UUID_EXPOSURE_C_PER_KG   0x2753

exposure coulomb per kilogram

Definition at line 289 of file att_uuid.h.

#define ATT_UUID_FIRMWARE_REV   0x2A26

Firmware Revision String.

Definition at line 144 of file att_uuid.h.

#define ATT_UUID_FORCE_NEWT   0x2723

force newton

Definition at line 251 of file att_uuid.h.

#define ATT_UUID_FREQUENCY_HERTZ   0x2722

frequency hertz

Definition at line 250 of file att_uuid.h.

#define ATT_UUID_GAP_SERVICE   0x1800

Generic Access Profile Service.

Definition at line 44 of file att_uuid.h.

#define ATT_UUID_GATT_SERVICE   0x1801

Generic Attribute Profile Service.

Definition at line 45 of file att_uuid.h.

#define ATT_UUID_GLUCOSE_FEATURE   0x2A51

Glucose Feature.

Definition at line 187 of file att_uuid.h.

#define ATT_UUID_GLUCOSE_MEAS   0x2A18

Glucose Measurement.

Definition at line 130 of file att_uuid.h.

#define ATT_UUID_GLUCOSE_MEAS_CONTEXT   0x2A34

Glucose Measurement Context.

Definition at line 158 of file att_uuid.h.

#define ATT_UUID_GLUCOSE_SERVICE   0x1808

Glucose Service.

Definition at line 52 of file att_uuid.h.

#define ATT_UUID_HARDWARE_REV   0x2A27

Hardware Revision String.

Definition at line 145 of file att_uuid.h.

#define ATT_UUID_HEALTH_THERM_SERVICE   0x1809

Health Thermometer Service.

Definition at line 53 of file att_uuid.h.

#define ATT_UUID_HEART_RATE_SERVICE   0x180D

Heart Rate Service.

Definition at line 57 of file att_uuid.h.

#define ATT_UUID_HEAT_CAP_J_PER_K   0x2746

heat capacity joule per kelvin

Definition at line 276 of file att_uuid.h.

#define ATT_UUID_HEAT_FLUX_DEN_W_PER_SQ_M   0x2745

heat flux density watt per square metre

Definition at line 275 of file att_uuid.h.

#define ATT_UUID_HID_BOOT_KEYBOARD_IN   0x2A22

HID Boot Keyboard In.

Definition at line 140 of file att_uuid.h.

#define ATT_UUID_HID_BOOT_KEYBOARD_OUT   0x2A32

HID Boot Keyboard Out.

Definition at line 156 of file att_uuid.h.

#define ATT_UUID_HID_BOOT_MOUSE_IN   0x2A33

HID Boot Mouse In.

Definition at line 157 of file att_uuid.h.

#define ATT_UUID_HID_CONTROL_POINT   0x2A4C

HID Control Point.

Definition at line 182 of file att_uuid.h.

#define ATT_UUID_HID_EXT_REPORT_MAPPING   0x2907

HID External Report ID Mapping.

Definition at line 98 of file att_uuid.h.

#define ATT_UUID_HID_INFORMATION   0x2A4A

HID Information.

Definition at line 180 of file att_uuid.h.

#define ATT_UUID_HID_PROTOCOL_MODE   0x2A4E

HID Protocol Mode.

Definition at line 184 of file att_uuid.h.

#define ATT_UUID_HID_REPORT   0x2A4D

HID Report.

Definition at line 183 of file att_uuid.h.

#define ATT_UUID_HID_REPORT_ID_MAPPING   0x2908

HID Report ID Mapping.

Definition at line 99 of file att_uuid.h.

#define ATT_UUID_HID_REPORT_MAP   0x2A4B

HID Report Map.

Definition at line 181 of file att_uuid.h.

#define ATT_UUID_HID_SERVICE   0x1812

Human Interface Device Service.

Definition at line 62 of file att_uuid.h.

#define ATT_UUID_HR_CP   0x2A39

Heart Rate Control Point.

Definition at line 163 of file att_uuid.h.

#define ATT_UUID_HR_MEAS   0x2A37

Heart Rate Measurement.

Definition at line 161 of file att_uuid.h.

#define ATT_UUID_HR_SENSOR_LOC   0x2A38

Body Sensor Location.

Definition at line 162 of file att_uuid.h.

#define ATT_UUID_ILLUMINANCE_LUX   0x2731

illuminance lux

Definition at line 265 of file att_uuid.h.

#define ATT_UUID_IMMEDIATE_ALERT_SERVICE   0x1802

Immediate Alert Service.

Definition at line 46 of file att_uuid.h.

#define ATT_UUID_INCLUDE   0x2802

Include.

Definition at line 83 of file att_uuid.h.

#define ATT_UUID_INDUCTANCE_H   0x272E

inductance henry

Definition at line 262 of file att_uuid.h.

#define ATT_UUID_INTERMEDIATE_BP   0x2A36

Intermediate Cuff Pressure.

Definition at line 160 of file att_uuid.h.

#define ATT_UUID_INTERMEDIATE_TEMP   0x2A1E

Intermediate Temperature.

Definition at line 136 of file att_uuid.h.

#define ATT_UUID_IP_SUPPORT_SERVICE   0x1820

IP Support Service.

Definition at line 69 of file att_uuid.h.

#define ATT_UUID_LATITUDE   0x2A2D

Latitude.

Definition at line 151 of file att_uuid.h.

#define ATT_UUID_LENGTH_ANGSTROM   0x2782

length angstrom

Definition at line 305 of file att_uuid.h.

#define ATT_UUID_LENGTH_FOOT   0x27A3

length foot

Definition at line 315 of file att_uuid.h.

#define ATT_UUID_LENGTH_IN   0x27A2

length inch

Definition at line 314 of file att_uuid.h.

#define ATT_UUID_LENGTH_M   0x2701

length metre

Definition at line 226 of file att_uuid.h.

#define ATT_UUID_LENGTH_MILE   0x27A4

length mile

Definition at line 316 of file att_uuid.h.

#define ATT_UUID_LENGTH_NAUTICAL_MILE   0x2783

length nautical mile

Definition at line 306 of file att_uuid.h.

#define ATT_UUID_LENGTH_PARSEC   0x27A1

length parsec

Definition at line 313 of file att_uuid.h.

#define ATT_UUID_LENGTH_YARD   0x27A0

length yard

Definition at line 312 of file att_uuid.h.

#define ATT_UUID_LINK_LOSS_SERVICE   0x1803

Link Loss Service.

Definition at line 47 of file att_uuid.h.

#define ATT_UUID_LOCAL_TIME_INFO   0x2A0F

Local Time Information.

Definition at line 121 of file att_uuid.h.

#define ATT_UUID_LOG_RADIO_QUANT_BEL   0x2787

logarithmic radio quantity bel

Definition at line 310 of file att_uuid.h.

#define ATT_UUID_LOG_RADIO_QUANT_DB   0x2788

logarithmic radio quantity decibel

Definition at line 311 of file att_uuid.h.

#define ATT_UUID_LOG_RADIO_QUANT_NEPER   0x2786

logarithmic radio quantity neper

Definition at line 309 of file att_uuid.h.

#define ATT_UUID_LONGITUDE   0x2A2E

Longitude.

Definition at line 152 of file att_uuid.h.

#define ATT_UUID_LUM_CAND_PER_SQ_M   0x271C

luminance candela per square metre

Definition at line 245 of file att_uuid.h.

#define ATT_UUID_LUMINOUS_FLUX_LUMEN   0x2730

luminous flux lumen

Definition at line 264 of file att_uuid.h.

#define ATT_UUID_LUMINOUS_INTENSITY_CAND   0x2707

luminous intensity candela

Definition at line 232 of file att_uuid.h.

#define ATT_UUID_MAG_FIELD_STR_AMP_PER_M   0x2719

magnetic field strength ampere per metre

Definition at line 242 of file att_uuid.h.

#define ATT_UUID_MAGNETIC_FLEX_DENS_TESLA   0x272D

magnetic flex density tesla

Definition at line 261 of file att_uuid.h.

#define ATT_UUID_MAGNETIC_FLEX_WEBER   0x272C

magnetic flex weber

Definition at line 260 of file att_uuid.h.

#define ATT_UUID_MANUFACTURER_NAME   0x2A29

Manufacturer Name String.

Definition at line 147 of file att_uuid.h.

#define ATT_UUID_MASS_CONC_KG_PER_CU_M   0x271B

mass concentration kilogram per cubic metre

Definition at line 244 of file att_uuid.h.

#define ATT_UUID_MASS_DENSITY_MG_PER_DL   0x27B1

mass density milligram per decilitre

Definition at line 329 of file att_uuid.h.

#define ATT_UUID_MASS_DENSITY_MMOLE_PER_L   0x27B2

mass density millimole per litre

Definition at line 330 of file att_uuid.h.

#define ATT_UUID_MASS_KG   0x2702

mass kilogram

Definition at line 227 of file att_uuid.h.

#define ATT_UUID_MASS_TONNE   0x2768

mass tonne

Definition at line 302 of file att_uuid.h.

#define ATT_UUID_MEAS_INTERVAL   0x2A21

Measurement Interval.

Definition at line 139 of file att_uuid.h.

#define ATT_UUID_MESH_PROXY_DATA_IN   0x2ADD

Mesh Proxy Data In.

Definition at line 208 of file att_uuid.h.

#define ATT_UUID_MESH_PROXY_DATA_OUT   0x2ADE

Mesh Proxy Data Out.

Definition at line 209 of file att_uuid.h.

#define ATT_UUID_MESH_PROXY_SERVICE   0x1828

Mesh Proxy Service.

Definition at line 72 of file att_uuid.h.

#define ATT_UUID_MESH_PRV_DATA_IN   0x2ADB

Mesh Provisioning Data In.

Definition at line 206 of file att_uuid.h.

#define ATT_UUID_MESH_PRV_DATA_OUT   0x2ADC

Mesh Provisioning Data Out.

Definition at line 207 of file att_uuid.h.

#define ATT_UUID_MESH_PRV_SERVICE   0x1827

Mesh Provisioning Service.

Definition at line 71 of file att_uuid.h.

#define ATT_UUID_MODEL_NUMBER   0x2A24

Model Number String.

Definition at line 142 of file att_uuid.h.

#define ATT_UUID_MOLAR_ENERGY_J_PER_MOLE   0x2751

molar energy joule per mole

Definition at line 287 of file att_uuid.h.

#define ATT_UUID_MOLAR_ENTROPY_J_PER_MOLE_K   0x2752

molar entropy joule per mole kelvin

Definition at line 288 of file att_uuid.h.

#define ATT_UUID_MOMENT_OF_FORCE_NEWT_M   0x2741

moment of force newton metre

Definition at line 271 of file att_uuid.h.

#define ATT_UUID_NETWORK_AVAIL   0x2A3E

Network Availability.

Definition at line 168 of file att_uuid.h.

#define ATT_UUID_NETWORK_AVAIL_SERVICE   0x180B

Network Availability Service.

Definition at line 55 of file att_uuid.h.

#define ATT_UUID_NEW_ALERT   0x2A46

New Alert.

Definition at line 176 of file att_uuid.h.

#define ATT_UUID_P1_SERVICE   ATT_UUID_ARM_BUILD(ATT_UUID_P1_SERVICE_PART)

Proprietary services.

Definition at line 355 of file att_uuid.h.

#define ATT_UUID_P1_SERVICE_PART   0x1001

Partial proprietary service P1 UUID.

Definition at line 349 of file att_uuid.h.

#define ATT_UUID_PER_MILLE   0x27AE

per mille

Definition at line 326 of file att_uuid.h.

#define ATT_UUID_PERCENTAGE   0x27AD

percentage

Definition at line 325 of file att_uuid.h.

#define ATT_UUID_PERIOD_BEATS_PER_MIN   0x27AF

period beats per minute

Definition at line 327 of file att_uuid.h.

#define ATT_UUID_PERIPH_PRIVACY_FLAG   0x2A02

Peripheral Privacy Flag.

Definition at line 108 of file att_uuid.h.

#define ATT_UUID_PERMEABILITY_H_PER_M   0x2750

permeability henry per metre

Definition at line 286 of file att_uuid.h.

#define ATT_UUID_PERMITTIVITY_F_PER_M   0x274F

permittivity farad per metre

Definition at line 285 of file att_uuid.h.

#define ATT_UUID_PHONE_ALERT_SERVICE   0x180E

Phone Alert Status Service.

Definition at line 58 of file att_uuid.h.

#define ATT_UUID_PLANE_ANGLE_DEG   0x2763

plane angle degree

Definition at line 297 of file att_uuid.h.

#define ATT_UUID_PLANE_ANGLE_MIN   0x2764

plane angle minute

Definition at line 298 of file att_uuid.h.

#define ATT_UUID_PLANE_ANGLE_R   0x2720

plane angle radian

Definition at line 248 of file att_uuid.h.

#define ATT_UUID_PLANE_ANGLE_SEC   0x2765

plane angle second

Definition at line 299 of file att_uuid.h.

#define ATT_UUID_PNP_ID   0x2A50

PnP ID.

Definition at line 186 of file att_uuid.h.

#define ATT_UUID_POSITION_2D   0x2A2F

Position 2D.

Definition at line 153 of file att_uuid.h.

#define ATT_UUID_POSITION_3D   0x2A30

Position 3D.

Definition at line 154 of file att_uuid.h.

#define ATT_UUID_POWER_W   0x2726

power watt

Definition at line 254 of file att_uuid.h.

#define ATT_UUID_PREF_CONN_PARAM   0x2A04

Peripheral Preferred Connection Parameters.

Definition at line 110 of file att_uuid.h.

#define ATT_UUID_PRESSURE_BAR   0x2780

pressure bar

Definition at line 303 of file att_uuid.h.

#define ATT_UUID_PRESSURE_MM   0x2781

pressure millimetre of mercury

Definition at line 304 of file att_uuid.h.

#define ATT_UUID_PRESSURE_PASCAL   0x2724

pressure pascal

Definition at line 252 of file att_uuid.h.

#define ATT_UUID_PRESSURE_POUND_PER_SQ_IN   0x27A5

pressure pound-force per square inch

Definition at line 317 of file att_uuid.h.

#define ATT_UUID_PRIMARY_SERVICE   0x2800

Primary Service.

Definition at line 81 of file att_uuid.h.

#define ATT_UUID_PULSE_OX_CONTINUOUS   0x2A5F

Pulse Oximeter Features.

Definition at line 194 of file att_uuid.h.

#define ATT_UUID_PULSE_OX_FEATURES   0x2A60

Pulse Oximeter Features.

Definition at line 192 of file att_uuid.h.

#define ATT_UUID_PULSE_OX_SPOT_CHECK   0x2A5E

Pulse Oximeter Features.

Definition at line 193 of file att_uuid.h.

#define ATT_UUID_PULSE_OXIMITER_SERVICE   0x1822

Pulse Oximeter Service.

Definition at line 70 of file att_uuid.h.

#define ATT_UUID_RACP   0x2A52

Record Access Control Point.

Definition at line 188 of file att_uuid.h.

#define ATT_UUID_RADIONUCLIDE_BECQUEREL   0x2732

activity referred to a radionuclide becquerel

Definition at line 266 of file att_uuid.h.

#define ATT_UUID_RCE_W_PER_SQ_METER_STER   0x2756

radiance watt per square meter steradian

Definition at line 292 of file att_uuid.h.

#define ATT_UUID_RECONN_ADDR   0x2A03

Reconnection Address.

Definition at line 109 of file att_uuid.h.

#define ATT_UUID_REF_TIME_UPDATE_SERVICE   0x1806

Reference Time Update Service.

Definition at line 50 of file att_uuid.h.

#define ATT_UUID_REFERENCE_TIME_INFO   0x2A14

Reference Time Information.

Definition at line 126 of file att_uuid.h.

#define ATT_UUID_REFRACTIVE_INDEX   0x271D

refractive index

Definition at line 246 of file att_uuid.h.

#define ATT_UUID_RELATIVE_PERMEABILITY   0x271E

relative permeability

Definition at line 247 of file att_uuid.h.

#define ATT_UUID_REMOVABLE   0x2A3A

Removable.

Definition at line 164 of file att_uuid.h.

#define ATT_UUID_RINGER_CP   0x2A40

Ringer Control Point.

Definition at line 170 of file att_uuid.h.

#define ATT_UUID_RINGER_SETTING   0x2A41

Ringer Setting.

Definition at line 171 of file att_uuid.h.

#define ATT_UUID_RPAO   0x2AC9

Resolvable Prviate Address Only.

Definition at line 205 of file att_uuid.h.

#define ATT_UUID_RT_INTENSITY_W_PER_STER   0x2755

radiant intensity watt per steradian

Definition at line 291 of file att_uuid.h.

#define ATT_UUID_RUNNING_SPEED_FEATURE   0x2A54

Running Speed Feature.

Definition at line 190 of file att_uuid.h.

#define ATT_UUID_RUNNING_SPEED_MEASUREMENT   0x2A53

Running Speed Measurement.

Definition at line 191 of file att_uuid.h.

#define ATT_UUID_RUNNING_SPEED_SERVICE   0x1814

Running Speed Service.

Definition at line 64 of file att_uuid.h.

#define ATT_UUID_SCAN_INT_WIND   0x2A4F

Scan Interval Window.

Definition at line 185 of file att_uuid.h.

#define ATT_UUID_SCAN_PARAM_SERVICE   0x1813

Scan Parameter Service.

Definition at line 63 of file att_uuid.h.

#define ATT_UUID_SCI_TEMP_C   0x2A3C

Scientific Temperature in Celsius.

Definition at line 166 of file att_uuid.h.

#define ATT_UUID_SECONDARY_SERVICE   0x2801

Secondary Service.

Definition at line 82 of file att_uuid.h.

#define ATT_UUID_SECONDARY_TIME_ZONE   0x2A10

Secondary Time Zone.

Definition at line 122 of file att_uuid.h.

#define ATT_UUID_SENSOR_LOCATION   0x2A5D

Sensor Location.

Definition at line 199 of file att_uuid.h.

#define ATT_UUID_SERIAL_NUMBER   0x2A25

Serial Number String.

Definition at line 143 of file att_uuid.h.

#define ATT_UUID_SERVER_CHAR_CONFIG   0x2903

Server Characteristic Configuration.

Definition at line 94 of file att_uuid.h.

#define ATT_UUID_SERVER_SUPPORTED_FEATURES   0x2B3A

Server Supported Features.

Definition at line 212 of file att_uuid.h.

#define ATT_UUID_SERVICE_CHANGED   0x2A05

Service Changed.

Definition at line 111 of file att_uuid.h.

#define ATT_UUID_SERVICE_REQ   0x2A3B

Service Required.

Definition at line 165 of file att_uuid.h.

#define ATT_UUID_SOFTWARE_REV   0x2A28

Software Revision String.

Definition at line 146 of file att_uuid.h.

#define ATT_UUID_SOLID_ANGLE_STER   0x2721

solid angle steradian

Definition at line 249 of file att_uuid.h.

#define ATT_UUID_SPEC_ENERGY_J_PER_KG   0x2748

specific energy joule per kilogram

Definition at line 278 of file att_uuid.h.

#define ATT_UUID_SPEC_HEAT_CAP_J_PER_KG_K   0x2747

specific heat capacity joule per kilogram kelvin

Definition at line 277 of file att_uuid.h.

#define ATT_UUID_SPECIFIC_VOL_CU_M_PER_KG   0x2717

specific volume cubic metre per kilogram

Definition at line 240 of file att_uuid.h.

#define ATT_UUID_STRING   0x2A3D

String.

Definition at line 167 of file att_uuid.h.

#define ATT_UUID_SUP_NEW_ALERT_CAT   0x2A47

Supported New Alert Category.

Definition at line 177 of file att_uuid.h.

#define ATT_UUID_SUP_UNREAD_ALERT_CAT   0x2A48

Supported Unread Alert Category.

Definition at line 178 of file att_uuid.h.

#define ATT_UUID_SURF_CHG_DENS_C_PER_SQ_M   0x274D

surface charge density coulomb per square metre

Definition at line 283 of file att_uuid.h.

#define ATT_UUID_SURFACE_DENS_KG_PER_SQ_M   0x2716

surface density kilogram per square metre

Definition at line 239 of file att_uuid.h.

#define ATT_UUID_SURFACE_TENSION_NEWT_PER_M   0x2742

surface tension newton per metre

Definition at line 272 of file att_uuid.h.

#define ATT_UUID_SYSTEM_ID   0x2A23

System ID.

Definition at line 141 of file att_uuid.h.

#define ATT_UUID_TEMP_C   0x2A1F

Temperature Celsius.

Definition at line 137 of file att_uuid.h.

#define ATT_UUID_TEMP_F   0x2A20

Temperature Fahrenheit.

Definition at line 138 of file att_uuid.h.

#define ATT_UUID_TEMP_MEAS   0x2A1C

Temperature Measurement.

Definition at line 134 of file att_uuid.h.

#define ATT_UUID_TEMP_TYPE   0x2A1D

Temperature Type.

Definition at line 135 of file att_uuid.h.

#define ATT_UUID_THERM_TEMP_F   0x27AC

thermodynamic temperature degree Fahrenheit

Definition at line 324 of file att_uuid.h.

#define ATT_UUID_THERMAL_COND_W_PER_M_K   0x2749

thermal conductivity watt per metre kelvin

Definition at line 279 of file att_uuid.h.

#define ATT_UUID_THERMO_TEMP_K   0x2705

thermodynamic temperature kelvin

Definition at line 230 of file att_uuid.h.

#define ATT_UUID_TIME_ACCURACY   0x2A12

Time Accuracy.

Definition at line 124 of file att_uuid.h.

#define ATT_UUID_TIME_BROADCAST   0x2A15

Time Broadcast.

Definition at line 127 of file att_uuid.h.

#define ATT_UUID_TIME_DAY   0x2762

time day

Definition at line 296 of file att_uuid.h.

#define ATT_UUID_TIME_HR   0x2761

time hour

Definition at line 295 of file att_uuid.h.

#define ATT_UUID_TIME_MIN   0x2760

time minute

Definition at line 294 of file att_uuid.h.

#define ATT_UUID_TIME_MONTH   0x27B4

time month

Definition at line 332 of file att_uuid.h.

#define ATT_UUID_TIME_SEC   0x2703

time second

Definition at line 228 of file att_uuid.h.

#define ATT_UUID_TIME_SOURCE   0x2A13

Time Source.

Definition at line 125 of file att_uuid.h.

#define ATT_UUID_TIME_UPDATE_CP   0x2A16

Time Update Control Point.

Definition at line 128 of file att_uuid.h.

#define ATT_UUID_TIME_UPDATE_STATE   0x2A17

Time Update State.

Definition at line 129 of file att_uuid.h.

#define ATT_UUID_TIME_WITH_DST   0x2A11

Time with DST.

Definition at line 123 of file att_uuid.h.

#define ATT_UUID_TIME_YEAR   0x27B3

time year

Definition at line 331 of file att_uuid.h.

#define ATT_UUID_TIME_ZONE   0x2A0E

Time Zone.

Definition at line 120 of file att_uuid.h.

#define ATT_UUID_TX_POWER_LEVEL   0x2A07

Tx Power Level.

Definition at line 113 of file att_uuid.h.

#define ATT_UUID_TX_POWER_SERVICE   0x1804

Tx Power Service.

Definition at line 48 of file att_uuid.h.

#define ATT_UUID_UNITLESS   0x2700

unitless

Definition at line 225 of file att_uuid.h.

#define ATT_UUID_UNREAD_ALERT_STATUS   0x2A45

Unread Alert Status.

Definition at line 175 of file att_uuid.h.

#define ATT_UUID_USER_CONTROL_POINT   0x2A9F

User Control Point.

Definition at line 204 of file att_uuid.h.

#define ATT_UUID_USER_DATA_SERVICE   0x181C

User Data Service.

Definition at line 67 of file att_uuid.h.

#define ATT_UUID_USER_INDEX   0x2A9A

User Index.

Definition at line 201 of file att_uuid.h.

#define ATT_UUID_VALID_RANGE   0x2906

Valid Range.

Definition at line 97 of file att_uuid.h.

#define ATT_UUID_VELOCITY_KNOT   0x2785

velocity knot

Definition at line 308 of file att_uuid.h.

#define ATT_UUID_VELOCITY_KPH   0x27A6

velocity kilometre per hour

Definition at line 318 of file att_uuid.h.

#define ATT_UUID_VELOCITY_MPH   0x27A7

velocity mile per hour

Definition at line 319 of file att_uuid.h.

#define ATT_UUID_VELOCITY_MPS   0x2712

velocity metres per second

Definition at line 235 of file att_uuid.h.

#define ATT_UUID_VENDOR_ID   0x2A31

Vendor ID.

Definition at line 155 of file att_uuid.h.

#define ATT_UUID_VOLUME_CU_M   0x2711

volume cubic metres

Definition at line 234 of file att_uuid.h.

#define ATT_UUID_VOLUME_L   0x2767

volume litre

Definition at line 301 of file att_uuid.h.

#define ATT_UUID_WATCHDOG_SERVICE   0x180C

Watchdog Service.

Definition at line 56 of file att_uuid.h.

#define ATT_UUID_WAVENUMBER_RECIPROCAL_M   0x2714

wavenumber reciprocal metre

Definition at line 237 of file att_uuid.h.

#define ATT_UUID_WEIGHT_MEAS   0x2A9D

Weight Measurement.

Definition at line 202 of file att_uuid.h.

#define ATT_UUID_WEIGHT_SCALE_FEATURE   0x2A9E

Weight Scale Feature.

Definition at line 203 of file att_uuid.h.

#define ATT_UUID_WEIGHT_SCALE_SERVICE   0x181D

Weight Scale Service.

Definition at line 68 of file att_uuid.h.

#define ATT_VALUE_CNF_LEN   1

Value confirmation length.

Definition at line 202 of file att_defs.h.

#define ATT_VALUE_IND_LEN   3

Value indication length.

Definition at line 201 of file att_defs.h.

#define ATT_VALUE_MAX_LEN   512

Maximum attribute value length.

Definition at line 53 of file att_defs.h.

#define ATT_VALUE_MAX_OFFSET   511

Maximum attribute value offset.

Definition at line 54 of file att_defs.h.

#define ATT_VALUE_NTF_LEN   3

Value notification length.

Definition at line 200 of file att_defs.h.

#define ATT_WRITE_CMD_LEN   3

Write command length.

Definition at line 194 of file att_defs.h.

#define ATT_WRITE_REQ_LEN   3

Write request length.

Definition at line 192 of file att_defs.h.

#define ATT_WRITE_RSP_LEN   1

Write response length.

Definition at line 193 of file att_defs.h.

#define ATTS_CSF_ALL_FEATURES   (0x7)

Mask of all client supported features.

Definition at line 336 of file att_defs.h.

#define ATTS_CSF_EATT_BEARER   (1<<1)

Enhanced ATT Bearer.

Definition at line 333 of file att_defs.h.

#define ATTS_CSF_MULTI_VAL_NTF   (1<<2)

Multiple Handle Value Notifications.

Definition at line 334 of file att_defs.h.

#define ATTS_CSF_ROBUST_CACHING   (1<<0)

Robust caching.

Definition at line 332 of file att_defs.h.

#define ATTS_SSF_EATT   (1<<0)

Enhanced ATT supported.

Definition at line 345 of file att_defs.h.

Typedef Documentation

typedef void(* attCback_t) (attEvt_t *pEvt)

ATT event callback type.

This callback function sends ATT events to the client application. A single callback function is used for both ATTS and ATTC.

Parameters
pEvtPointer to ATT event structure.
Returns
None.

Definition at line 203 of file att_api.h.

Enumeration Type Documentation

anonymous enum

ATT client callback events.

Enumerator
ATTC_FIND_INFO_RSP 

ATT callback event starting value.

Find information response

ATTC_FIND_BY_TYPE_VALUE_RSP 

Find by type value response.

ATTC_READ_BY_TYPE_RSP 

Read by type value response.

ATTC_READ_RSP 

Read response.

ATTC_READ_LONG_RSP 

Read long response.

ATTC_READ_MULTIPLE_RSP 

Read multiple response.

ATTC_READ_BY_GROUP_TYPE_RSP 

Read group type response.

ATTC_WRITE_RSP 

Write response.

ATTC_WRITE_CMD_RSP 

Write command response.

ATTC_PREPARE_WRITE_RSP 

Prepare write response.

ATTC_EXECUTE_WRITE_RSP 

Execute write response.

ATTC_HANDLE_VALUE_NTF 

Handle value notification.

ATTC_HANDLE_VALUE_IND 

Handle value indication.

ATTC_READ_MULT_VAR_RSP 

Read multiple variable length response.

ATTC_MULT_VALUE_NTF 

Read multiple value notification.

ATTS_HANDLE_VALUE_CNF 

Handle value confirmation.

ATTS_MULT_VALUE_CNF 

Handle multiple value confirmation.

ATTS_CCC_STATE_IND 

Client chracteristic configuration state change.

ATTS_DB_HASH_CALC_CMPL_IND 

Database hash calculation complete.

ATT_MTU_UPDATE_IND 

Negotiated MTU value.

ATT_EATT_CONN_CMPL_IND 

EATT Connect channels complete.

ATT_EATT_RECONFIG_CMPL_IND 

EATT Reconfigure complete.

Definition at line 101 of file att_api.h.

client's awareness to database change.

Enumerator
ATTS_CLIENT_CHANGE_AWARE 

Client Aware.

ATTS_CLIENT_CHANGE_PENDING_AWARE 

Client Aware pending ATT Request. For internal stack use only.

ATTS_CLIENT_CHANGE_AWARE_DB_READ_PENDING 

Client Aware, Database Hash read pending hash update completion. For internal stack use only.

ATTS_CLIENT_CHANGE_UNAWARE 

Client Unaware.

Definition at line 138 of file att_api.h.

Function Documentation

void AttConnRegister ( dmCback_t  cback)

Register a connection callback with ATT. The callback is typically used to manage the attribute server database.

Parameters
cbackClient callback function.
Returns
None.
uint16_t AttGetMtu ( dmConnId_t  connId)

Get the attribute protocol MTU of a connection.

Parameters
connIdDM connection ID.
Returns
MTU of the connection.
void* AttMsgAlloc ( uint16_t  len,
uint8_t  opcode 
)

Allocate an ATT message buffer to be sent with the ATT attribute protocol zero-copy APIs.

Parameters
lenMessage length in bytes.
opcodeOpcode for ATT message.
Returns
Pointer to message buffer or NULL if allocation failed.
void AttMsgFree ( void *  pMsg,
uint8_t  opcode 
)

Free an ATT message buffer allocated with AttMsgAlloc().

Parameters
pMsgPointer to message buffer.
opcodeOpcode for ATT message.
Returns
None.
void AttRegister ( attCback_t  cback)

Register a callback with ATT. This callback will be used for messages from both ATTC and ATTS.

Parameters
cbackClient callback function.
Returns
None.
void EattEstablishChannels ( dmConnId_t  connId)

Begin requesting EATT L2CAP coc channels.

Note
When pEattCfg->initiateEatt is TRUE, EattEstablishChannels is called automatically on DM_CONN_OPEN_IND. If pEattCfg->initiateEatt is FALSE, EattEstablishChannels can be called by the application after DM_CONN_OPEN_IND to begin creating EATT channels.
Parameters
connIdDM connection identifier.
Returns
None.
uint8_t EattGetNumChannelsInUse ( dmConnId_t  connId)

Returns the number of open EATT channels on a given connection.

Parameters
connIdDM connection identifier.
Returns
Number of open EATT channels.
void EattInit ( uint8_t  roleBits)

Initialize the Enhanced ATT subsystem.

Returns
None

Variable Documentation

const uint8_t attAcbmChUuid[2 ]

Alert Category ID Bit Mask.

const uint8_t attAcChUuid[2 ]

Alert Category ID.

const uint8_t attAggFmtUuid[2 ]

Characteristic Aggregate Format.

const uint8_t attAlChUuid[2 ]

Alert Level.

const uint8_t attAncpChUuid[2 ]

Alert Notification Control Point.

const uint8_t attAnsSvcUuid[2 ]

Alert Notification Service.

const uint8_t attApChUuid[2 ]

Appearance.

const uint8_t attAsChUuid[2 ]

Alert Status.

const uint8_t attBasSvcUuid[2 ]

Battery Service.

const uint8_t attBlChUuid[2 ]

Battery Level.

const uint8_t attBlsChUuid[2 ]

Battery Level State.

const uint8_t attBpfChUuid[2 ]

Blood Pressure Feature.

const uint8_t attBpmChUuid[2 ]

Blood Pressure Measurement.

const uint8_t attBpsChUuid[2 ]

Battery Power State.

const uint8_t attBpsSvcUuid[2 ]

Blood Pressure Service.

const uint8_t attBslChUuid[2 ]

Body Sensor Location.

const uint8_t attCarChUuid[2 ]

Central Address Resolution.

const uint8_t attChExtUuid[2 ]

Characteristic Extended Properties.

const uint8_t attChPresFmtUuid[2 ]

Characteristic Presentation Format.

const uint8_t attChUserDescUuid[2 ]

Characteristic User Description.

const uint8_t attChUuid[2 ]

Characteristic.

const uint8_t attCliChCfgUuid[2 ]

Client Characteristic Configuration.

const uint8_t attCpfChUuid[2 ]

Cycling Power Features.

const uint8_t attCpmChUuid[2 ]

Cycling Power Measurement.

const uint8_t attCsfChUuid[2 ]

Cycling Speed Features.

const uint8_t attCsmChUuid[2 ]

Cycling Speed Measurement.

const uint8_t attCtChUuid[2 ]

Current Time.

const uint8_t attCteEnChUuid[2 ]

Constant Tone Extension enable.

const uint8_t attCteIntChUuid[2 ]

Constant Tone Extension interval.

const uint8_t attCteMinLenChUuid[2 ]

Constant Tone Extension minimum length.

const uint8_t attCtePhyChUuid[2 ]

Constant Tone Extension PHY.

const uint8_t attCteSvcUuid[2 ]

Constant Tone Extension service.

const uint8_t attCteTxCntChUuid[2 ]

Constant Tone Extension minimum transmit count.

const uint8_t attCteTxDurChUuid[2 ]

Constant Tone Extension transmit duration.

const uint8_t attCtsSvcUuid[2 ]

Current Time Service.

const uint8_t attDbciChUuid[2 ]

Database Change Increment.

const uint8_t attDdtChUuid[2 ]

Day Date Time.

const uint8_t attDisSvcUuid[2 ]

Device Information Service.

const uint8_t attDnChUuid[2 ]

Device Name.

const uint8_t attDstoChUuid[2 ]

DST Offset.

const uint8_t attDtChUuid[2 ]

Date Time.

const uint8_t attDwChUuid[2 ]

Day of Week.

const uint8_t attElChUuid[2 ]

Elevation.

const uint8_t attEt100ChUuid[2 ]

Exact Time 100.

const uint8_t attEt256ChUuid[2 ]

Exact Time 256.

const uint8_t attFrsChUuid[2 ]

Firmware Revision String.

const uint8_t attGapSvcUuid[2 ]

Generic Access Profile Service.

const uint8_t attGattCsfChUuid[2 ]

Client supported features.

const uint8_t attGattDbhChUuid[2 ]

Database hash.

const uint8_t attGattSvcUuid[2 ]

Generic Attribute Profile Service.

const uint8_t attGlfChUuid[2 ]

Glucose Feature.

const uint8_t attGlmcChUuid[2 ]

Glucose Measurement Context.

const uint8_t attGlmChUuid[2 ]

Glucose Measurement.

const uint8_t attGlsSvcUuid[2 ]

Glucose Service.

const uint8_t attHidBkiChUuid[2 ]

HID Information.

const uint8_t attHidBkoChUuid[2 ]

HID Information.

const uint8_t attHidBmiChUuid[2 ]

HID Information.

const uint8_t attHidcpChUuid[2 ]

HID Control Point.

const uint8_t attHidErmUuid[2 ]

HID External Report Reference.

const uint8_t attHidiChUuid[2 ]

HID Information.

const uint8_t attHidPmChUuid[2 ]

Protocol Mode.

const uint8_t attHidRepChUuid[2 ]

Report.

const uint8_t attHidRimUuid[2 ]

HID Report ID Mapping.

const uint8_t attHidRmChUuid[2 ]

Report Map.

const uint8_t attHidSvcUuid[2 ]

Human Interface Device Service.

const uint8_t attHrcpChUuid[2 ]

Heart Rate Control Point.

const uint8_t attHrmChUuid[2 ]

Heart Rate Measurement.

const uint8_t attHrsChUuid[2 ]

Hardware Revision String.

const uint8_t attHrsSvcUuid[2 ]

Heart Rate Service.

const uint8_t attHtsSvcUuid[2 ]

Health Thermometer Service.

const uint8_t attIasSvcUuid[2 ]

Immediate Alert Service.

const uint8_t attIcpChUuid[2 ]

Intermediate Cuff Pressure.

const uint8_t attIeeeChUuid[2 ]

IEEE 11073-20601 Regulatory Certification Data List.

const uint8_t attIncUuid[2 ]

Include.

const uint8_t attItChUuid[2 ]

Intermediate Temperature.

const uint8_t attLatChUuid[2 ]

Latitude.

const uint8_t attLlsSvcUuid[2 ]

Link Loss Service.

const uint8_t attLongChUuid[2 ]

Longitude.

const uint8_t attLtiChUuid[2 ]

Local Time Information.

const uint8_t attMfnsChUuid[2 ]

Manufacturer Name String.

const uint8_t attMnsChUuid[2 ]

Model Number String.

const uint8_t attMprvDinChUuid[2 ]

Mesh Provisioning Data In.

const uint8_t attMprvDoutChUuid[2 ]

Mesh Provisioning Data Out.

const uint8_t attMprvSvcUuid[2 ]

Mesh Provisioning Service.

const uint8_t attMprxDinChUuid[2 ]

Mesh Proxy Data In.

const uint8_t attMprxDoutChUuid[2 ]

Mesh Proxy Data Out.

const uint8_t attMprxSvcUuid[2 ]

Mesh Proxy Service.

const uint8_t attNaChUuid[2 ]

New Alert.

const uint8_t attNdcsSvcUuid[2 ]

Next DST Change Service.

const uint8_t attNwaChUuid[2 ]

Network Availability.

const uint8_t attNwaSvcUuid[2 ]

Network Availability Service.

const uint8_t attP2dChUuid[2 ]

Position 2D.

const uint8_t attP3dChUuid[2 ]

Position 3D.

const uint8_t attPassSvcUuid[2 ]

Phone Alert Status Service.

const uint8_t attPlxcmChUuid[2 ]

Pulse Oximeter Continuous Measurement.

const uint8_t attPlxfChUuid[2 ]

Pulse Oximeter Features.

const uint8_t attPlxscmChUuid[2 ]

Pulse Oximeter Spot Check Measurement.

const uint8_t attPlxsSvcUuid[2 ]

Pulse Oximeter Service.

const uint8_t attPnpChUuid[2 ]

PnP ID.

const uint8_t attPpcpChUuid[2 ]

Peripheral Preferred Connection Parameters.

const uint8_t attPpfChUuid[2 ]

Peripheral Privacy Flag.

const uint8_t attPrimSvcUuid[2 ]

Primary Service.

const uint8_t attRaChUuid[2 ]

Reconnection Address.

const uint8_t attRacpChUuid[2 ]

Record Access Control Point.

const uint8_t attRcpChUuid[2 ]

Ringer Control Point.

const uint8_t attRemChUuid[2 ]

Removable.

const uint8_t attRpaoChUuid[2 ]

Resolvable Private Address Only.

const uint8_t attRsChUuid[2 ]

Ringer Setting.

const uint8_t attRsfChUuid[2 ]

Running Speed Features.

const uint8_t attRsmChUuid[2 ]

Running Speed Measurement.

const uint8_t attRtiChUuid[2 ]

Reference Time Information.

const uint8_t attRtusSvcUuid[2 ]

Reference Time Update Service.

const uint8_t attScChUuid[2 ]

Service Changed.

const uint8_t attSecSvcUuid[2 ]

Secondary Service.

const uint8_t attSidChUuid[2 ]

System ID.

const uint8_t attSiwChUuid[2 ]

Scan Interval Window.

const uint8_t attSlChUuid[2 ]

Sensor Location.

const uint8_t attSnacChUuid[2 ]

Supported New Alert Category.

const uint8_t attSnsChUuid[2 ]

Serial Number String.

const uint8_t attSpsSvcUuid[2 ]

Scan Parameter Service.

const uint8_t attSrChUuid[2 ]

Service Required.

const uint8_t attSrsChUuid[2 ]

Software Revision String.

const uint8_t attSrvChCfgUuid[2 ]

Server Characteristic Configuration.

const uint8_t attSsfChUuid[2 ]

Server supported features.

const uint8_t attStcChUuid[2 ]

Scientific Temperature in Celsius.

const uint8_t attStrChUuid[2 ]

String.

const uint8_t attStzChUuid[2 ]

Secondary Time Zone.

const uint8_t attSuacChUuid[2 ]

Supported Unread Alert Category.

const uint8_t attTaChUuid[2 ]

Time Accuracy.

const uint8_t attTbChUuid[2 ]

Time Broadcast.

const uint8_t attTcelChUuid[2 ]

Temperature Celsius.

const uint8_t attTdstChUuid[2 ]

Time with DST.

const uint8_t attTfahChUuid[2 ]

Temperature Fahrenheit.

const uint8_t attTmChUuid[2 ]

Temperature Measurement.

const uint8_t attTpsSvcUuid[2 ]

Tx Power Service.

const uint8_t attTsChUuid[2 ]

Time Source.

const uint8_t attTtChUuid[2 ]

Temperature Type.

const uint8_t attTucpChUuid[2 ]

Time Update Control Point.

const uint8_t attTusChUuid[2 ]

Time Update State.

const uint8_t attTxpChUuid[2 ]

Tx Power Level.

const uint8_t attTzChUuid[2 ]

Time Zone.

const uint8_t attUasChUuid[2 ]

Unread Alert Status.

const uint8_t attUcpChUuid[2 ]

User Control Point.

const uint8_t attUdsSvcUuid[2 ]

User Data Service.

const uint8_t attUiChUuid[2 ]

User Index.

const uint8_t attValRangeUuid[2 ]

Valid Range.

const uint8_t attVidChUuid[2 ]

Vendor ID.

const uint8_t attWdsSvcUuid[2 ]

Watchdog Service.

const uint8_t attWmChUuid[2 ]

Weight measurement.

const uint8_t attWsfChUuid[2 ]

Weight scale feature.

const uint8_t attWssSvcUuid[2 ]

Weight scale service.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.