LoRaWAN-Signal-Mapping/server/Models/RSSI.mjs

18 lines
394 B
JavaScript
Raw Normal View History

2019-05-20 13:48:41 +00:00
"use strict";
/**
* The received signal strength of a message from a single gateway.
* @param {number} id The id of this rssi measurement.
2019-05-20 13:48:41 +00:00
* @param {number} gateway_id The id of this gateway.
* @param {number} rssi The rssi measurement.
*/
class RSSI {
constructor(id, gateway_id, rssi) {
this.id = id;
this.gateway_id = gateway_id;
this.rssi = rssi;
}
}
export default RSSI;