Configurations and definitions of different test applications.
Copyright (c) 2019 Microchip Technology Inc. and its subsidiaries.
Data Structures | |
struct | tstrM2mAp |
#define AP_LIST |
#define AUTH_CREDENTIALS { M2M_802_1X_USR_NAME, M2M_802_1X_PWD } |
#define BLE_PIN {1, 2, 3, 4, 5, 6} |
#define BROADCAST "255.255.255.255" |
#define CLIENT_KEEPALIVE "0001,"DEMO_PRODUCT_NAME"," |
#define CLIENT_REPORT "0002,"DEMO_PRODUCT_NAME",00.0,0," |
#define CLIENT_RPOS_LED (sizeof(CLIENT_REPORT) - 3) |
#define CLIENT_RPOS_TEMP (sizeof(CLIENT_REPORT) - 8) |
#define CONF_DEMO_LED_PIN PIN_PB12 |
#define DEFAULT_AUTH M2M_WIFI_SEC_WPA_PSK |
Referenced by app_ble_wifi_provisioning().
#define DEFAULT_KEY "12345678" |
Referenced by app_ble_wifi_provisioning().
#define DEFAULT_PREFIX "NMI" |
#define DEFAULT_SSID "DEMO_AP" |
Referenced by app_ble_wifi_provisioning().
#define DEMO_PRODUCT_NAME "WINC3400_DEMO" |
#define DEMO_REPORT_INTERVAL (1000) |
#define DEMO_SERVER_IP "192.168.2.3" |
#define DEMO_SERVER_PORT (6666) |
#define GAIN_TABLE_FROM_FLASH 0 |
#define GROWL_RPOS_TEMP (sizeof(GRWOL_REPORT) - 5) |
#define GRWOL_REPORT ""DEMO_PRODUCT_NAME" = 00.0" |
#define HTTP_PROV_SERVER_DOMAIN_NAME "atmelconfig.com" |
#define HTTP_PROV_SERVER_IP_ADDRESS {192, 168, 1, 1} |
#define M2M_802_1X_PWD "M2M_PAssworD" |
#define M2M_802_1X_USR_NAME "Nmi_M2m_Usr" |
#define M2M_CLIENT_CHECK_STATE ((uint8)0) |
#define M2M_CLIENT_CMD_LED_OFF ((uint8)11) |
#define M2M_CLIENT_CMD_LED_ON ((uint8)12) |
#define M2M_CLIENT_CMD_WAKE_FIRMWARE ((uint8)10) |
#define M2M_CLIENT_RESP_BTN1_PRESS ((uint8)21) |
#define M2M_CLIENT_RESP_BTN2_PRESS ((uint8)22) |
#define M2M_CLIENT_RESP_MOVEMENT ((uint8)20) |
#define M2M_DEVICE_NAME "WINC3400_00:00" |
Referenced by app_wifi_init().
#define M2M_SEC_PARAM_MAX M2M_MAX(M2M_PSK_MAX_LENGTH, sizeof(tstr1xAuthCredentials)) |
#define M2M_SERVER_CHANNEL M2M_WIFI_CH_6 |
#define MAC_ADDRESS {0xf8, 0xf0, 0x05, 0x45, 0xD4, 0x84} |
Referenced by app_wifi_init().
#define NMI_M2M_AP "WINC3400_00:00" |
#define NMI_M2M_AP_CHANNEL M2M_WIFI_CH_1 |
#define NMI_M2M_AP_SEC M2M_WIFI_SEC_OPEN |
#define NMI_M2M_AP_SSID_MODE SSID_MODE_VISIBLE |
#define NMI_M2M_AP_WEP_KEY "1234567890" |
#define NMI_M2M_AP_WEP_KEY_INDEX M2M_WIFI_WEP_KEY_INDEX_1 |
#define OTA_URL "http://192.168.1.101:8080/m2m_ota_3a0.bin" |
#define PROV_DISABLED 0 |
#define PROV_ENABLED 1 |
#define PS_REQ_CHECK 4 |
#define PS_REQ_SLEEP 3 |
#define PS_SLEEP 1 |
#define PS_SLEEP_TIME_MS 30000 /*30sec*/ |
Referenced by app_wifi_init().
#define PS_WAKE 0 |
#define SERVER_REPORT "0002,"DEMO_PRODUCT_NAME"," |
#define SERVER_RPOS_LED (sizeof(SERVER_REPORT) - 1) |
#define SHARED_PKT_MEM_BASE 0xd0000UL |
#define TEST_BUS_BUF_SZ 100U |
#define WEP_CONN_PARAM { WEP_KEY_INDEX, WEP_KEY_SIZE, WEP_KEY} |
#define WEP_KEY "1234567890" |
#define WEP_KEY_INDEX M2M_WIFI_WEP_KEY_INDEX_1 |
#define WEP_KEY_SIZE sizeof(WEP_KEY) |
#define WPS_DISABLED 0 |
#define WPS_ENABLED 1 |