Connection Manager: In Band Joining Callbacks


uint8_t emberConnectionManagerJibGetJoinKeyCallback (uint8_t **joinKey)
 Get the fixed joining key.

Detailed Description

These callbacks are contributed by the Connection Manager: In Band Joining plugin.

Function Documentation

uint8_t emberConnectionManagerJibGetJoinKeyCallback ( uint8_t **  joinKey)

This function will be called whenever the in band commissioning fixed joining key is needed by the connection manager. The key will be set by this function using the joinKey parameter, and the size will be relayed by the return value. A return value of 0 indicates that the key has not been set, which will cause the connection manager to halt its connection attempt.

joinKeyA pointer to the fixed joining key