物联网操作系统AliOS Things 3.3 |
#include <sys/socket.h>
#include <stdbool.h>
#include <uservice/uservice.h>
结构体 | |
struct | netmgr_ifconfig_info |
this struct defines netmgr ifconfig info 更多... | |
struct | netmgr_wifi_ap_info_t |
this struct defines wifi ap info 更多... | |
struct | netmgr_wifi_ap_config_t |
this struct defines wifi ap config 更多... | |
struct | netmgr_config |
netmgr config struct 更多... | |
struct | netmgr_del_config |
netmgr delete config 更多... | |
struct | netmgr_wifi_conenct_params |
netmgr wifi connect params 更多... | |
struct | netmgr_connect_params |
netmgr connect params 更多... | |
struct | netmgr_wifi_network_status_change_t |
this struct defines netmgr wifi status change info 更多... | |
struct | netmgr_msg_t |
this struct defines netmgr message 更多... | |
struct | netmgr_wifi_ap_list_t |
this struct defines netmgr message callback function 更多... | |
宏定义 | |
#define | IPADDR_STR_LEN 16 |
#define | NETMGR_SSID_MAX_LEN (32) |
#define | NETMGR_PWD_MAX_LEN (64) |
#define | NETMGR_BSSID_MAX_LEN (6) |
#define | MAX_AP_CONFIG_NUM (3) |
#define | NETMGR_WIFI_METHOD_MAX_LENGTH (32) |
#define | NETMGR_WIFI_STATUS_MAX_LENGTH (32) |
#define | NETMGR_WIFI_SSID_MAX_LENGTH (32) |
#define | NETMGR_WIFI_PASSWORD_MAX_LENGTH (64) |
类型定义 | |
typedef struct netmgr_ifconfig_info | netmgr_ifconfig_info_t |
this struct defines netmgr ifconfig info 更多... | |
typedef struct netmgr_wifi_ap_config_t | netmgr_wifi_config_t |
typedef struct netmgr_config | netmgr_config_t |
netmgr config struct 更多... | |
typedef struct netmgr_del_config | netmgr_del_config_t |
netmgr delete config 更多... | |
typedef struct netmgr_wifi_conenct_params | netmgr_wifi_connect_params_t |
netmgr wifi connect params 更多... | |
typedef struct netmgr_connect_params | netmgr_connect_params_t |
netmgr connect params 更多... | |
typedef void(* | netmgr_msg_cb_t) (netmgr_msg_t *msg) |
this struct defines netmgr message callback function 更多... | |
typedef int | netmgr_hdl_t |
枚举 | |
enum | eth_mac_speed_e { ETH_MAC_SPEED_10M , ETH_MAC_SPEED_100M , ETH_MAC_SPEED_1000M } |
ethernet speed type 更多... | |
enum | eth_mac_duplex_e { ETH_MAC_DUPLEX_HALF , ETH_MAC_DUPLEX_FULL } |
ethernet duplex type 更多... | |
enum | netmgr_ssid_format_e { NETMGR_SSID_FORMAT_UTF8 , NETMGR_SSID_FORMAT_GBK } |
ssid string format 更多... | |
enum | netmgr_type_t { NETMGR_TYPE_WIFI , NETMGR_TYPE_GPRS , NETMGR_TYPE_NBIOT , NETMGR_TYPE_ETH , NETMGR_TYPE_MAX } |
wireless network type 更多... | |
enum | netmgr_msgid_t { NETMGR_MSGID_MIN = 0 , NETMGR_MSGID_WIFI_STATUS = NETMGR_MSGID_MIN , NETMGR_MSGID_WIFI_STATUS_FROM_IMPL , NETMGR_MSGID_WIFI_TRACE_FROM_IMPL , NETMGR_MSGID_NETWORK_STATUS , NETMGR_MSGID_ETH_STATUS_FROM_IMPL , NETMGR_MSGID_MAX } |
netmgr message type 更多... | |