WINC3400 BLE Application example code.
Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.
#include "driver/include/m2m_types.h"
#include "driver/include/m2m_wifi.h"
#include "at_ble_api.h"
#include "platform.h"
#include "m2m_ble.h"
#include "ble_manager.h"
Functions | |
void | m2m_ble_api_write_func (uint8 *msg, uint32 len) |
sint8 | m2m_ble_event_get (at_ble_events_t *event, at_ble_event_parameter_t *params) |
sint8 | m2m_ble_init (void) |
static void | m2m_ble_plf_wait_func (void) |
void | m2m_ble_wifi_callback (uint8 u8MsgType, void *pvMsg) |
sint8 | m2m_ble_wifi_init (tstrWifiInitParam *param) |
Variables | |
static tpfAppWifiCb | gpfBleAppWifiCb = NULL |
References M2M_INFO, and m2m_wifi_ble_api_send().
sint8 m2m_ble_event_get | ( | at_ble_events_t * | event, |
at_ble_event_parameter_t * | params | ||
) |
References at_ble_event_get(), AT_BLE_SUCCESS, AT_BLE_UNDEFINED_EVENT, BLE_EVENT_TIMEOUT, M2M_SUCCESS, m2m_wifi_handle_events(), and NULL.
sint8 m2m_ble_init | ( | void | ) |
|
static |
References M2M_SUCCESS, m2m_wifi_handle_events(), and NULL.
Referenced by m2m_ble_init().
void m2m_ble_wifi_callback | ( | uint8 | u8MsgType, |
void * | pvMsg | ||
) |
sint8 m2m_ble_wifi_init | ( | tstrWifiInitParam * | param | ) |
|
static |
Referenced by m2m_ble_init(), m2m_ble_wifi_callback(), and m2m_ble_wifi_init().