Multitech + KL46Z NanoService example with the RTOS

Dependencies:   mbed SocketModem nanoservice_client_1_12

Files at this revision

API Documentation at this revision

Comitter:
zdshelby
Date:
Wed Feb 19 22:26:37 2014 +0000
Parent:
10:53aad0f75e99
Child:
12:d86931458473
Commit message:
- Fixed resource fix

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Feb 19 22:26:16 2014 +0000
+++ b/main.cpp	Wed Feb 19 22:26:37 2014 +0000
@@ -218,7 +218,7 @@
 
     // Static resources
     nsdl_create_static_resource(resource_ptr, sizeof("1/0/1")-1, (uint8_t*) "1/0/1", 0, 0,  (uint8_t*) "86400", sizeof("86400")-1);
-    nsdl_create_static_resource(resource_ptr, sizeof("3/0/0")-1, (uint8_t*) "3/0/0", 0, 0,  (uint8_t*) "Freescale/Multitech", sizeof("ARM")-1);
+    nsdl_create_static_resource(resource_ptr, sizeof("3/0/0")-1, (uint8_t*) "3/0/0", 0, 0,  (uint8_t*) "Freescale/Multitech", sizeof("Freescale/Multitech")-1);
     nsdl_create_static_resource(resource_ptr, sizeof("3/0/1")-1, (uint8_t*) "3/0/1", 0, 0,  (uint8_t*) "KL64Z with Multitech Cellular", sizeof("KL64Z with Multitech Cellular")-1);
     nsdl_create_static_resource(resource_ptr, sizeof("3/0/16")-1, (uint8_t*) "3/0/16", 0, 0,  (uint8_t*) "TCP", sizeof("TCP")-1);
     nsdl_create_static_resource(resource_ptr, sizeof("gps/loc")-1, (uint8_t*) "gps/loc", 0, 0,  (uint8_t*) "41.3575130, 2.1249660", sizeof("41.3575130, 2.1249660")-1);