openthread_sys::spinel

Constant SPINEL_CMD_PROP_VALUE_SET

Source
pub const SPINEL_CMD_PROP_VALUE_SET: _bindgen_ty_22 = 3;
Expand description

Set property value command (Host -> NCP)

Encoding: iD i : Property Id D : Value (encoding depends on the property)

Instructs the NCP to set the given property to the specific given value, replacing any previous value.

The payload for this command is the property identifier encoded in the packed unsigned integer format, followed by the property value. The exact format of the property value is defined by the property.

On success a CMD_PROP_VALUE_IS command is emitted either for the given property identifier with the set value, or for PROP_LAST_STATUS with value LAST_STATUS_OK.

If an error occurs, the value of PROP_LAST_STATUS will be emitted with the value set to the generated status code for the error.