wifi_con Service declarations
Copyright (c) 2019 Microchip Technology Inc. and its subsidiaries.
#include "asf.h"
#include "ble_manager.h"
Data Structures | |
struct | gatt_wificon_char_handler |
struct | wificon_gatt_service_handler |
Macros | |
#define | CHAR_USER_STR_WIFICON_APPARAM ("AP Parameters") |
#define | CHAR_USER_STR_WIFICON_APPARAM_LEN (13) |
WIFICON APPARAM NAME_LEN the length of the device name. More... | |
#define | CHAR_USER_STR_WIFICON_STATE ("WiFi Connect State") |
#define | CHAR_USER_STR_WIFICON_STATE_LEN (18) |
WIFICON STATE NAME_LEN the length of the device name. More... | |
#define | FAILED_WIFICON_CHANGE_PARAM (0xee) |
#define | INVALID_WIFICON_CHANGE_PARAM (0xff) |
status wifi_con of characteristics write More... | |
#define | VALID_WIFICON_CHANGE_PARAM (0xdd) |
#define | WIFICON_CHARACTERISTIC_COUNT (2) |
count of characteristics in wifi_con service More... | |
#define | WIFICON_INCLUDED_SERVICE_COUNT (0) |
count of included services in wifi_con service More... | |
#define | WIFICON_UUID_128_LEN (16) |
WIFICON_UUID_LEN the size of WIFICON service uuid. More... | |
Typedefs | |
typedef struct gatt_wificon_char_handler | gatt_wificon_char_handler_t |
typedef struct wificon_gatt_service_handler | wificon_gatt_service_handler_t |
Functions | |
void | init_wifi_con_service (wificon_gatt_service_handler_t *wificon_handle) |
Initialize the wifi_con service with default values. More... | |
uint8_t | wificon_char_change_apparam (at_ble_characteristic_changed_t *param, wificon_gatt_service_handler_t *wificon_handle) |
wificon service apparam characteristics change More... | |
uint8_t | wificon_char_change_state_client_cfg (at_ble_characteristic_changed_t *param, wificon_gatt_service_handler_t *wificon_handle) |
wificon service state characteristics client config change More... | |
at_ble_status_t | wificon_connect_noti (wificon_gatt_service_handler_t *wificon_handler, uint8_t s) |
notification on the wifi connecting progress More... | |
at_ble_status_t | wificon_primary_service_define (wificon_gatt_service_handler_t *wificon_primary_service) |
Defining the wifi_con service to the attribute data base. More... | |