forked from guyzmo/avr_nrf_ancs_library
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathancs.h
23 lines (19 loc) · 780 Bytes
/
ancs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/** (c)2013, Bernard Pratz, bernard at pratz dot net
* under the WTFPL License
*/
#ifndef _ANCS_H_
#define _ANCS_H_
#include "ancs_notification.h"
#include "ancs_notification_list.h"
#include "ancs_notification_source.h"
#include "ancs_data_source.h"
// #define NO_CACHE // disables caching
// #define ANCS_DATA_SIZE 10 // sets the length of the attributes to be grabbed
// in setup():
// ancs_init(); // initializes the ancs library
// in aci_loop():
// ancs_run(); // executes ancs routines
// in ACI_EVT_DATA_RECEIVED:
// ancs_notification_source_parser() // to be called with the data incoming for the notification source pipe
// ancs_data_source_parser() // to be called with the data incoming for the data source pipe
#endif