BlePeriph.GetCharacteristic

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).

Properties

Parameters (request frame)

Name Type/Size Description
CharacteristicNdx Integer (16 bits) The index of the characteristic to be retrieved in the Characteristics array passed to BlePeriph.DefineService

Returned values (response frame)

Name Type/Size Description
Length of CurrentValue Integer (16 bits) Length of CurrentValue in bytes
CurrentValue Raw data -