NSDL C library

Dependents:   NSDL_HelloWorld_WiFi UbloxModemNanoServiceClient IOT-NSDL_HelloWorld LWM2M_NanoService_Ethernet ... more

Fork of nsdl_lib by Tero Heinonen

Embed: (wiki syntax)

« Back to documentation index

sn_nsdl.h File Reference

sn_nsdl.h File Reference

NanoService Devices Library generic header file. More...

Go to the source code of this file.

Data Structures

struct  sn_nsdl_addr_
 Address structure of Packet data. More...
struct  registration_info_
 Used for creating manually nsdl registration message with sn_coap_register() More...

Typedefs

typedef enum sn_nsdl_capab_ sn_nsdl_capab_e
 Used protocol.
typedef enum sn_nsdl_addr_type_ sn_nsdl_addr_type_e
 Address type of given address.
typedef struct sn_nsdl_addr_ sn_nsdl_addr_s
 Address structure of Packet data.
typedef struct registration_info_ registration_info_t
 Used for creating manually nsdl registration message with sn_coap_register()

Enumerations

enum  sn_nsdl_capab_ { SN_NSDL_PROTOCOL_HTTP = 0x01, SN_NSDL_PROTOCOL_HTTPS = 0x02, SN_NSDL_PROTOCOL_COAP = 0x04 }
 

Used protocol.

More...
enum  sn_nsdl_addr_type_ { SN_NSDL_ADDRESS_TYPE_IPV6 = 0x01, SN_NSDL_ADDRESS_TYPE_IPV4 = 0x02, SN_NSDL_ADDRESS_TYPE_HOSTNAME = 0x03 }
 

Address type of given address.

More...

Detailed Description

NanoService Devices Library generic header file.

Created on: Aug 23, 2011 Author: tero

Definition in file sn_nsdl.h.


Typedef Documentation

Used for creating manually nsdl registration message with sn_coap_register()

typedef struct sn_nsdl_addr_ sn_nsdl_addr_s

Address structure of Packet data.

Address type of given address.

Used protocol.


Enumeration Type Documentation

Address type of given address.

Enumerator:
SN_NSDL_ADDRESS_TYPE_IPV6 

Supported.

SN_NSDL_ADDRESS_TYPE_IPV4 

Supported.

SN_NSDL_ADDRESS_TYPE_HOSTNAME 

Unsupported.

Definition at line 61 of file sn_nsdl.h.

Used protocol.

Enumerator:
SN_NSDL_PROTOCOL_HTTP 

Unsupported.

SN_NSDL_PROTOCOL_HTTPS 

Unsupported.

SN_NSDL_PROTOCOL_COAP 

Supported.

Definition at line 51 of file sn_nsdl.h.