g2c
2.0.0.0
|
Go to Cloud (G2C) click is a gateway Click boardâ„¢ which provides a simple and reliable connection to the Click Cloud platform.
We provide a library for the G2C Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for G2C Click driver.
void g2c_cfg_setup ( g2c_cfg_t *cfg );
void g2c_send_command ( g2c_t *ctx, char *command );
void g2c_send_data_ref( g2c_t *ctx, char *reference_buf, char *data_buf );
g2c_error_t g2c_actuator_str_parser ( char *rsp, char *act_ref, g2c_actuator_str_t *str_data );
This example reads and processes data from G2C clicks.
The demo application is composed of two sections :
Initializes driver and power module.
Reads the received data and parses it.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
Other mikroE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.