pub unsafe extern "C" fn esp_now_get_version(
version: *mut u32,
) -> esp_err_t
Expand description
@brief Get the version of ESPNOW. Currently, ESPNOW supports one version: v1.0.
The v1.0 devices can receive packets if the packet length is less than or equal to ESP_NOW_MAX_IE_DATA_LEN.
For packets exceeding this length, the v1.0 devices will discard the packet entirely.
@param version ESPNOW version
@return - ESP_OK : succeed - ESP_ERR_ESPNOW_ARG : invalid argument