1.3.5.4.3 CL_NULL_EstablishRequest Function

C

void CL_NULL_EstablishRequest
(
     uint8_t *eui48,
     uint8_t type,
     uint8_t *data,
     uint16_t dataLen,
     uint8_t arq,
     uint8_t cfBytes,
     uint8_t ae
);

Summary

Request a connection establishment.

Description

This routine is used to request a connection establishment.

Precondition

The CL_NULL_Initialize routine must have been called before.

Parameters

ParamDescription
eui48

Pointer to the address of the node to which this connection will be addressed

typeConvergence Layer type of the connection
dataData associated with the connection establishment procedure
dataLenLength of the data in bytes
arq

Flag to indicate whether or not the ARQ mechanism should be used for this connection

cfBytes

Flag to indicate whether or not the connection should use the contention or contention-free channel access scheme

ae

Flag to indicate that authentication and encryption is requested (v1.4)

Returns

None.

Example

uint8_t eui48[6];
memset(eui48, 0x12, 6);

CL_NULL_EstablishRequest(eui48, 9, NULL, 0, 1, 0, 0);

Remarks

The result of the request is returned in the confirm callback.