This command retrieves the current value of a characteristic. A characteristic will be initialized to 00 00 ... 00 when calling BlePeriph.Enable and will be modified by either the BRP host (BlePeriph.SetCharacteristic) or the BLE Central (via a write to the characteristic).
- Parameters
-
[in] | protocol | used to execute the command |
[in] | CharacteristicNdx | The index of the characteristic to be retrieved in the Characteristics array passed to BlePeriph.DefineService |
[out] | CurrentValue | |
[out] | CurrentValue_len | |
[in] | mempool | is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool |