Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Initialize Cloud Connector.
Include: connector_api.h More...
| Functions | |
| connector_handle_t | connector_init (connector_callback_t const callback) | 
| This API is called initially at startup to allocate and initialize Cloud Connector. | |
Detailed Description
Include: connector_api.h
Function Documentation
| connector_handle_t connector_init | ( | connector_callback_t const | callback ) | 
This API is called initially at startup to allocate and initialize Cloud Connector.
This function takes the application-defined callback function pointer as it's only argument. This callback is used by Cloud Connector to communicate with the application environment. This function must be called prior to other Cloud Connector APIs, like connector_step(), connector_run(), and connector_initiate_action().
- Parameters:
- 
  [in] callback Callback function that is used to interface between the application and Cloud Connector. 
- Return values:
- 
  NULL An error occurred and Cloud Connector was unable to initialize. Not NULL Success. A Handle was returned for subsequent Cloud Connector calls. 
Example Usage:
connector_handle = connector_init(application_callback);
Definition at line 347 of file connector_api.c.
Generated on Tue Jul 12 2022 19:18:38 by
 1.7.2
 1.7.2