1.3.5.4.7 CL_NULL_JoinRequest Function
C
void CL_NULL_JoinRequest
(
MAC_JOIN_REQUEST_MODE conMode,
uint16_t conHandle,
uint8_t *eui48,
MAC_CONNECTION_TYPE conType,
uint8_t *data,
uint16_t dataLen,
uint8_t ae
);
Summary
Request to join a multicast connection.
Description
This routine is used to request to join a multicast connection.
Precondition
The CL_NULL_Initialize routine must have been called before.
Parameters
Param | Description |
---|---|
conMode | Connection type: broadcast or multicast |
conHandle | Unique identifier of the connection (only used in base node) |
eui48 |
Pointer to the address of the node to which this join is being requested (only used in base node) |
conType | Connection type |
data | Data associated with the join request procedure |
dataLen | Length of the data in bytes |
ae |
Flag to indicate that authentication and encryption is requested (v1.4) |
Returns
None.
Example
CL_NULL_JoinRequest(JOIN_REQUEST_BROADCAST, 0, NULL, 9, NULL, 0, 0);
Remarks
The result of the request is returned in the confirm callback.