Multiplicity - Web

Nov 24, 2016

Multiplicity_Web.zip
(4.13MB)

Multiplicity sample application shows how to communicate a provider application with multiple consumer applications using Accessory SDK as one of possible multiplicity combinations. This sample application is a companion type and is provided in two types.

Provider (Android) and Consumer (Galaxy Watch)

Figure 1 Multiplicity - Provider (Android) and Consumer (Galaxy Watch)

This sample application has two parts:

  • MultiplicityProvider

    • Works in host device and has no UI.

    • Includes two providers having different Accessory Service Profile.

    • Accepts a receiving service connection request from the Galaxy Watch device independently.

    • Replies to a receiving command from Galaxy Watch device independently.

  • MultiplicityConsumer

    • Works in Galaxy Watch device and has UI.

    • Initiates service connection request and send commands to host device independently.

    • Shows a received response to user independently.

Sender (Galaxy Watch) and Receiver (Android)

Figure 2 Multiplicity - Provider (Galaxy Watch) and Consumer (Android)

This sample application has two parts:

  • MultiplicityProvider

    • Works in Galaxy Watch device.

    • Includes two providers having different Accessory Service Profile.

    • Accepts a receiving service connection request from host device independently.

    • Replies to a receiving command from Host device independently.

  • MultiplicityConsumer

    • Works in host device and has UI.

    • Initiates service connection request and send commands to the Galaxy Watch device.

    • Shows a received response to user independently.