Asynchronous request for the current RSSI of the connected AP.
The response received in through the M2M_WIFI_RESP_CURRENT_RSSI event.
Functions | |
NMI_API sint8 | m2m_wifi_req_curr_rssi (void) |
Request the current RSSI for the current connected AP, the response received in wifi_cb M2M_WIFI_RESP_CURRENT_RSSI. More... | |
Request the current RSSI for the current connected AP, the response received in wifi_cb M2M_WIFI_RESP_CURRENT_RSSI.
The code snippet demonstrates how the rssi request is called in the application's main function and the handling of event received in the callback.
References hif_send(), M2M_REQ_GRP_WIFI, M2M_SUCCESS, M2M_WIFI_REQ_CURRENT_RSSI, and NULL.
Referenced by os_m2m_wifi_req_curr_rssi().