Microchip® Advanced Software Framework

wifi_con.c File Reference

wifi_con Service

Copyright (c) 2019 Microchip Technology Inc. and its subsidiaries.

#include "wifi_con.h"

Macros

#define APPARAM_INITIAL_VALUE   (0)
 
#define APPARAM_MAX_LEN   (98)
 
#define STATE_INITIAL_VALUE   (0)
 

Functions

void init_wifi_con_service (wificon_gatt_service_handler_t *wificon_handle)
 wifi_con service initialization 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)
 wifi_con service definition More...
 

Variables

at_ble_connected_t ble_connected_dev_info [MAX_DEVICE_CONNECTED]
 information of the connected devices More...
 
uint8_t connect_state = 0
 
uint8_t init_ap_param = 0
 
uint8_t init_connect_state = 0
 
static const
at_ble_char_presentation_t 
wificon_char_pres_fmt_struct
 
static const
at_ble_char_presentation_t 
wificon_char_pres_fmt_uint8
 

#define APPARAM_INITIAL_VALUE   (0)
#define APPARAM_MAX_LEN   (98)

Referenced by init_wifi_con_service().

#define STATE_INITIAL_VALUE   (0)

at_ble_connected_t ble_connected_dev_info[MAX_DEVICE_CONNECTED]

information of the connected devices

uint8_t connect_state = 0

Referenced by wificon_connect_noti().

uint8_t init_ap_param = 0

Referenced by init_wifi_con_service().

uint8_t init_connect_state = 0

Referenced by init_wifi_con_service().

const at_ble_char_presentation_t wificon_char_pres_fmt_struct
static
Initial value:
=
{
.unit = 0x2700,
.description = 0,
.format = 0x1b,
.exponent = 0,
.name_space = 0x01
}

Referenced by init_wifi_con_service().

const at_ble_char_presentation_t wificon_char_pres_fmt_uint8
static
Initial value:
=
{
.unit = 0x2700,
.description = 0,
.format = 0x04,
.exponent = 0,
.name_space = 0x01
}

Referenced by init_wifi_con_service().