9 #ifndef __NBWIFIDCONSTANTS_H 10 #define __NBWIFIDCONSTANTS_H 14 #define SSID_MAX_LEN 32 // Set by the IEEE 802.11 PHY specifications 15 #define PASS_MAX_LEN 64 // Try to avoid running out of memory on small devices... 16 #define SEC_HUMAN_MAX_LEN 32 // max length for security option string, human readable 17 #define CIPHER_HUMAN_MAX_LEN 32 // max length for cipher option string, human readable 20 #define LIST_TABLE_NUM (0x00) 21 #define SEC_TABLE_NUM (0x01) 22 #define CIPH_TABLE_NUM (0x02) 23 #define BAND_TABLE_NUM (0x03) 24 #define CHANNEL_TABLE_NUM (0x04) 25 #define BSSTYPE_TABLE_NUM (0x05) 26 #define BSSID_TABLE_NUM (0x06) 27 #define SCAN_TABLE_NUM (0x07) 28 #define CONNMODE_TABLE_NUM (0x08) 29 #define ITU_CTRY_TABLE_NUM (0x09) 30 #define DEFAULT_TABLE_TABLE_NUM (0xFF) 33 #define LIST_TABLE_SIZE (10) 35 #define LIST_LABEL_MASTER "Master Table" 36 #define LIST_LABEL_SEC "Security" 37 #define LIST_LABEL_CIPH "Cipher" 38 #define LIST_LABEL_BAND "Band" 39 #define LIST_LABEL_CHANNEL "Channel" 40 #define LIST_LABEL_BSSTYPE "BssType" 41 #define LIST_LABEL_BSSID "BSSID" 42 #define LIST_LABEL_SCAN "Scan Method" 43 #define LIST_LABEL_CONNMODE "Connection Mode" 44 #define LIST_LABEL_ITU_CTRY "Country" 45 #define LIST_LABEL_DEFAULT "Default Values" 47 #define LIST_VALUE_MASTER LIST_TABLE_NUM 48 #define LIST_VALUE_SEC SEC_TABLE_NUM 49 #define LIST_VALUE_CIPH CIPH_TABLE_NUM 50 #define LIST_VALUE_BAND BAND_TABLE_NUM 51 #define LIST_VALUE_CHANNEL CHANNEL_TABLE_NUM 52 #define LIST_VALUE_BSSTYPE BSSTYPE_TABLE_NUM 53 #define LIST_VALUE_BSSID BSSID_TABLE_NUM 54 #define LIST_VALUE_SCAN SCAN_TABLE_NUM 55 #define LIST_VALUE_CONNMODE CONNMODE_TABLE_NUM 56 #define LIST_VALUE_ITU_CTRY ITU_CTRY_TABLE_NUM 57 #define LIST_VALUE_DEFAULT DEFAULT_TABLE_TABLE_NUM 60 #define SEC_TABLE_SIZE (6) 62 #define SEC_LABEL_OPEN "Open" 63 #define SEC_LABEL_WEP "WEP" 64 #define SEC_LABEL_WPA "WPA" 65 #define SEC_LABEL_WPA2 "WPA2" 66 #define SEC_LABEL_WPS "WPS" 67 #define SEC_LABEL_UNKNOWN "Unknown" 72 #define SEC_VALUE_OPEN (0x00) 73 #define SEC_VALUE_WEP (0x01) 74 #define SEC_VALUE_WPA (0x02) 75 #define SEC_VALUE_WPA2 (0x03) 76 #define SEC_VALUE_WPS (0x04) 77 #define SEC_VALUE_UNKNOWN (0xFF) 80 #define CIPH_TABLE_SIZE (5) 82 #define CIPH_LABEL_NONE "None" 83 #define CIPH_LABEL_TKIP "TKIP" 84 #define CIPH_LABEL_AES "AES" 85 #define CIPH_LABEL_MIXED "Mixed" 86 #define CIPH_LABEL_UNKNOWN "Unknown" 92 #define CIPH_VALUE_NONE (0x00) 93 #define CIPH_VALUE_TKIP (0x01) 94 #define CIPH_VALUE_AES (0x02) 95 #define CIPH_VALUE_MIXED (0x03) 96 #define CIPH_VALUE_UNKNOWN (0xFF) 104 #define BAND_TABLE_SIZE (2) 106 #define BAND_LABEL_5_GHZ "5 GHz" 107 #define BAND_LABEL_2_4_GHZ "2.4 GHz" 109 #define BAND_VALUE_5_GHZ (0x00) 110 #define BAND_VALUE_2_4_GHZ (0x01) 113 #define BSSTYPE_TABLE_SIZE (4) 115 #define BSSTYPE_LABEL_INFR "Infrastructure" 116 #define BSSTYPE_LABEL_ADHOC "AdHoc" 117 #define BSSTYPE_LABEL_ANY "Any" 118 #define BSSTYPE_LABEL_UNKNOWN "Unknown" 124 #define BSSTYPE_VALUE_INFR (0x00) 125 #define BSSTYPE_VALUE_ADHOC (0x01) 126 #define BSSTYPE_VALUE_ANY (0x02) 127 #define BSSTYPE_VALUE_UNKNOWN (0xFF) 130 #define SCAN_TABLE_SIZE (2) 132 #define SCAN_LABEL_ACTIVE "Active" 133 #define SCAN_LABEL_PASSIVE "Passive" 135 #define SCAN_VALUE_ACTIVE (0x00) 136 #define SCAN_VALUE_PASSIVE (0x01) 139 #define CONNMODE_TABLE_SIZE (2) 141 #define CONNMODE_LABEL_CLIENT "Client" 142 #define CONNMODE_LABEL_AP "Access Point" 144 #define CONNMODE_VALUE_CLIENT (0x00) 145 #define CONNMODE_VALUE_AP (0x01) 148 #define DEFAULT_TABLE_TABLE_SIZE (LIST_TABLE_SIZE - 1) 150 #define DEFAULT_TABLE_LABEL_SEC SEC_VALUE_WPA2 151 #define DEFAULT_TABLE_LABEL_CIPH CIPH_VALUE_AES 152 #define DEFAULT_TABLE_LABEL_BAND BAND_VALUE_2_4_GHZ 153 #define DEFAULT_TABLE_LABEL_CHANNEL (0x06) 154 #define DEFAULT_TABLE_LABEL_BSSTYPE BSSTYPE_VALUE_ANY 155 #define DEFAULT_TABLE_LABEL_BSSID (0x00) 156 #define DEFAULT_TABLE_LABEL_SCAN SCAN_VALUE_PASSIVE 157 #define DEFAULT_TABLE_LABEL_CONNMODE CONNMODE_VALUE_CLIENT 158 #define DEFAULT_TABLE_LABEL_ITU_CTRY (0x00) 160 #define DEFAULT_TABLE_VALUE_SEC LIST_VALUE_SEC 161 #define DEFAULT_TABLE_VALUE_CIPH LIST_VALUE_CIPH 162 #define DEFAULT_TABLE_VALUE_BAND LIST_VALUE_BAND 163 #define DEFAULT_TABLE_VALUE_CHANNEL LIST_VALUE_CHANNEL 164 #define DEFAULT_TABLE_VALUE_BSSTYPE LIST_VALUE_BSSTYPE 165 #define DEFAULT_TABLE_VALUE_BSSID LIST_VALUE_BSSID 166 #define DEFAULT_TABLE_VALUE_SCAN LIST_VALUE_SCAN 167 #define DEFAULT_TABLE_VALUE_CONNMODE LIST_VALUE_CONNMODE 168 #define DEFAULT_TABLE_VALUE_ITU_CTRY LIST_VALUE_ITU_CTRY 176 #define CONFIG_ERR_SUCCESS 0 177 #define CONFIG_ERR_MSG_LENGTH -1 178 #define CONFIG_ERR_SSID_LEN_SHORT -2 179 #define CONFIG_ERR_SSID_LEN_LONG -3 180 #define CONFIG_ERR_PASSWD_LEN_LONG -4 181 #define CONFIG_ERR_INVALID_TABLE -5 182 #define CONFIG_ERR_INVALID_OPTION -6 183 #define CONFIG_ERR_BSSID_OVERRUN -7 184 #define CONFIG_ERR_BSSID_UNDERRUN -8 185 #define CONFIG_ERR_MULTI_CHANNEL -9 186 #define CONFIG_ERR_CONNECTED -10 187 #define CONFIG_ERR_UNKNOWN 1 195 #define CONNECT_ERR_SUCCESS 0 196 #define CONNECT_ERR_NOT_CONFIG -1 197 #define CONNECT_ERR_INVALID_CONFIG_NUM -2 198 #define CONNECT_ERR_CONNECTED -3 199 #define CONNECT_ERR_SSID_NOT_FOUND -4 200 #define CONNECT_ERR_BSSID_NOT_FOUND -5 201 #define CONNECT_ERR_SEC_MISMATCH -6 202 #define CONNECT_ERR_CIPH_MISMATCH -7 203 #define CONNECT_ERR_INVALID_KEY -8 204 #define CONNECT_ERR_UNKNOWN 1 212 #define SCAN_ERR_SUCCESS 0 213 #define SCAN_ERR_MSG_LENGTH -1 214 #define SCAN_ERR_IN_PROGRESS -2 215 #define SCAN_ERR_SSID_LEN_LONG -3 216 #define SCAN_ERR_INVALID_TABLE -4 217 #define SCAN_ERR_INVALID_OPTION -5 218 #define SCAN_ERR_TOO_MANY_CHANNELS -6 219 #define SCAN_ERR_UNKNOWN 1 227 #define SAVE_CONF_ERR_SUCCESS 0 228 #define SAVE_CONF_ERR_INVALID_CONFIG_NUM -1 229 #define SAVE_CONF_ERR_NOT_CONFIGURED -2 230 #define SAVE_CONF_ERR_UNKNOWN 1 233 #define DRIVER_ERR_SUCCESS 0 234 #define DRIVER_ERR_UNKNOWN 1 236 #define GETOPT_ERR_SUCCESS 0 237 #define GETOPT_ERR_INVALID_TABLE -1 238 #define GETOPT_ERR_UNKNOWN 1 240 #define CONN_STATE_SCAN_FOR_CONN -1 241 #define CONN_STATE_NOT_CONNECTED 0 242 #define CONN_STATE_CONNECTED 1 244 #define MIN_FW_MAJOR_VER 0x00 245 #define MIN_FW_MINOR_VER 0x00 246 #define MAX_FW_MAJOR_VER 0xFF 247 #define MAX_FW_MINOR_VER 0xFF 251 namespace Constants {
253 TaskStart_Err_NoError = 0,
259 TaskKill_Err_NoError = 0,
265 Connect_BadPass = -1,
266 Connect_NoAPFound = -2,
267 Connect_BSSID_NotFound = -3,
268 Connect_TimedOut = -4,
278 BssType_Infrastructure = 0,
281 BssType_Unknown = 255,
382 #define CTRY_CODE( a, b, rev ) (((uint8_t)(b)) + (((uint8_t)(a))<<8) + (((uint8_t)(rev))<<24) + (__COUNTER__ & 0x0)) 383 #elif defined NB_LITTLE_ENDIAN 384 #define CTRY_CODE( a, b, rev ) (((uint8_t)(a)) + (((uint8_t)(b))<<8) + (((uint8_t)(rev))<<24) + (__COUNTER__ & 0x0)) 386 #error Must define device endianess 388 namespace ITU_Country {
389 enum { _COUNTRY_BASE = __COUNTER__ };
392 Afghanistan = CTRY_CODE(
'A',
'F', 0 ),
393 Albania = CTRY_CODE(
'A',
'L', 0 ),
394 Algeria = CTRY_CODE(
'D',
'Z', 0 ),
395 American_Samoa = CTRY_CODE(
'A',
'S', 0 ),
396 Angola = CTRY_CODE(
'A',
'O', 0 ),
397 Anguilla = CTRY_CODE(
'A',
'I', 0 ),
398 Antigua_And_Barbuda = CTRY_CODE(
'A',
'G', 0 ),
399 Argentina = CTRY_CODE(
'A',
'R', 0 ),
400 Armenia = CTRY_CODE(
'A',
'M', 0 ),
401 Aruba = CTRY_CODE(
'A',
'W', 0 ),
402 Australia = CTRY_CODE(
'A',
'U', 0 ),
403 Austria = CTRY_CODE(
'A',
'T', 0 ),
404 Azerbaijan = CTRY_CODE(
'A',
'Z', 0 ),
405 Bahamas = CTRY_CODE(
'B',
'S', 0 ),
406 Bahrain = CTRY_CODE(
'B',
'H', 0 ),
407 Baker_Island = CTRY_CODE(
'0',
'B', 0 ),
408 Bangladesh = CTRY_CODE(
'B',
'D', 0 ),
409 Barbados = CTRY_CODE(
'B',
'B', 0 ),
410 Belarus = CTRY_CODE(
'B',
'Y', 0 ),
411 Belgium = CTRY_CODE(
'B',
'E', 0 ),
412 Belize = CTRY_CODE(
'B',
'Z', 0 ),
413 Benin = CTRY_CODE(
'B',
'J', 0 ),
414 Bermuda = CTRY_CODE(
'B',
'M', 0 ),
415 Bhutan = CTRY_CODE(
'B',
'T', 0 ),
416 Bolivia = CTRY_CODE(
'B',
'O', 0 ),
417 Bosnia_And_Herzegovina = CTRY_CODE(
'B',
'A', 0 ),
418 Botswana = CTRY_CODE(
'B',
'W', 0 ),
419 Brazil = CTRY_CODE(
'B',
'R', 0 ),
420 British_Indian_Ocean_Territory = CTRY_CODE(
'I',
'O', 0 ),
421 Brunei_Darussalam = CTRY_CODE(
'B',
'N', 0 ),
422 Bulgaria = CTRY_CODE(
'B',
'G', 0 ),
423 Burkina_Faso = CTRY_CODE(
'B',
'F', 0 ),
424 Burundi = CTRY_CODE(
'B',
'I', 0 ),
425 Cambodia = CTRY_CODE(
'K',
'H', 0 ),
426 Cameroon = CTRY_CODE(
'C',
'M', 0 ),
427 Canada = CTRY_CODE(
'C',
'A', 0 ),
428 Cape_Verde = CTRY_CODE(
'C',
'V', 0 ),
429 Cayman_Islands = CTRY_CODE(
'K',
'Y', 0 ),
430 Central_African_Republic = CTRY_CODE(
'C',
'F', 0 ),
431 Chad = CTRY_CODE(
'T',
'D', 0 ),
432 Chile = CTRY_CODE(
'C',
'L', 0 ),
433 China = CTRY_CODE(
'C',
'N', 0 ),
434 Christmas_Island = CTRY_CODE(
'C',
'X', 0 ),
435 Colombia = CTRY_CODE(
'C',
'O', 0 ),
436 Comoros = CTRY_CODE(
'K',
'M', 0 ),
437 Congo = CTRY_CODE(
'C',
'G', 0 ),
438 Congo_The_Democratic_Republic_Of_The = CTRY_CODE(
'C',
'D', 0 ),
439 Costa_Rica = CTRY_CODE(
'C',
'R', 0 ),
440 Cote_Divoire = CTRY_CODE(
'C',
'I', 0 ),
441 Croatia = CTRY_CODE(
'H',
'R', 0 ),
442 Cuba = CTRY_CODE(
'C',
'U', 0 ),
443 Cyprus = CTRY_CODE(
'C',
'Y', 0 ),
444 Czech_Republic = CTRY_CODE(
'C',
'Z', 0 ),
445 Denmark = CTRY_CODE(
'D',
'K', 0 ),
446 Djibouti = CTRY_CODE(
'D',
'J', 0 ),
447 Dominica = CTRY_CODE(
'D',
'M', 0 ),
448 Dominican_Republic = CTRY_CODE(
'D',
'O', 0 ),
449 Down_Under = CTRY_CODE(
'A',
'U', 0 ),
450 Ecuador = CTRY_CODE(
'E',
'C', 0 ),
451 Egypt = CTRY_CODE(
'E',
'G', 0 ),
452 El_Salvador = CTRY_CODE(
'S',
'V', 0 ),
453 Equatorial_Guinea = CTRY_CODE(
'G',
'Q', 0 ),
454 Eritrea = CTRY_CODE(
'E',
'R', 0 ),
455 Estonia = CTRY_CODE(
'E',
'E', 0 ),
456 Ethiopia = CTRY_CODE(
'E',
'T', 0 ),
457 Falkland_Islands_Malvinas = CTRY_CODE(
'F',
'K', 0 ),
458 Faroe_Islands = CTRY_CODE(
'F',
'O', 0 ),
459 Fiji = CTRY_CODE(
'F',
'J', 0 ),
460 Finland = CTRY_CODE(
'F',
'I', 0 ),
461 France = CTRY_CODE(
'F',
'R', 0 ),
462 French_Guina = CTRY_CODE(
'G',
'F', 0 ),
463 French_Polynesia = CTRY_CODE(
'P',
'F', 0 ),
464 French_Southern_Territories = CTRY_CODE(
'T',
'F', 0 ),
465 Gabon = CTRY_CODE(
'G',
'A', 0 ),
466 Gambia = CTRY_CODE(
'G',
'M', 0 ),
467 Georgia = CTRY_CODE(
'G',
'E', 0 ),
468 Germany = CTRY_CODE(
'D',
'E', 0 ),
469 Ghana = CTRY_CODE(
'G',
'H', 0 ),
470 Gibraltar = CTRY_CODE(
'G',
'I', 0 ),
471 Greece = CTRY_CODE(
'G',
'R', 0 ),
472 Grenada = CTRY_CODE(
'G',
'D', 0 ),
473 Guadeloupe = CTRY_CODE(
'G',
'P', 0 ),
474 Guam = CTRY_CODE(
'G',
'U', 0 ),
475 Guatemala = CTRY_CODE(
'G',
'T', 0 ),
476 Guernsey = CTRY_CODE(
'G',
'G', 0 ),
477 Guinea = CTRY_CODE(
'G',
'N', 0 ),
478 Guinea_Bissau = CTRY_CODE(
'G',
'W', 0 ),
479 Guyana = CTRY_CODE(
'G',
'Y', 0 ),
480 Haiti = CTRY_CODE(
'H',
'T', 0 ),
481 Holy_See_Vatican_City_State = CTRY_CODE(
'V',
'A', 0 ),
482 Honduras = CTRY_CODE(
'H',
'N', 0 ),
483 Hong_Kong = CTRY_CODE(
'H',
'K', 0 ),
484 Hungary = CTRY_CODE(
'H',
'U', 0 ),
485 Iceland = CTRY_CODE(
'I',
'S', 0 ),
486 India = CTRY_CODE(
'I',
'N', 0 ),
487 Indonesia = CTRY_CODE(
'I',
'D', 0 ),
488 Iran_Islamic_Republic_Of = CTRY_CODE(
'I',
'R', 0 ),
489 Iraq = CTRY_CODE(
'I',
'Q', 0 ),
490 Ireland = CTRY_CODE(
'I',
'E', 0 ),
491 Israel = CTRY_CODE(
'I',
'L', 0 ),
492 Italy = CTRY_CODE(
'I',
'T', 0 ),
493 Jamaica = CTRY_CODE(
'J',
'M', 0 ),
494 Japan = CTRY_CODE(
'J',
'P', 2 ),
495 Jersey = CTRY_CODE(
'J',
'E', 0 ),
496 Jordan = CTRY_CODE(
'J',
'O', 0 ),
497 Kazakhstan = CTRY_CODE(
'K',
'Z', 0 ),
498 Kenya = CTRY_CODE(
'K',
'E', 0 ),
499 Kiribati = CTRY_CODE(
'K',
'I', 0 ),
500 Korea_Republic_Of = CTRY_CODE(
'K',
'R', 0 ),
501 Kosovo = CTRY_CODE(
'0',
'A', 0 ),
502 Kuwait = CTRY_CODE(
'K',
'W', 0 ),
503 Kyrgyzstan = CTRY_CODE(
'K',
'G', 0 ),
504 Lao_Peoples_Democratic_Repubic = CTRY_CODE(
'L',
'A', 0 ),
505 Latvia = CTRY_CODE(
'L',
'V', 0 ),
506 Lebanon = CTRY_CODE(
'L',
'B', 0 ),
507 Lesotho = CTRY_CODE(
'L',
'S', 0 ),
508 Liberia = CTRY_CODE(
'L',
'R', 0 ),
509 Libyan_Arab_Jamahiriya = CTRY_CODE(
'L',
'Y', 0 ),
510 Liechtenstein = CTRY_CODE(
'L',
'I', 0 ),
511 Lithuania = CTRY_CODE(
'L',
'T', 0 ),
512 Luxembourg = CTRY_CODE(
'L',
'U', 0 ),
513 Macao = CTRY_CODE(
'M',
'O', 0 ),
514 Macedonia_Former_Yugoslav_Republic_Of = CTRY_CODE(
'M',
'K', 0 ),
515 Madagascar = CTRY_CODE(
'M',
'G', 0 ),
516 Malawi = CTRY_CODE(
'M',
'W', 0 ),
517 Malaysia = CTRY_CODE(
'M',
'Y', 0 ),
518 Maldives = CTRY_CODE(
'M',
'V', 0 ),
519 Mali = CTRY_CODE(
'M',
'L', 0 ),
520 Malta = CTRY_CODE(
'M',
'T', 0 ),
521 Man_Isle_Of = CTRY_CODE(
'I',
'M', 0 ),
522 Martinique = CTRY_CODE(
'M',
'Q', 0 ),
523 Mauritania = CTRY_CODE(
'M',
'R', 0 ),
524 Mauritius = CTRY_CODE(
'M',
'U', 0 ),
525 Mayotte = CTRY_CODE(
'Y',
'T', 0 ),
526 Mexico = CTRY_CODE(
'M',
'X', 0 ),
527 Micronesia_Federated_States_Of = CTRY_CODE(
'F',
'M', 0 ),
528 Moldova_Republic_Of = CTRY_CODE(
'M',
'D', 0 ),
529 Monaco = CTRY_CODE(
'M',
'C', 0 ),
530 Mongolia = CTRY_CODE(
'M',
'N', 0 ),
531 Montenegro = CTRY_CODE(
'M',
'E', 0 ),
532 Montserrat = CTRY_CODE(
'M',
'S', 0 ),
533 Morocco = CTRY_CODE(
'M',
'A', 0 ),
534 Mozambique = CTRY_CODE(
'M',
'Z', 0 ),
535 Myanmar = CTRY_CODE(
'M',
'M', 0 ),
536 Namibia = CTRY_CODE(
'N',
'A', 0 ),
537 Nauru = CTRY_CODE(
'N',
'R', 0 ),
538 Nepal = CTRY_CODE(
'N',
'P', 0 ),
539 Netherlands = CTRY_CODE(
'N',
'L', 0 ),
540 Netherlands_Antilles = CTRY_CODE(
'A',
'N', 0 ),
541 New_Caledonia = CTRY_CODE(
'N',
'C', 0 ),
542 New_Zealand = CTRY_CODE(
'N',
'Z', 0 ),
543 Nicaragua = CTRY_CODE(
'N',
'I', 0 ),
544 Niger = CTRY_CODE(
'N',
'E', 0 ),
545 Nigeria = CTRY_CODE(
'N',
'G', 0 ),
546 Norfolk_Island = CTRY_CODE(
'N',
'F', 0 ),
547 Northern_Mariana_Islands = CTRY_CODE(
'M',
'P', 0 ),
548 Norway = CTRY_CODE(
'N',
'O', 0 ),
549 Oman = CTRY_CODE(
'O',
'M', 0 ),
550 Pakistan = CTRY_CODE(
'P',
'K', 0 ),
551 Palau = CTRY_CODE(
'P',
'W', 0 ),
552 Panama = CTRY_CODE(
'P',
'A', 0 ),
553 Papua_New_Guinea = CTRY_CODE(
'P',
'G', 0 ),
554 Paraguay = CTRY_CODE(
'P',
'Y', 0 ),
555 Peru = CTRY_CODE(
'P',
'E', 0 ),
556 Philippines = CTRY_CODE(
'P',
'H', 0 ),
557 Poland = CTRY_CODE(
'P',
'L', 0 ),
558 Portugal = CTRY_CODE(
'P',
'T', 0 ),
559 Pueto_Rico = CTRY_CODE(
'P',
'R', 0 ),
560 Qatar = CTRY_CODE(
'Q',
'A', 0 ),
561 Reunion = CTRY_CODE(
'R',
'E', 0 ),
562 Romania = CTRY_CODE(
'R',
'O', 0 ),
563 Russian_Federation = CTRY_CODE(
'R',
'U', 0 ),
564 Rwanda = CTRY_CODE(
'R',
'W', 0 ),
565 Saint_Kitts_And_Nevis = CTRY_CODE(
'K',
'N', 0 ),
566 Saint_Lucia = CTRY_CODE(
'L',
'C', 0 ),
567 Saint_Pierre_And_Miquelon = CTRY_CODE(
'P',
'M', 0 ),
568 Saint_Vincent_And_The_Grenadines = CTRY_CODE(
'V',
'C', 0 ),
569 Samoa = CTRY_CODE(
'W',
'S', 0 ),
570 Sanit_Martin_Sint_Marteen = CTRY_CODE(
'M',
'F', 0 ),
571 Sao_Tome_And_Principe = CTRY_CODE(
'S',
'T', 0 ),
572 Saudi_Arabia = CTRY_CODE(
'S',
'A', 0 ),
573 Senegal = CTRY_CODE(
'S',
'N', 0 ),
574 Serbia = CTRY_CODE(
'R',
'S', 0 ),
575 Seychelles = CTRY_CODE(
'S',
'C', 0 ),
576 Sierra_Leone = CTRY_CODE(
'S',
'L', 0 ),
577 Singapore = CTRY_CODE(
'S',
'G', 0 ),
578 Slovakia = CTRY_CODE(
'S',
'K', 0 ),
579 Slovenia = CTRY_CODE(
'S',
'I', 0 ),
580 Solomon_Islands = CTRY_CODE(
'S',
'B', 0 ),
581 Somalia = CTRY_CODE(
'S',
'O', 0 ),
582 South_Africa = CTRY_CODE(
'Z',
'A', 0 ),
583 Spain = CTRY_CODE(
'E',
'S', 0 ),
584 Sri_Lanka = CTRY_CODE(
'L',
'K', 0 ),
585 Suriname = CTRY_CODE(
'S',
'R', 0 ),
586 Swaziland = CTRY_CODE(
'S',
'Z', 0 ),
587 Sweden = CTRY_CODE(
'S',
'E', 0 ),
588 Switzerland = CTRY_CODE(
'C',
'H', 0 ),
589 Syrian_Arab_Republic = CTRY_CODE(
'S',
'Y', 0 ),
590 Taiwan_Province_Of_China = CTRY_CODE(
'T',
'W', 0 ),
591 Tajikistan = CTRY_CODE(
'T',
'J', 0 ),
592 Tanzania_United_Republic_Of = CTRY_CODE(
'T',
'Z', 0 ),
593 Thailand = CTRY_CODE(
'T',
'H', 0 ),
594 Togo = CTRY_CODE(
'T',
'G', 0 ),
595 Tonga = CTRY_CODE(
'T',
'O', 0 ),
596 Trinidad_And_Tobago = CTRY_CODE(
'T',
'T', 0 ),
597 Tunisia = CTRY_CODE(
'T',
'N', 0 ),
598 Turkey = CTRY_CODE(
'T',
'R', 0 ),
599 Turkmenistan = CTRY_CODE(
'T',
'M', 0 ),
600 Turks_And_Caicos_Islands = CTRY_CODE(
'T',
'C', 0 ),
601 Tuvalu = CTRY_CODE(
'T',
'V', 0 ),
602 Uganda = CTRY_CODE(
'U',
'G', 0 ),
603 Ukraine = CTRY_CODE(
'U',
'A', 0 ),
604 United_Arab_Emirates = CTRY_CODE(
'A',
'E', 0 ),
605 United_Kingdom = CTRY_CODE(
'G',
'B', 0 ),
606 United_States = CTRY_CODE(
'U',
'S', 0 ),
607 United_States_Rev4 = CTRY_CODE(
'U',
'S', 4 ),
608 United_States_No_Dfs = CTRY_CODE(
'Q',
'2', 0 ),
609 United_States_Minor_Outlying_Islands = CTRY_CODE(
'U',
'M', 0 ),
610 Uruguay = CTRY_CODE(
'U',
'Y', 0 ),
611 Uzbekistan = CTRY_CODE(
'U',
'Z', 0 ),
612 Vanuatu = CTRY_CODE(
'V',
'U', 0 ),
613 Venezuela = CTRY_CODE(
'V',
'E', 0 ),
614 Viet_Nam = CTRY_CODE(
'V',
'N', 0 ),
615 Virgin_Islands_British = CTRY_CODE(
'V',
'G', 0 ),
616 Virgin_Islands_Us = CTRY_CODE(
'V',
'I', 0 ),
617 Wallis_And_Futuna = CTRY_CODE(
'W',
'F', 0 ),
618 West_Bank = CTRY_CODE(
'0',
'C', 0 ),
619 Western_Sahara = CTRY_CODE(
'E',
'H', 0 ),
620 World_Wide_Xx = CTRY_CODE(
'X',
'X', 0 ),
621 Yemen = CTRY_CODE(
'Y',
'E', 0 ),
622 Zambia = CTRY_CODE(
'Z',
'M', 0 ),
623 Zimbabwe = CTRY_CODE(
'Z',
'W', 0 ),
626 enum { NUM_COUNTRIES = __COUNTER__ - _COUNTRY_BASE };
Definition: nbWifiConstants.h:363
Definition: nbWifiConstants.h:372
Definition: nbWifiConstants.h:260
Definition: nbWifiConstants.h:254
Definition: nbWifiConstants.h:305
Success.
Definition: nbWifiConstants.h:345
In Progress.
Definition: nbWifiConstants.h:347
Definition: nbWifiConstants.h:364
Definition: nbWifiConstants.h:330
Definition: nbWifiConstants.h:324
Not Initialized.
Definition: nbWifiConstants.h:346
Definition: nbWifiConstants.h:280
Definition: nbWifiConstants.h:329
Definition: nbWifiConstants.h:365
Definition: nbWifiConstants.h:307
Definition: nbWifiConstants.h:327
GeneralErrors
Definition: nbWifiConstants.h:304
InitializationErrors
Definition: nbWifiConstants.h:323
Definition: nbWifiConstants.h:326
Definition: dhcpv6_internal.h:34
Definition: nbWifiConstants.h:310
Definition: nbWifiConstants.h:370
Definition: nbWifiConstants.h:325
Definition: nbWifiConstants.h:255
Definition: nbWifiConstants.h:366
Definition: nbWifiConstants.h:309
Definition: nbWifiConstants.h:328
Definition: nbWifiConstants.h:306
ScanErrors
Definition: nbWifiConstants.h:344
ConnectErrors
Definition: nbWifiConstants.h:362
Definition: nbWifiConstants.h:308
Option.
Definition: nbWifiConstants.h:348
Definition: nbWifiConstants.h:369
Definition: nbWifiConstants.h:367
Definition: nbWifiConstants.h:371
Definition: nbWifiConstants.h:368