BlePeriph.SetCharacteristic
This command changes the value of a characteristic. All future
reads from the Central or
BlePeriph.GetCharacteristic from the BRP host will return
the new value. If the Central has registered a
notification/indication for this characteristic, the reader
will automaticially send a corresponding message to the Central.
Properties
- Command code: 0x4B04
- Command timeout: 100 ms
- Possible status codes: General status codes
Parameters (request frame)
Name | Type/Size | Description |
---|---|---|
CharacteristicNdx | Integer (16 bits) | The index of the characteristic to modify in the Characteristics array passed to BlePeriph.DefineService. |
Length of NewValue | Integer (16 bits) |
Length of NewValue in bytes |
NewValue | Raw data | - |
Returned values (response frame)
None