1.3.5.4.4 CL_NULL_EstablishResponse Function

C

void CL_NULL_EstablishResponse
(
    uint16_t conHandle,
    MAC_ESTABLISH_RESPONSE_ANSWER answer,
    uint8_t *data,
    uint16_t dataLen,
    uint8_t uc_ae
);

Summary

Response to a connection establishment indication.

Description

This routine is used to respond to a connection establishment indication.

Precondition

The CL_NULL_Initialize routine must have been called before.

Parameters

ParamDescription
conHandleUnique identifier of the connection
answerAction to be taken for this connection establishment
dataData associated with the connection establishment procedure
dataLenLength of the data in bytes
ae

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

Returns

None.

Example

CL_NULL_EstablishResponse(3, MAC_ESTABLISH_RESPONSE_ANSWER_ACCEPT, NULL, 0, 0);

Remarks

None.