Security Enabled - .NET

Nov 24, 2016

Security_.NET.zip856KB

Security Enabled sample application displays simple text interactions between the host device and the Gear device using secured APIs of Accessory SDK. This sample application is a companion type and is provided in two types.

Provider (Android) and Consumer (Gear)

This sample application has two parts:

SecuredProvider

Works in host device and has no UI.

Authenticates a remote Accessory Peer Agent in Gear device

Accepts a receiving service connection request from Gear device.

Replies to a receiving command from Gear device with encrypted current time stamp.

SecuredConsumer

Works in Gear device and has UI.

Initiates service connection request and send command to the host device.

Shows a received response to user.

Sender (Gear) and Receiver (Android)

This sample application has two parts:

SecuredProvider

Works in Gear device.

Authenticates a remote Accessory Peer Agent in host device.

Accepts a receiving service connection request from host device.

Replies to a receiving command from host device with encrypted current time stamp.

SecuredConsumer

Works in host device and has UI.

Initiates service connection request and sends command to Gear device.