Here are listed all the functions that implement the BLE APIs.
Functions | |
NMI_API sint8 | m2m_wifi_ble_api_send (uint8 *msg, uint32 len) |
Asynchronous API to send an encapsulated Atmel BLE message over the Wifi Host Interface. More... | |
NMI_API sint8 | m2m_wifi_ble_set_gain_table (uint8 table_idx) |
Asynchronous API that notifies the WINC with the Gain Table index from Flash that should use to configure the WiFi and BLE gains. More... | |
sint8 | m2m_wifi_req_restrict_ble (void) |
Asynchronous API to request restricting of BLE functionality by placing the BLE processor in a low power state. It is recommended to do this if it is known that BLE functionality will not be used for any significant length of time. More... | |
sint8 | m2m_wifi_req_unrestrict_ble (void) |
Asynchronous API to request un-restricting of BLE functionality by reverting the BLE processor to full power mode. More... | |
Asynchronous API to send an encapsulated Atmel BLE message over the Wifi Host Interface.
[in] | msg | Pointer to the start of the BLE message to transfer down to the WINC. |
[in] | len | The length of the message in octets. |
References hif_send(), M2M_REQ_DATA_PKT, M2M_REQ_GROUP_WIFI, M2M_WIFI_REQ_BLE_API_SEND, and tstrM2mBleApiMsg::u16Len.
Referenced by m2m_ble_api_write_func().
Asynchronous API that notifies the WINC with the Gain Table index from Flash that should use to configure the WiFi and BLE gains.
References hif_send(), M2M_ERR_FAIL, M2M_REQ_GROUP_WIFI, M2M_WIFI_REQ_SET_GAIN_TABLE, NULL, and tstrM2MGainTable::u8GainTable.
Referenced by m2m_wifi_init_start().
Asynchronous API to request restricting of BLE functionality by placing the BLE processor in a low power state. It is recommended to do this if it is known that BLE functionality will not be used for any significant length of time.
References hif_send(), M2M_REQ_GROUP_WIFI, M2M_SUCCESS, M2M_WIFI_REQ_RESTRICT_BLE, and NULL.
Referenced by app_ble_wifi_provisioning().
Asynchronous API to request un-restricting of BLE functionality by reverting the BLE processor to full power mode.
References hif_send(), M2M_REQ_GROUP_WIFI, M2M_SUCCESS, M2M_WIFI_REQ_UNRESTRICT_BLE, and NULL.
Referenced by app_ble_wifi_provisioning().