Microchip® Advanced Software Framework

csc_app.h File Reference

Custom Serial Chat Application declarations.

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

#include "stdio.h"

Macros

#define APP_TX_BUF_SIZE   (150)
 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...
 
#define TAB_PRESSED   (9)
 TAB entered. More...
 

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...
 

#define APP_TX_BUF_SIZE   (150)

Application maximum transmit buffer size.

Referenced by csc_app_send_buf(), and main().

#define BACKSPACE_BUTTON_PRESS   (8)

Entered backspace button.

Referenced by csc_app_send_buf().

#define ENTER_BUTTON_PRESS   (13)

Enter button press to send data.

Referenced by csc_app_send_buf().

#define KEY_PAD_DEBOUNCE_TIME   (200)

Keypad debounce time.

#define SPACE_BAR   (32)

Space bar.

Referenced by csc_app_send_buf().

#define TAB_PRESSED   (9)

TAB entered.

Referenced by csc_app_send_buf().

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
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