Definition of global configuration options. More...
Definition of global configuration options.
Definition in file netopt.h.
#include <stdint.h>#include <stdbool.h> Include dependency graph for netopt.h:
 Include dependency graph for netopt.h: This graph shows which files directly or indirectly include this file:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| Data Structures | |
| struct | netopt_scan_result | 
| Basic network scan result.  More... | |
| struct | netopt_scan_request | 
| Basic network scan request.  More... | |
| struct | netopt_connect_result | 
| Basic network connect result.  More... | |
| struct | netopt_disconnect_result | 
| Basic disconnect result.  More... | |
| struct | netopt_connect_request | 
| Basic network connect request.  More... | |
| struct | netopt_disconnect_request | 
| Basic network disconnect request.  More... | |
| Macros | |
| #define | NETOPT_SCAN_REQ_ALL_CH ((netopt_channel_t)(-1)) | 
| Request to scan all channels. | |
| #define | NETOPT_SCAN_RESULT_INITIALIZER(ch, str) | 
| Static initializer for a netopt_scan_result_t. | |
| #define | NETOPT_SCAN_REQUEST_INITIALIZER(ch, cb) | 
| Static initializer for a netopt_scan_request_t. | |
| #define | NETOPT_CONNECT_RESULT_INITIALIZER(ch) | 
| Static initializer for a netopt_connect_result_t. | |
| #define | NETOPT_DISCONNECT_RESULT_INITIALIZER(ch) | 
| Static initializer for a netopt_disconnect_result_t. | |
| #define | NETOPT_CONNECT_REQUEST_INITIALIZER(ch, ccb, dcb) | 
| Static initializer for a netopt_connect_request_t. | |
| #define | NETOPT_DISCONNECT_REQUEST_INITIALIZER(dcb) | 
| Static initializer for a netopt_disconnect_request_t. | |
| Typedefs | |
| typedef uint16_t | netopt_channel_t | 
| Netopt RF channel type. | |
| typedef int16_t | netopt_rssi_t | 
| Netopt RSSI type. | |
| typedef struct netopt_scan_result | netopt_scan_result_t | 
| Basic network scan result. | |
| typedef void(* | netopt_on_scan_result_t) (void *netif, const struct l2scan_list *res) | 
| Basic callback type on network scan NETOPT_CONNECT. | |
| typedef struct netopt_scan_request | netopt_scan_request_t | 
| Basic network scan request. | |
| typedef struct netopt_connect_result | netopt_connect_result_t | 
| Basic network connect result. | |
| typedef struct netopt_disconnect_result | netopt_disconnect_result_t | 
| Basic disconnect result. | |
| typedef void(* | netopt_on_connect_result_t) (void *netif, const struct netopt_connect_result *res) | 
| Basic callback type on network connection NETOPT_CONNECT. | |
| typedef void(* | netopt_on_disconnect_result_t) (void *netif, const struct netopt_disconnect_result *res) | 
| Basic callback type on network disconnection NETOPT_CONNECT. | |
| typedef struct netopt_connect_request | netopt_connect_request_t | 
| Basic network connect request. | |
| typedef struct netopt_disconnect_request | netopt_disconnect_request_t | 
| Basic network disconnect request. | |
| Functions | |
| const char * | netopt2str (netopt_t opt) | 
| Get a string ptr corresponding to opt, for debugging. | |