Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

rieckpil/dts-bluetooth-app

Repository files navigation

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What do you need to install:

nodejs
ionic
Android Dev Env: https://cordova.apache.org/docs/en/8.x/guide/platforms/android/

Installing

After installing the prerequisites:

git clone ssh://git@gitlab.com:lemark/dts.git
git clone https://git@gitlab.com:lemark/dts.git

go into your project direcotry and run

npm i

Starting as PWA

Use node v10.11.0

npm install
sudo npm install -g cordova
sudo npm install -g ionic
ionic cordova platform add browser
ionic cordova run browser
navigator.bluetooth.requestDevice({
  acceptAllDevices: true,
  optionalServices: ['battery_service']
})

Starting

Start the app in your browser:

ionic serve

Run the app on android:

cordova platform add android --save
ionic cordova prepare android
ionic cordova run android

⛏️ Built With

  • Ionic - PWA Framework
  • BLE - BLE Library

🎉 Acknowledgments

  • BLE - cordova-plugin-ble-central

About

Digital Tech Summit Bluetooth App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published