Request the MAC address stored on the OTP (one time programmable) memory of the device. The function is blocking until the response is received.
◆ m2m_wifi_get_otp_mac_address()
- Parameters
-
[out] | pu8MacAddr | Output MAC address buffer of 6 bytes size. Valid only if *pu8Valid=1. |
[out] | pu8IsValid | A output boolean value to indicate the validity of pu8MacAddr in OTP. Output zero if the OTP memory is not programmed, non-zero otherwise. |
- Precondition
- m2m_wifi_init required to call any WIFI/socket function
- See also
- m2m_wifi_get_mac_address
- Returns
- The function returns M2M_SUCCESS for success and a negative value otherwise.