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

ParamDescription
conModeConnection type: broadcast or multicast
conHandleUnique 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)

conTypeConnection type
dataData associated with the join request procedure
dataLenLength 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.