iotexpresslink3 2.1.0.0
|
IoT ExpressLink 3 Click Example. More...
Macros | |
#define | WIFI_SSID "MikroE Public" |
#define | WIFI_PASS "mikroe.guest" |
#define | APP_BUFFER_SIZE 500 |
#define | PROCESS_BUFFER_SIZE 200 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
IoT ExpressLink 3 Click Example.
This example demonstrates the use of IoT ExpressLink 3 click board by bridging the USB UART to mikroBUS UART which allows the click board to establish a connection with the IoT ExpressLink over the Quick Connect demo application without an AWS account.
The demo application is composed of two sections :
Initializes the driver, resets the click board to factory default settings, reads and displays the vendor model and thing name on the USB UART, sets the WiFi credentials, and attempts to connect to the AWS Cloud. If the initial attempt fails and the error message "Failed to access network" or "Failed to login AWS (MQTT) broker" appears, check the WiFi credentials and try running the example again.
All data received from the USB UART will be forwarded to mikroBUS UART, and vice versa. At this point you should disconnect from the UART terminal and run the Quick Connect demo application.
The demo will connect to IoT ExpressLink and give you an URL that you can use to visualize data flowing from the device to the cloud using AT+SEND commands. The demo will run for up to two minutes, and afterwards, you will be able to type AT+SEND commands yourself and see the data coming in on the visualizer.
#define APP_BUFFER_SIZE 500 |
#define PROCESS_BUFFER_SIZE 200 |
#define WIFI_PASS "mikroe.guest" |
#define WIFI_SSID "MikroE Public" |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |