Atmel Wifi Provisioning API for Applications.
Copyright (c) 2017-2021 Microchip Technology Inc. and its subsidiaries.
#include "at_ble_api.h"
Data Structures | |
struct | _scanitem |
Store the scan list and then later populate when creating the database. More... | |
struct | at_ble_wifiprov_complete_ind |
struct | at_ble_wifiprov_scan_mode_change_ind_t |
struct | wifiprov_scanlist_ind |
Macros | |
#define | MAX_LOCALNAME_LENGTH 11 |
#define | MAX_WIPROVTASK_AP_NUM 15 |
#define | MAX_WIPROVTASK_PASS_LENGTH 63 |
#define | MAX_WIPROVTASK_SSID_LENGTH 32 |
Typedefs | |
typedef struct _scanitem | scanitem |
Store the scan list and then later populate when creating the database. More... | |
Enumerations | |
enum | { WIFIPROV_CONFIGURE_REQ = 0xDC00, WIFIPROV_CONFIGURE_CFM, WIFIPROV_CREATE_DB_REQ, WIFIPROV_CREATE_DB_CFM, WIFIPROV_START_CMD, WIFIPROV_DISABLE_CMD, WIFIPROV_COMPLETE_IND, WIFIPROV_SCANLIST_IND, WIFIPROV_CONNECTION_STATE_CHANGE_IND, WIFIPROV_SCAN_MODE_CHANGE_IND } |
Messages from APP to WiFi Provisioning Profile. More... | |
enum | { WIFIPROV_SCANMODE_INIT = 0, WIFIPROV_SCANMODE_SCANNING = 1, WIFIPROV_SCANMODE_DONE } |
WIFIPROV_SCANMODE. More... | |
enum | { WIFIPROV_CON_STATE_DISCONNECTED, WIFIPROV_CON_STATE_CONNECTING, WIFIPROV_CON_STATE_CONNECTED } |
Functions | |
void | wifiprov_complete_ind_handler (uint8_t *data, at_ble_wifiprov_complete_ind *param) |
Provisioning complete handler. More... | |
at_ble_status_t | wifiprov_configure_provisioning (uint8_t *localname, at_ble_auth_t lauthtype) |
Configure provisioning. More... | |
at_ble_status_t | wifiprov_create_db (void) |
Create provisioning database. More... | |
at_ble_status_t | wifiprov_disable (void) |
Disable provisioning. More... | |
at_ble_status_t | wifiprov_scan_list_ind_send (struct wifiprov_scanlist_ind *param) |
wifiprov_scan_list_ind_send More... | |
void | wifiprov_scan_mode_change_ind_handler (uint8_t *data, at_ble_wifiprov_scan_mode_change_ind_t *param) |
[Internal API] wifiprov_scan_mode_change_ind_handler More... | |
at_ble_status_t | wifiprov_scan_mode_change_ind_send (uint8_t scanmode) |
wifiprov_scan_mode_change_ind_send More... | |
at_ble_status_t | wifiprov_start (uint8_t *pin, uint8_t len) |
Start provisioning. More... | |
at_ble_status_t | wifiprov_wifi_con_update (uint8_t con_state) |
wifiprov_wifi_con_update More... | |
#define MAX_LOCALNAME_LENGTH 11 |
Referenced by wifiprov_configure_provisioning().
#define MAX_WIPROVTASK_AP_NUM 15 |
#define MAX_WIPROVTASK_PASS_LENGTH 63 |
Referenced by wifiprov_complete_ind_handler().
#define MAX_WIPROVTASK_SSID_LENGTH 32 |
Referenced by wifiprov_complete_ind_handler().