tobiasfabian / Angel-Sensor-Node.js

A Node.js script for Angel Sensor (M1)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angel Sensor Node.js

A Node.js library for Angel Sensor (M1).

Getting started

Install dependencies and run index.js

npm install
node index.js

Features

  • Connects to an Angel Sensor
  • Reads Device Information (Manufacturer Name, Model Number, Serial Number, Firmware Revision)
  • Reads Temperature Type, Battery Level, Body Sensor Location
  • Activates notifications for Heart Rate Measurement, Temperature Measurement, Battery Level, (Optical Waveform), (Acceleration Waveform), (Blood Oxygen Saturation Measurement)
  • Notifies when one of those Characteristics sends a value

Optical Waveform and Acceleration Waveform would produce a lot of outcome, so they are commented out. You can uncomment them to see the raw data. (characteristics/opticalWaveform.js (line 29) or characteristics/accelerationWaveform.js (line 23))
Blood Oxygen Saturation Measurement does not yet output anything

Implemented Services

Implemented Characteristics

TODO

About

A Node.js script for Angel Sensor (M1)


Languages

Language:JavaScript 100.0%