Skip to content
Snippets Groups Projects
Commit ad56ce6a authored by echicken's avatar echicken :chicken:
Browse files

test

parent ce6f97f3
No related branches found
No related tags found
No related merge requests found
......@@ -16754,7 +16754,13 @@
});
this.write(toRadio);
}
/** Return data about the given node number from our node DB, or undefined if we don't got none. */
/**
* Return data about the given node number from our node DB, or undefined if we don't got none.
*
* I'm making this a method instead of just making this.nodeInfo public on purpose.
* At the moment, the node DB is held in memory. We might want to put it on disk or elsewhere later.
* This way, we can make that change without breaking stuff.
*/
}, {
key: "getNodeInfo",
value: function getNodeInfo(nodeNum) {
......@@ -16811,6 +16817,7 @@
_this2.host = host;
_this2.port = port;
_this2.socket = new js.global.Socket();
js.setInterval(_this2.sendHeartbeat, 3e4, _this2);
return _this2;
}
_inherits(SocketDevice2, _Device);
......
{
"name": "meshtastic",
"name": "@sota/meshtastic",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "meshtastic",
"name": "@sota/meshtastic",
"version": "1.0.0",
"license": "MIT",
"dependencies": {
......@@ -2191,7 +2191,7 @@
},
"node_modules/@swag/ts4s": {
"version": "1.0.0",
"resolved": "git+https://gitlab.synchro.net/swag/ts4s.git#b23fb7e7fda1968e30dc15b752d6b49d9f4885f9",
"resolved": "git+https://gitlab.synchro.net/swag/ts4s.git#d6f7d9527957e16c731e4c8f021aa461a449811f",
"dev": true,
"license": "MIT",
"dependencies": {
......
......@@ -26,6 +26,7 @@ export default class SocketDevice extends Device {
this.host = host;
this.port = port;
this.socket = new js.global.Socket();
js.setInterval(this.sendHeartbeat, 30000, this);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment