@manekinekko/angular-web-bluetooth-starter

This starter uses the Angular Bluetooth module.

Usage no npm install needed!

<script type="module">
  import manekinekkoAngularWebBluetoothStarter from 'https://cdn.skypack.dev/@manekinekko/angular-web-bluetooth-starter';
</script>

README

Angular Web Bluetooth Starter

image

Description

This starter uses the Angular Bluetooth module.

1) import the WebBluetoothModule module

import { NgModule } from '@angular/core';
import { WebBluetoothModule } from '@manekinekko/angular-web-bluetooth';

@NgModule({
  imports: [
    //...,
    WebBluetoothModule.forRoot()
  ],
  //...
})
export class AppModule { }

2) use it in your service

See the battery-level.service file.