Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: libnsdl EthernetInterface mbed-rtos
Dependents: IoT_LED_demo ServoTest uWater_Project hackathon ... more
Diff: NSDL/nsdl_support.h
- Revision:
- 13:8d864e72cc68
- Parent:
- 7:ee88023ff81e
- Child:
- 14:8655dff00fbf
--- 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__
