Phone Alert Status Application declarations.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | APP_BUTTON_EVENT_ID (1) |
Button event ID. More... | |
#define | BIT0_MASK (0x1 << 0) |
#define | BIT1_MASK (0x1 << 1) |
#define | BIT2_MASK (0x1 << 2) |
#define | DEVICE_MUTE (2) |
#define | DEVICE_NORMAL (3) |
#define | DEVICE_SILENT (1) |
#define | DISCOVER_ATTRIBUTES (6) |
#define | READ_ALERT_STATUS (4) |
#define | READ_REQUEST (4) |
#define | READ_RINGER_SETTING (5) |
#define | RINGER_NORMAL (0x1) |
#define | RINGER_SILENT (0x0) |
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... | |
static at_ble_status_t | pas_custom_event (void *param) |
#define APP_BUTTON_EVENT_ID (1) |
Button event ID.
#define BIT0_MASK (0x1 << 0) |
Referenced by display_alert_status_info().
#define BIT1_MASK (0x1 << 1) |
Referenced by display_alert_status_info().
#define BIT2_MASK (0x1 << 2) |
Referenced by display_alert_status_info().
#define DEVICE_MUTE (2) |
Referenced by main().
#define DEVICE_NORMAL (3) |
Referenced by main().
#define DEVICE_SILENT (1) |
Referenced by app_disconnected_event_handler(), and main().
#define DISCOVER_ATTRIBUTES (6) |
Referenced by main().
#define READ_ALERT_STATUS (4) |
Referenced by main().
#define READ_REQUEST (4) |
Referenced by main().
#define READ_RINGER_SETTING (5) |
Referenced by main().
#define RINGER_NORMAL (0x1) |
Referenced by display_ringer_setting_info().
#define RINGER_SILENT (0x0) |
Referenced by display_ringer_setting_info().
|
static |
app_connected_state blemanager notifies the application about state
[in] | at_ble_connected_t |
|
static |
app_connected_state ble manager notifies the application about state
[in] | connected |
|
static |