mirror of
https://github.com/espressif/openthread.git
synced 2026-09-09 10:40:09 +00:00
[spinel] update the updating/adding RCP spinel property guideline (#7937)
When adding a new spinel property or updating the existing spinel property, it may cause the host can't work with the old RCP. The host can be updated independently on some of our products. If the compatibility issue happens, it causes the host dies after the host is updated. To reduce the compatibility issues between the host and RCP, this commit updates the guideline of updating/adding RCP spinel properties.
This commit is contained in:
@@ -53,7 +53,7 @@ extern "C" {
|
||||
* @note This number versions both OpenThread platform and user APIs.
|
||||
*
|
||||
*/
|
||||
#define OPENTHREAD_API_VERSION (262)
|
||||
#define OPENTHREAD_API_VERSION (263)
|
||||
|
||||
/**
|
||||
* @addtogroup api-instance
|
||||
|
||||
@@ -1096,6 +1096,7 @@ otError otPlatRadioSetChannelMaxTransmitPower(otInstance *aInstance, uint8_t aCh
|
||||
*
|
||||
* @retval OT_ERROR_FAILED Other platform specific errors.
|
||||
* @retval OT_ERROR_NONE Successfully set region code.
|
||||
* @retval OT_ERROR_NOT_IMPLEMENTED The feature is not implemented.
|
||||
*
|
||||
*/
|
||||
otError otPlatRadioSetRegion(otInstance *aInstance, uint16_t aRegionCode);
|
||||
@@ -1112,6 +1113,7 @@ otError otPlatRadioSetRegion(otInstance *aInstance, uint16_t aRegionCode);
|
||||
* @retval OT_ERROR_INVALID_ARGS @p aRegionCode is nullptr.
|
||||
* @retval OT_ERROR_FAILED Other platform specific errors.
|
||||
* @retval OT_ERROR_NONE Successfully got region code.
|
||||
* @retval OT_ERROR_NOT_IMPLEMENTED The feature is not implemented.
|
||||
*
|
||||
*/
|
||||
otError otPlatRadioGetRegion(otInstance *aInstance, uint16_t *aRegionCode);
|
||||
@@ -1134,6 +1136,7 @@ otError otPlatRadioGetRegion(otInstance *aInstance, uint16_t *aRegionCode);
|
||||
* @retval OT_ERROR_INVALID_ARGS @p aExtAddress is `NULL`.
|
||||
* @retval OT_ERROR_NOT_FOUND The Initiator indicated by @p aShortAddress is not found when trying to clear.
|
||||
* @retval OT_ERROR_NO_BUFS No more Initiator can be supported.
|
||||
* @retval OT_ERROR_NOT_IMPLEMENTED The feature is not implemented.
|
||||
*
|
||||
*/
|
||||
otError otPlatRadioConfigureEnhAckProbing(otInstance * aInstance,
|
||||
|
||||
Reference in New Issue
Block a user