Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sol_network_link Struct Reference

Structure to represent a network link. More...

#include <sol-network.h>

Data Fields

struct sol_vector addrs
 List of network addresses. More...
 
uint16_t api_version
 API version. More...
 
enum sol_network_link_flags flags
 The status of the link. More...
 
uint16_t index
 the index of this link given by SO More...
 

Detailed Description

Structure to represent a network link.

This struct contains the necessary information do deal with a network link. It has the state sol_network_link_flags, the index (the value used by the SO to identify the link) and its address sol_network_link_addr.

Examples:
/src/samples/network/network-status.c.

Field Documentation

struct sol_vector sol_network_link::addrs

List of network addresses.

See Also
sol_network_link_addr
Examples:
/src/samples/network/network-status.c.

Referenced by _on_network_event().

uint16_t sol_network_link::api_version

API version.

enum sol_network_link_flags sol_network_link::flags

The status of the link.

Examples:
/src/samples/network/network-status.c.

Referenced by _on_network_event().

uint16_t sol_network_link::index

the index of this link given by SO


The documentation for this struct was generated from the following file: