|
TI BLE Stack API Documentation
2.03.03
|
Functions | |
| void * | GATT_bm_alloc (uint16 connHandle, uint8 opcode, uint16 size, uint16 *pSizeAlloc) |
| GATT implementation of the allocator functionality. More... | |
| void | GATT_bm_free (gattMsg_t *pMsg, uint8 opcode) |
| GATT implementation of the de-allocator functionality. More... | |
| void* GATT_bm_alloc | ( | uint16 | connHandle, |
| uint8 | opcode, | ||
| uint16 | size, | ||
| uint16 * | pSizeAlloc | ||
| ) |
GATT implementation of the allocator functionality.
Note: This function should only be called by GATT and the upper layer protocol/application.
| connHandle | - connection that message is to be sent on. |
| opcode | - opcode of message that buffer to be allocated for. |
| size | - number of bytes to allocate from the heap. |
| pSizeAlloc | - number of bytes allocated for the caller from the heap. |
| void GATT_bm_free | ( | gattMsg_t * | pMsg, |
| uint8 | opcode | ||
| ) |
GATT implementation of the de-allocator functionality.
| pMsg | - pointer to GATT message containing the memory to free. |
| opcode | - opcode of the message |
1.8.12