Versions Compared

Key

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

...

  • Flags device as “connected”

  • Retrieves a list of services, building the list if it does not exist

    • The list may contain mock services

  • For each service, retrieve a list of offered characteristics, building the list if it does not exist

    • The list may contain mock characteristics

Disconnect

  • Un-flags device as “connected”

...

  • Reads the specified attribute and returns data via the given callback

    • 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

Write

  • 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

...

SubscribeConnectionStateChange

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

  • Associated callbacks are triggered when connection state changes

UnsubscribeConnectionStateChange

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

VictorMockDeviceManager

Connect

...

SubscribeConnectionStateChange

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

  • Associated callbacks are triggered when connection state changes

UnsubscribeConnectionStateChange

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

Glossary

Term

Description

API

Application Programming Interface

End-User

A developer utilizing the VictoR SDK libraries for software application development

ICD

Internal Controller Document

ID

Identifier

I/O

Input/Output

OS

Operating System

SDK

Software Development Kit

UUID

Universally Unique Identifier