Doug Anson / mbedEndpointNetwork

Dependencies:   libnsdl EthernetInterface mbed-rtos

Dependents:   IoT_LED_demo ServoTest uWater_Project hackathon ... more

Revision:
13:8d864e72cc68
Parent:
7:ee88023ff81e
Child:
14:8655dff00fbf
diff -r f3f176463e7a -r 8d864e72cc68 NSDL/nsdl_support.h
--- a/NSDL/nsdl_support.h	Wed Apr 08 23:08:58 2015 +0000
+++ b/NSDL/nsdl_support.h	Thu Apr 09 03:00:47 2015 +0000
@@ -21,6 +21,7 @@
 extern int nsp_port;                                        // our MDS UDP port number
 extern uint8_t ep_type[NSP_ENDPOINT_TYPE_LENGTH];           // our NODE type
 extern uint8_t lifetime_ptr[NSP_LIFE_TIME_LENGTH];          // MDS lifetime
+extern bool    endpoint_registered;                         // endpoint has been registered
 
 // ************************* MDS CONFIGURATION *********************************
 
@@ -45,5 +46,6 @@
 extern "C" void register_endpoint(bool init);
 extern void registration_update_thread(void const *args);
 extern "C" void nsdl_set_nsp_address(void);
+extern "C" bool nsdl_endpoint_is_registered(void);
 
 #endif // __NSDL_SUPPORT_H__