TI BLE Stack API Documentation
2.03.08
|
Functions | |
void | GATT_RegisterForMsgs (uint8 taskID) |
Register your task ID to receive GATT local events and ATT Response messages pending for transmission. When the GATT Server fails to respond to an incoming ATT Request due to lack of HCI Tx buffers, the response will be forwarded the app for retransmission. More... | |
bStatus_t | GATT_NotifyEvent (uint16 connHandle, uint8 status, uint8 method, gattMsg_t *pMsg) |
Send an event to upper layer application/protocol. More... | |
void | GATT_UpdateMTU (uint16 connHandle, uint16 mtuSize) |
Update ATT_MTU size for a given connection. More... | |
Send an event to upper layer application/protocol.
connHandle | - connection event belongs to |
status | - status |
method | - type of message |
pMsg | - pointer to message to be sent |
void GATT_RegisterForMsgs | ( | uint8 | taskID | ) |
Register your task ID to receive GATT local events and ATT Response messages pending for transmission. When the GATT Server fails to respond to an incoming ATT Request due to lack of HCI Tx buffers, the response will be forwarded the app for retransmission.
Note: A pending ATT Response message forwarded to the app should be transmitted using GATT_SendRsp(), or its payload freed using GATT_bm_free() if not transmitted.
taskID | - Default task ID to send GATT events/pending ATT responses. |
void GATT_UpdateMTU | ( | uint16 | connHandle, |
uint16 | mtuSize | ||
) |
Update ATT_MTU size for a given connection.
connHandle | - connection handle. |
mtuSize | - new MTU size. |