Microchip® Advanced Software Framework

interface.c File Reference
#include "at_ble_api.h"
#include "platform.h"
#include "interface.h"
#include "event.h"

Macros

#define NMI_BLE_COLLECTING_HDR   1
 
#define NMI_BLE_COLLECTING_PAYLOAD   2
 
#define NMI_BLE_WAITING   0
 

Functions

at_ble_status_t interface_send (uint8_t *msg, uint16_t u16TxLen)
 
at_ble_status_t interface_send_wait (uint8_t *msg, uint16_t u16TxLen, uint16_t msg_id, uint16_t src_id, uint8_t **rsp)
 
void platform_interface_callback (uint8_t *data, uint32_t len)
 the callback to upper layers to process received packets More...
 

Variables

uint8_t interface_send_msg [INTERFACE_SEND_BUF_MAX]
 

#define NMI_BLE_COLLECTING_HDR   1
#define NMI_BLE_COLLECTING_PAYLOAD   2
#define NMI_BLE_WAITING   0

at_ble_status_t interface_send ( uint8_t *  msg,
uint16_t  u16TxLen 
)
at_ble_status_t interface_send_wait ( uint8_t *  msg,
uint16_t  u16TxLen,
uint16_t  msg_id,
uint16_t  src_id,
uint8_t **  rsp 
)

uint8_t interface_send_msg[INTERFACE_SEND_BUF_MAX]