Skip to content

ErikHellman/android-companion-device-demo

Repository files navigation

Companion Device testing app

This app is intended to be used to test how the Companion Device pairing works on Android.

Getting started

Edit the file local.properties in the project and add the following properties:

companion.mtu-size=<mtu size of peripheral>
companion.gatt-service=<UUID of the primary service>
companion.read-char=<UUID of the characteristic for notifications>
companion.write-char=<UUID of the characteristic for writing>
companion.manufacturingId=<manufacturer ID>
companion.manufacturingData=<comma-separated list of manufacturer data array>
companion.manufacturingDataMask=<the mask for the manufacturing data array>
# Leave these empty if you don't want to write data to the peripheral at association or disassociation
companion.writeDataAtAssociation=<a colon separated array of hex values that will be written when an association is created>
companion.writeDataAtDisassociation=<a colon separated array of hex values that will be written when an association is removed>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages