Custom Serial Chat Application declarations.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
#include "stdio.h"
Macros | |
#define | APP_TX_BUF_SIZE (20) |
Application maximum transmit buffer size. More... | |
#define | BACKSPACE_BUTTON_PRESS (8) |
Entered backspace button. More... | |
#define | ENTER_BUTTON_PRESS (13) |
Enter button press to send data. More... | |
#define | KEY_PAD_DEBOUNCE_TIME (200) |
Keypad debounce time. More... | |
#define | SPACE_BAR (32) |
Space bar. More... | |
Functions | |
void | ble_csc_init (void) |
#define APP_TX_BUF_SIZE (20) |
Application maximum transmit buffer size.
Referenced by ble_csc_init(), ble_trans_service_send_buf(), csc_app_send_buf(), and main().
#define BACKSPACE_BUTTON_PRESS (8) |
Entered backspace button.
Referenced by ble_trans_service_send_buf(), and csc_app_send_buf().
#define ENTER_BUTTON_PRESS (13) |
Enter button press to send data.
Referenced by ble_trans_service_send_buf(), and csc_app_send_buf().
#define KEY_PAD_DEBOUNCE_TIME (200) |
Keypad debounce time.
#define SPACE_BAR (32) |
Space bar.
Referenced by ble_trans_service_send_buf(), and csc_app_send_buf().
void ble_csc_init | ( | void | ) |
References APP_TX_BUF_SIZE, AT_BLE_SUCCESS, AT_BLE_UNDEFINED_EVENT, ble_device_init(), ble_event_manager(), csc_app_send_buf(), csc_prf_buf_init(), csc_prf_report_ntf_cb(), DBG_LOG, m2m_ble_event_get(), notify_recv_ntf_handler(), NULL, and send_data.
Referenced by main().