Microchip® Advanced Software Framework

gattc_task.c File Reference
#include "at_ble_api.h"
#include "platform.h"
#include "interface.h"
#include "gattc_task.h"
#include "gattm_task.h"

Functions

static at_ble_uuid_type_t at_ble_uuid_len2type (uint8_t len)
 
at_ble_events_t gattc_complete_evt_handler (uint16_t src, uint8_t *data, void *params)
 
at_ble_status_t gattc_disc_char_desc_ind_parser (uint16_t src, uint8_t *data, at_ble_descriptor_found_t *params)
 
at_ble_status_t gattc_disc_char_ind_parser (uint16_t src, uint8_t *data, at_ble_characteristic_found_t *params)
 
at_ble_status_t gattc_disc_cmd_handler (uint8_t u8ReqType, uint8_t u8UUIDLen, uint16_t u16StartHdl, uint16_t u16EndHdl, uint8_t *pu8UUID, uint16_t u16ConHdl)
 
at_ble_status_t gattc_disc_svc_incl_ind_parser (uint16_t src, uint8_t *data, at_ble_included_service_found_t *params)
 
at_ble_status_t gattc_disc_svc_ind_parser (uint16_t src, uint8_t *data, at_ble_primary_service_found_t *params)
 
at_ble_events_t gattc_event_ind_parser (uint16_t src, uint8_t *data, void *params)
 
at_ble_status_t gattc_execute_write_cmd_handler (uint8_t u8Execute, uint16_t u16ConHdl)
 
at_ble_status_t gattc_mtu_cmd_handler (uint16_t u16ConHdl)
 
at_ble_status_t gattc_read_cmd_handler_by_uuid (uint16_t u16StartHdl, uint16_t u16EndHdl, uint8_t u8UUIDLen, uint8_t *pu8UUID, uint16_t u16ConHdl)
 
at_ble_status_t gattc_read_cmd_handler_multible (uint16_t *u16Handle_list, uint8_t u8Count, uint16_t *u16Length_list, uint16_t u16ConHdl)
 
at_ble_status_t gattc_read_cmd_handler_simple_read (uint16_t u16Handle, uint16_t u16Offset, uint16_t u16Len, uint16_t u16ConHdl)
 
at_ble_status_t gattc_read_ind_parser (uint16_t src, uint8_t *data, at_ble_characteristic_read_response_t *params)
 
at_ble_status_t gattc_reg_to_peer_handler (uint8_t u8ReqType, uint16_t u16StartHdl, uint16_t u16EndHdl, uint16_t u16ConHdl)
 
at_ble_status_t gattc_send_evt_cmd_handler (uint8_t u8ReqType, uint16_t u16AttHdl, uint16_t u16ConHdl)
 
at_ble_status_t gattc_svc_changed_notification_cmd_handler (uint16_t conn_handle, uint16_t start_handle, uint16_t end_handle)
 
at_ble_status_t gattc_write_cmd_handler (uint8_t u8ReqType, uint8_t u8AutoExec, uint16_t u16AttHdl, uint16_t u16Offset, uint16_t u16Length, uint8_t *pu8Val, uint16_t u16ConHdl)
 
at_ble_status_t gattc_write_cmd_ind (uint16_t src, uint8_t *data, at_ble_characteristic_changed_t *params)
 
at_ble_status_t gattc_write_cmd_ind_handler (uint8_t *msg, uint16_t len)
 

at_ble_status_t gattc_read_cmd_handler_by_uuid ( uint16_t  u16StartHdl,
uint16_t  u16EndHdl,
uint8_t  u8UUIDLen,
uint8_t *  pu8UUID,
uint16_t  u16ConHdl 
)
at_ble_status_t gattc_read_cmd_handler_multible ( uint16_t *  u16Handle_list,
uint8_t  u8Count,
uint16_t *  u16Length_list,
uint16_t  u16ConHdl 
)
at_ble_status_t gattc_read_cmd_handler_simple_read ( uint16_t  u16Handle,
uint16_t  u16Offset,
uint16_t  u16Len,
uint16_t  u16ConHdl 
)
at_ble_status_t gattc_reg_to_peer_handler ( uint8_t  u8ReqType,
uint16_t  u16StartHdl,
uint16_t  u16EndHdl,
uint16_t  u16ConHdl 
)
at_ble_status_t gattc_send_evt_cmd_handler ( uint8_t  u8ReqType,
uint16_t  u16AttHdl,
uint16_t  u16ConHdl 
)
at_ble_status_t gattc_svc_changed_notification_cmd_handler ( uint16_t  conn_handle,
uint16_t  start_handle,
uint16_t  end_handle 
)
at_ble_status_t gattc_write_cmd_handler ( uint8_t  u8ReqType,
uint8_t  u8AutoExec,
uint16_t  u16AttHdl,
uint16_t  u16Offset,
uint16_t  u16Length,
uint8_t *  pu8Val,
uint16_t  u16ConHdl 
)
at_ble_status_t gattc_write_cmd_ind_handler ( uint8_t *  msg,
uint16_t  len 
)