sensortag

Project Url: JuulLabs/sensortag
Introduction: Sample demonstrating use of Kable library with SensorTag device.
More: Author   ReportBugs   
Tags:

badge badge badge

Sample app providing connectivity/communication (connects and reads gyroscope) with SensorTag devices to demonstrate capabilities/usage of Kable library.

Android

Android App screen recording

The Android App can be built and installed via Android Studio, or via command line by executing:

./gradlew installDebug

iOS

iOS App screen recording

The iOS project is generated via:

./gradlew generateXcodeProject

[!TIP] ./gradlew openXcode can be used to both generate the project and open it in Xcode.

In Xcode, configure signing, then run.

JavaScript

JavaScript browser app screen recording

A live demo can be viewed here, or to build and launch the demo within a browser window on your local machine, run:

./gradlew jsBrowserRun

[!IMPORTANT] Web Bluetooth is only available on supported browsers, see Web Bluetooth API: Browser compatibility for a list of supported browsers.

MacOS

When run, app will launch and immediately scan for nearby SensorTag peripherals. The first one found will be connected to. Once connected, the SensorTag gyro will be subscribed to and printed to console as values arrive.

MacOS console app screen recording

Console app can be built and run by executing:

Mac CPU Command
Intel shell ./gradlew runDebugExecutableMacosX64
Apple (e.g. M1) shell ./gradlew runDebugExecutableMacosArm64

License

Copyright 2020 JUUL Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Apps
About Me
GitHub: Trinea
Facebook: Dev Tools