CHENGQI YANG / SmartLab_MuRata
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers WIFICode.h Source File

WIFICode.h

00001 #ifndef SmartLab_MuRata_ErrorCode_WIFICode
00002 #define SmartLab_MuRata_ErrorCode_WIFICode
00003 
00004 namespace SmartLabMuRata
00005 {
00006 /// WIFI API Response Code
00007 enum WIFICode {
00008     WIFI_NORESPONSE = -1,
00009     WIFI_SUCCESS = 0x00,
00010     WIFI_ERR_UNKNOWN_COUNTRY = 0x01,
00011     WIFI_ERR_INIT_FAIL = 0x02,
00012     WIFI_ERR_ALREADY_JOINED = 0x03,
00013     WIFI_ERR_AUTH_TYPE = 0x04,
00014     WIFI_ERR_JOIN_FAIL = 0x05,
00015     WIFI_ERR_NOT_JOINED = 0x06,
00016     WIFI_ERR_LEAVE_FAILED = 0x07,
00017     WIFI_COMMAND_PENDING = 0x08,
00018     WIFI_WPS_NO_CONFIG = 0x09,
00019     WIFI_NETWORK_UP = 0x10,
00020     WIFI_NETWORK_DOWN = 0x11,
00021     WIFI_FAIL = 0xFF,
00022 };
00023 }
00024 
00025 #endif