BALTECH SDK wrapper functions reference

§ brp_BlePeriph_GetEvents()

brp_errcode brp_BlePeriph_GetEvents ( brp_BlePeriph_GetEvents_t  params)

This command returns a bitmask of all events that have occurred since the last call of BlePeriph.GetEvents.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • ConnectionStatusChanged (out) Use BlePeriph.IsConnected to check the current connection status.
  • ValueChangedCharacteristicNdx4 (out) Use BlePeriph.ReadCharacteristic to read the changed characteristic value.
  • ValueChangedCharacteristicNdx3 (out) Use BlePeriph.ReadCharacteristic to read the changed characteristic value.
  • ValueChangedCharacteristicNdx2 (out) Use BlePeriph.ReadCharacteristic to read the changed characteristic value.
  • ValueChangedCharacteristicNdx1 (out) Use BlePeriph.ReadCharacteristic to read the changed characteristic value.
  • ValueChangedCharacteristicNdx0 (out) Use BlePeriph.ReadCharacteristic to read the changed characteristic value.