WINC3400 BLE Application example code.
Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.
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) |
void | m2m_ble_wifi_callback (uint8 u8MsgType, void *pvMsg) |
sint8 | m2m_ble_wifi_init (tstrWifiInitParam *param) |
References M2M_INFO, and m2m_wifi_ble_api_send().
Referenced by m2m_ble_init().
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.
Referenced by app_ble_trans_service().
sint8 m2m_ble_init | ( | void | ) |
References at_ble_init(), AT_BLE_SUCCESS, plf_params_t::ble_write_cb, gpfBleAppWifiCb, m2m_ble_api_write_func(), m2m_ble_plf_wait_func(), M2M_ERR, M2M_SUCCESS, NULL, and plf_params_t::plf_wait_cb.
Referenced by app_ble_trans_service().
void m2m_ble_wifi_callback | ( | uint8 | u8MsgType, |
void * | pvMsg | ||
) |
References tstrM2mBleApiMsg::data, gpfBleAppWifiCb, M2M_INFO, M2M_WIFI_RESP_BLE_API_RECV, platform_receive(), and tstrM2mBleApiMsg::u16Len.
Referenced by m2m_ble_wifi_init().
sint8 m2m_ble_wifi_init | ( | tstrWifiInitParam * | param | ) |
References gpfBleAppWifiCb, m2m_ble_wifi_callback(), m2m_wifi_init(), tstrEthInitParam::pfAppWifiCb, tstrWifiInitParam::pfAppWifiCb, and tstrWifiInitParam::strEthInitParam.
Referenced by app_wifi_init().