Microchip® Advanced Software Framework

ancs_app.c File Reference

ANCS Application.

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

#include <asf.h>
#include "console_serial.h"
#include "conf_extint.h"
#include "at_ble_api.h"
#include "platform.h"
#include "ble_manager.h"
#include "ancs_profile.h"
#include "ancs_app.h"
#include "at_ble_errno.h"
#include "at_ble_trace.h"

Functions

static at_ble_status_t app_connected_event_handler (void *params)
 app_connected_state blemanager notifies the application about state More...
 
static at_ble_status_t app_disconnected_event_handler (void *params)
 app_connected_state ble manager notifies the application about state More...
 
void button_cb (void)
 
int main (void)
 

Variables

static const ble_gap_event_cb_t app_gap_handle
 

static at_ble_status_t app_connected_event_handler ( void *  params)
static

app_connected_state blemanager notifies the application about state

Parameters
[in]at_ble_connected_t

References ALL_UNUSED, and AT_BLE_SUCCESS.

static at_ble_status_t app_disconnected_event_handler ( void *  params)
static

app_connected_state ble manager notifies the application about state

Parameters
[in]connected

References ALL_UNUSED, anp_client_adv(), and AT_BLE_SUCCESS.

void button_cb ( void  )

For user

const ble_gap_event_cb_t app_gap_handle
static
Initial value:
= {
}
static at_ble_status_t app_disconnected_event_handler(void *params)
app_connected_state ble manager notifies the application about state
Definition: ancs_app.c:178
static at_ble_status_t app_connected_event_handler(void *params)
app_connected_state blemanager notifies the application about state
Definition: ancs_app.c:168