NSDL C library
Dependents: NSDL_HelloWorld_WiFi UbloxModemNanoServiceClient IOT-NSDL_HelloWorld LWM2M_NanoService_Ethernet ... more
Fork of nsdl_lib by
Note that use of this software requires acceptance of the Sensinode EULA: http://mbed.org/teams/Sensinode/code/nsdl_lib/wiki/EULA
Diff: sn_nsdl.h
- Revision:
- 4:0f845ba8adff
- Parent:
- 3:d8cb1afd7285
- Child:
- 6:1caf76131c9a
--- a/sn_nsdl.h Thu Oct 10 10:24:59 2013 +0000 +++ b/sn_nsdl.h Thu Oct 10 11:39:55 2013 +0000 @@ -43,18 +43,24 @@ /* * * * * * * * * * * * * * */ +/** + * \brief Used protocol + */ typedef enum sn_nsdl_capab_ { - SN_NSDL_PROTOCOL_HTTP = 0x01, - SN_NSDL_PROTOCOL_HTTPS = 0x02, - SN_NSDL_PROTOCOL_COAP = 0x04 + SN_NSDL_PROTOCOL_HTTP = 0x01, /**< Unsupported */ + SN_NSDL_PROTOCOL_HTTPS = 0x02, /**< Unsupported */ + SN_NSDL_PROTOCOL_COAP = 0x04 /**< Supported */ } sn_nsdl_capab_e; +/** + * \brief Address type of given address + */ typedef enum sn_nsdl_addr_type_ { - SN_NSDL_ADDRESS_TYPE_IPV6 = 0x01, - SN_NSDL_ADDRESS_TYPE_IPV4 = 0x02, - SN_NSDL_ADDRESS_TYPE_HOSTNAME = 0x03, + SN_NSDL_ADDRESS_TYPE_IPV6 = 0x01, /**< Supported */ + SN_NSDL_ADDRESS_TYPE_IPV4 = 0x02, /**< Supported */ + SN_NSDL_ADDRESS_TYPE_HOSTNAME = 0x03, /**< Unsupported */ SN_NSDL_ADDRESS_TYPE_NONE = 0xFF } sn_nsdl_addr_type_e; @@ -111,7 +117,7 @@ uint8_t *links_ptr; /**< Resource registration string */ uint16_t links_len; -}registration_info_t; +} registration_info_t; #endif /* SN_NSDL_H_ */