connection-manager API Callbacks

Functions

void emberConnectionManagerConnectCompleteCallback (EmberConnectionManagerConnectionStatus status)
Connection attempt completed.

Detailed Description

These callbacks were contributed by the connection-manager API.

Function Documentation

void emberConnectionManagerConnectCompleteCallback ( EmberConnectionManagerConnectionStatus status )

This function is called when an attempt to connect to a network has completed. It will convery the result of an attempt to join a network using the emberConnectionManagerStartConnect function. The status will be one of the following values:

EMBER_CONNECTION_MANAGER_STATUS_CONNECTED: The device succesfully attached to the network. EMBER_CONNECTION_MANAGER_STATUS_TIMED_OUT: The device was unable to join the network after attempting the number of times specified in the connection manager plugin options.