nsp specific components for the NSP version of the impact endpoint
Dependents: mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp
Diff: MBEDEndpoint.h
- Revision:
- 23:6f6e97a276b9
- Parent:
- 22:0f2a0269ce6d
- Child:
- 24:b62fec3ff73c
--- a/MBEDEndpoint.h Wed Jul 02 20:17:30 2014 +0000 +++ b/MBEDEndpoint.h Thu Aug 28 21:17:12 2014 +0000 @@ -63,9 +63,10 @@ char m_nsp_port_str_def[PREFERENCE_VALUE_LEN+1]; // NSP address port buffer (default) int m_nsp_port; // NSP port int m_instance_id; // Instance ID for this endpoint + void *m_status_reporter; // Status Reporter public: - MBEDEndpoint(ErrorHandler *error_handler,void *transport,void *extra); + MBEDEndpoint(ErrorHandler *error_handler,void *transport,void *status_reporter,void *extra); virtual ~MBEDEndpoint(); ResourceFactory *initResourceFactory(); void run(); @@ -81,6 +82,8 @@ void sendObservations(); + void extraEventLoopWork(); + private: void initPreferences(); void initNSPAddress();