![]() |
![]() |
|
TI BLE-Stack for Bluetooth 4.2 API Documentation
3.01.00.07
|
Typedefs | |
| typedef bStatus_t(* | pfnGATTAuthorizeAttrCB_t) (uint16 connHandle, gattAttribute_t *pAttr, uint8 opcode) |
| Callback function prototype to authorize a Read or Write operation on a given attribute. More... | |
| typedef bStatus_t(* | pfnGATTReadAttrCB_t) (uint16 connHandle, gattAttribute_t *pAttr, uint8 *pValue, uint16 *pLen, uint16 offset, uint16 maxLen, uint8 method) |
| Callback function prototype to read an attribute value. More... | |
| typedef bStatus_t(* | pfnGATTWriteAttrCB_t) (uint16 connHandle, gattAttribute_t *pAttr, uint8 *pValue, uint16 len, uint16 offset, uint8 method) |
| Callback function prototype to write an attribute value. More... | |
| typedef bStatus_t(* pfnGATTAuthorizeAttrCB_t) (uint16 connHandle, gattAttribute_t *pAttr, uint8 opcode) |
Callback function prototype to authorize a Read or Write operation on a given attribute.
| connHandle | - connection request was received on |
| pAttr | - pointer to attribute |
| opcode | - request opcode (ATT_READ_REQ or ATT_WRITE_REQ) |
| typedef bStatus_t(* pfnGATTReadAttrCB_t) (uint16 connHandle, gattAttribute_t *pAttr, uint8 *pValue, uint16 *pLen, uint16 offset, uint16 maxLen, uint8 method) |
Callback function prototype to read an attribute value.
| connHandle | - connection request was received on |
| pAttr | - pointer to attribute |
| pValue | - pointer to data to be read (to be returned) |
| pLen | - length of data (to be returned) |
| offset | - offset of the first octet to be read |
| maxLen | - maximum length of data to be read |
| method | - type of read message |
| typedef bStatus_t(* pfnGATTWriteAttrCB_t) (uint16 connHandle, gattAttribute_t *pAttr, uint8 *pValue, uint16 len, uint16 offset, uint8 method) |
Callback function prototype to write an attribute value.
| connHandle | - connection request was received on |
| pAttr | - pointer to attribute |
| pValue | - pointer to data to be written |
| pLen | - length of data |
| offset | - offset of the first octet to be written |
| method | - type of write message |