pub const SPINEL_CMD_PROP_VALUE_REMOVE: _bindgen_ty_22 = 5;
Expand description
Remove value from property command (Host -> NCP)
Encoding: iD
i
: Property Id
D
: Value (encoding depends on the property)
Instructs the NCP to remove the given value from a list-oriented property, without affecting other items in the list. The resulting order of items in the list is defined by the individual property being operated on.
Note that this command operates by value, not by index!
The payload for this command is the property identifier encoded in the packed unsigned integer format, followed by the value to be removed. The exact format of the value is defined by the property.
If the type signature of the property consists of a single structure
enclosed by an array A(t(...))
, then the contents of value MUST contain
the contents of the structure (...
) rather than the serialization of the
whole item (t(...)
). Specifically, the length of the structure MUST NOT
be prepended to VALUE
. This helps to eliminate redundant data.
On success, either a CMD_PROP_VALUE_REMOVED
command is emitted for the
given property, or a CMD_PROP_VALUE_IS
command is emitted of property
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.