Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Writes the given data to the specified attribute

    • Attribute and data is stored as a dictionary of UUID to byte arrays

      • Where possible, byte array size will adhere to the specifications stated in the ICD

  • Triggers all callbacks associated with the specified attribute

SubscribeSubscribeAttributeChange

  • Creates the specified attribute if such attribute does not already exist in the mock device

  • Register the given callback by adding it to the association table

UnsubscribeUnsubscribeAttributeChange

  • Deregister the given callback by removing it from the association table

...

  • Removes device from dictionary

GetConnectedDeviceIDsGetConnectedDevices

  • Returns a list of IDs VictorDeviceInfos of connected devices from connected device dictionary

...