Microchip® Advanced Software Framework

cscs.c File Reference

Custom Serial Chat Service.

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

#include "stddef.h"
#include "stdio.h"
#include "string.h"
#include "at_ble_api.h"
#include "ble_manager.h"
#include "cscs.h"

Functions

at_ble_status_t csc_serv_init (uint8_t *buf, uint16_t len)
 service Configuration function More...
 
at_ble_status_t csc_serv_send_data (uint16_t connhandle, uint8_t *databuf, uint16_t datalen)
 service send data function More...
 

Variables

csc_serv_t csc_inst
 

at_ble_status_t csc_serv_send_data ( uint16_t  connhandle,
uint8_t *  databuf,
uint16_t  datalen 
)

csc_serv_t csc_inst