Fork with SeeedStudio Xadow GPS v2 enabled
Dependencies: FXOS8700CQ MODSERIAL XadowGPS mbed
Fork of Avnet_ATT_Cellular_IOT by
Diff: main.cpp
- Revision:
- 77:c65eae5b9958
- Parent:
- 72:b500e1507b5f
diff -r a7a9b9cbfbc0 -r c65eae5b9958 main.cpp --- a/main.cpp Sat Aug 13 18:29:56 2016 +0000 +++ b/main.cpp Mon Aug 15 19:31:14 2016 +0000 @@ -66,6 +66,11 @@ .GPS_Course = "0" }; +void display_app_firmware_version(void) +{ + PUTS("\r\n\r\nApp Firmware: Release 1.0 - built: "__DATE__" "__TIME__"\r\n\r\n"); +} + void GenerateModemString(char * modem_string) { switch(iSensorsToReport) @@ -203,8 +208,11 @@ int main() { static unsigned ledOnce = 0; //delay so that the debug terminal can open after power-on reset: - wait (4.0); + wait (5.0); pc.baud(115200); + + display_app_firmware_version(); + PRINTF(GRN "Hello World from the Cellular IoT Kit!\r\n\r\n"); //Initialize the I2C sensors that are present @@ -216,6 +224,8 @@ // Initialize the modem PRINTF("\r\n"); cell_modem_init(); + display_wnc_firmware_rev(); + // Set LED BLUE for partial init SetLedColor(0x4); //Blue