1.3.5.4.11 CL_NULL_DataRequest Function
C
void CL_NULL_DataRequest
(
uint16_t conHandle,
uint8_t *data,
uint16_t dataLen,
uint8_t prio,
uint32_t timeRef
);
Summary
Request the transmission of data over a connection.
Description
This routine is used to request the transmission of data over a connection.
Precondition
The CL_NULL_Initialize routine must have been called before.
Parameters
Param | Description |
---|---|
conHandle |
Unique identifier of the connection |
data | Pointer to data to be transmitted through this connection |
dataLen | Length of the data in bytes |
prio |
Priority of the data to be sent when using the CSMA access scheme |
timeRef | Time reference (in 10s of microseconds) (v1.4) |
Returns
None.
Example
uint16_t msgLen = 20;
uint8_t msg[msgLen] = {0};
CL_NULL_DataRequest(9, msg, msgLen, 1, 1000);
Remarks
The result of the request is returned in the confirm callback.