Microchip® Advanced Software Framework

battery_app.h File Reference

BLE Battery Service Application Declarations.

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

#include <asf.h>
#include "at_ble_api.h"

Macros

#define AUTH_CREDENTIALS   { M2M_802_1X_USR_NAME, M2M_802_1X_PWD }
 
#define DEFAULT_AUTH   M2M_WIFI_SEC_WPA_PSK
 
#define DEFAULT_KEY   "12345678"
 
#define DEFAULT_SSID   "DEMO_AP"
 
#define M2M_DEVICE_NAME   "WINC3400_00:00"
 
#define MAC_ADDRESS   {0xf8, 0xf0, 0x05, 0x45, 0xD4, 0x84}
 
#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)
 

Functions

void ble_bat_init (void)
 
void ble_bat_process_event (at_ble_events_t event, at_ble_event_parameter_t *params)
 

#define AUTH_CREDENTIALS   { M2M_802_1X_USR_NAME, M2M_802_1X_PWD }
#define DEFAULT_AUTH   M2M_WIFI_SEC_WPA_PSK
#define DEFAULT_KEY   "12345678"
#define DEFAULT_SSID   "DEMO_AP"
#define M2M_DEVICE_NAME   "WINC3400_00:00"
#define MAC_ADDRESS   {0xf8, 0xf0, 0x05, 0x45, 0xD4, 0x84}
#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)

void ble_bat_init ( void  )
void ble_bat_process_event ( at_ble_events_t  event,
at_ble_event_parameter_t params 
)