1.4.3.9 MMHI_MAC_DATA_IND_CALLBACK Typedef
C
typedef void ( *MMHI_MAC_DATA_IND_CALLBACK )( uint8_t dsap, uint8_t reqId,
uint8_t* lsdu, uint8_t lsduLen );
Summary
Pointer to a Meters And More HI module Mac Data Indication Function Pointer.
Description
This data type defines the required function signature for the Meters And More HI Data Indication function. A client must register a pointer using the callback register function whose function signature (parameter and return value types) match the types specified by this function pointer in order to receive related event callbacks from the module.
Parameters
| Param | Description |
|---|---|
| dsap |
Destination LSAP |
| reqId | Unique Request ID for each request |
| lsdu | Pointer to the LLC data |
| lsduLen | Length of the LLC data |
Returns
None.
Example
void APP_MyCommandFrameHandler( uint8_t dsap, uint8_t reqId,
uint8_t* lsdu, uint8_t lsduLen )
{
if (lsduLen > 0)
{
}
}
Remarks
None.
