HID Keyboard Device Profile Application declarations.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
#include "stdio.h"
Macros | |
#define | APP_BUTTON_EVENT_ID (1) |
Button event ID. More... | |
#define | CAPS_OFF (0) |
Disable caps. More... | |
#define | CAPS_ON (2) |
Enable caps. More... | |
#define | KEY_PAD_DEBOUNCE_TIME (200) |
Key pad debounce time. More... | |
#define | MAX_TEXT_LEN (11) |
Maximum text length. More... | |
#define | POSITION_SIX (6) |
Represent six position. More... | |
#define | POSITION_ZERO (0) |
Represent zero position. More... | |
Functions | |
static at_ble_status_t | hid_connect_cb (void *params) |
Callback call during connect event. More... | |
static at_ble_status_t | hid_custom_event (void *param) |
Callback call during custom event. More... | |
static at_ble_status_t | hid_disconnect_cb (void *params) |
Callback call during disconnect event. More... | |
static at_ble_status_t | hid_notification_confirmed_cb (void *params) |
Callback call during notification confirmation. More... | |
#define APP_BUTTON_EVENT_ID (1) |
Button event ID.
Referenced by pas_custom_event().
#define CAPS_OFF (0) |
Disable caps.
Referenced by main().
#define CAPS_ON (2) |
Enable caps.
Referenced by main().
#define KEY_PAD_DEBOUNCE_TIME (200) |
Key pad debounce time.
Referenced by main().
#define MAX_TEXT_LEN (11) |
Maximum text length.
Referenced by main().
#define POSITION_SIX (6) |
Represent six position.
Referenced by main().
#define POSITION_ZERO (0) |
Represent zero position.
Referenced by main().
|
static |
Callback call during connect event.
|
static |
Callback call during custom event.
|
static |
Callback call during disconnect event.
|
static |
Callback call during notification confirmation.