MBED NanoService Lighting Endpoint for NXP Ublox (cellular enabled)

Dependencies:   C027_Support C12832 StatusReporter LM75B c027_radios endpoint_core endpoint_nsp nsp_resources mbed mbed-rtos

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Thu Jul 03 18:36:14 2014 +0000
Parent:
215:b1766afe8471
Child:
217:57bed06b5fa3
Commit message:
updates for nsp based cellular

Changed in this revision

C027_Support.lib Show annotated file Show diff for this revision Revisions of this file
Definitions.h Show annotated file Show diff for this revision Revisions of this file
c027_radios.lib Show annotated file Show diff for this revision Revisions of this file
endpoint_core.lib Show annotated file Show diff for this revision Revisions of this file
--- a/C027_Support.lib	Thu Jul 03 16:32:20 2014 +0000
+++ b/C027_Support.lib	Thu Jul 03 18:36:14 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/C027_Support/#1e9c0baddba8
+http://mbed.org/teams/ublox/code/C027_Support/#edfeb8af206e
--- a/Definitions.h	Thu Jul 03 16:32:20 2014 +0000
+++ b/Definitions.h	Thu Jul 03 18:36:14 2014 +0000
@@ -31,6 +31,11 @@
 #define CELLULAR_NETWORK                true                      // true - use cellular network, false - use ethernet (cannot co-exist together)
 //#define CELLULAR_DEBUG                  true                      // true - debug enabled, undef - no
 
+// NSP, which runs threaded, requires special handling of the cellular network stack with RTOS
+#ifdef CELLULAR_NETWORK
+    #define NSP_CELLULAR_NETWORK        true
+#endif
+
 // what kind of personality we are...
 //#define LIGHT_PERSONALITY               true                      // the endpoint will be a (set of) lights
 #define COPCAR_PERSONALITY              true                      // the endpoint will emulate a cop car
@@ -39,8 +44,8 @@
 #include "CommonDefinitions.h"
 
 // Turn all these on for cellular 
-#define EH_USE_MUTEXES              true                          // true - yes, undef - no
-#define NETWORK_MUTEX               true                          // true - yes, undef - no
+//#define EH_USE_MUTEXES              true                          // true - yes, undef - no
+//#define NETWORK_MUTEX               true                          // true - yes, undef - no
 #define ENABLE_THREADS              true                          // true - yes, undef - no
 
 // NSP specific definitions
@@ -49,8 +54,11 @@
 // OVERRIDE: NSP Endpoint
 #undef NSP_ADDRESS
 #undef NSP_PORT
-#define NSP_ADDRESS                "192.168.1.220"               // Target NSP Service
-#define NSP_PORT                   5683                          // Target NSP Service Port Number (def: 5683)
+//#define NSP_ADDRESS                "192.168.1.220"               // Target NSP Service
+//#define NSP_PORT                   5683                          // Target NSP Service Port Number (def: 5683)
+
+#define NSP_ADDRESS                "72.182.18.233"               // Target NSP Service
+#define NSP_PORT                   19648                         // Target NSP Service Port Number (def: 5683)
 
 // Philips Light Config
 #define PL_ENABLE                  false                         // true - enable for endpoint light, false - disable
--- a/c027_radios.lib	Thu Jul 03 16:32:20 2014 +0000
+++ b/c027_radios.lib	Thu Jul 03 18:36:14 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/c027_radios/#0fcc7e5ff8a6
+http://mbed.org/users/ansond/code/c027_radios/#9572d860cb54
--- a/endpoint_core.lib	Thu Jul 03 16:32:20 2014 +0000
+++ b/endpoint_core.lib	Thu Jul 03 18:36:14 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/endpoint_core/#ba089a5e3da7
+http://mbed.org/users/ansond/code/endpoint_core/#8e63cd2c003a