plott-quality-distance
v0.0.1
Published
Converts quality of RSSI signal strength to distance
Downloads
1
Readme
plott-quality-distance
Converts quality of RSSI signal strength to distance
plott.qualityDistance(m, p)
Converts quality of RSSI signal strength to distance.
Parameters
| parameter | type | description |
| --------- | ------- | -------------------------- |
| m
| Integer | dBm RSSI dBm |
| p
| Number | maximum coverage of signal |
Example
var distance = plott.qualityDistance(-75, 400);
//=distance
Returns Number
, distance
Installation
Requires nodejs.
$ npm install plott-quality-distance
Tests
$ npm test