Microchip® Advanced Software Framework

common/components/wifi/winc3400/ble/ble_services/cscs/cscs.h File Reference

Custom Serial Chat Service Declarations.

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

Data Structures

struct  csc_serv
 Custom serial chat service info. More...
 

Macros

#define CSC_UUID_128_LEN   (16)
 Custom serial chat UUID length. More...
 

Typedefs

typedef struct csc_serv csc_serv_t
 Custom serial chat service info. More...
 

Functions

at_ble_status_t csc_serv_init (uint8_t *buf, uint16_t len)
 Initialize the csc service initialization function. More...
 
at_ble_status_t csc_serv_send_data (uint16_t connhandle, uint8_t *databuf, uint16_t datalen)
 Function used for sending data to remote device. More...
 

#define CSC_UUID_128_LEN   (16)

Custom serial chat UUID length.

typedef struct csc_serv csc_serv_t

Custom serial chat service info.

at_ble_status_t csc_serv_init ( uint8_t *  buf,
uint16_t  len 
)

Initialize the csc service initialization function.

Parameters
[in]bufBuffer pointer for data to be send
[in]lensize of buffer

Initialize the csc service initialization function.

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

Function used for sending data to remote device.

Parameters
[in]bufBuffer pointer for data to be send
[in]lensize of buffer

Function used for sending data to remote device.