mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 13:50:28 +00:00
7c8a37263b
This commit contains the following changes: - It adds `otPlatRadioGetVersionString()` as an optional radio platform API. If the radio platform does not implement this function, OpenThread core provides a default weak implementation of this function which return the OpenThread version. - A public OpenThread API `otGetRadioVersionString()` is added which provides the radio version string. - POSIX App is updated to get the version from its RCP and provide `otPlatRadioGetVersionString()` - A new spinel capability `SPINEL_CAP_POSIX_APP` is added which corresponds to `ENABLE_POSIX_APP` configuration. - A new spinel property `SPINEL_PROP_RCP_VERSION` (only available in POSIX_APP) is added which gets the RCP version.