Microchip® Advanced Software Framework

common/components/wifi/winc3400/ble/ble_services/cscs/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_init ( uint8_t *  buf,
uint16_t  len 
)

service Configuration function

Initialize the csc service initialization function.

Referenced by csc_prf_init().

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

service send data function

Function used for sending data to remote device.

Referenced by csc_prf_send_data().

csc_serv_t csc_inst