diff --git a/src/lib/socket-device.ts b/src/lib/socket-device.ts index e9b322070270434c5b0e470b61ee39b9d56b9d23..11c4d8ca019bcb9d00cc27ce5d2bec2b7923a0ec 100644 --- a/src/lib/socket-device.ts +++ b/src/lib/socket-device.ts @@ -27,13 +27,6 @@ export default class SocketDevice extends Device { this.host = host; this.port = port; this.socket = new js.global.Socket(); - function hb(this: Device) { - this.getChannel(0, (mp: protobuf.Mesh.MeshPacket): boolean => { - js.global.writeln(JSON.stringify(mp)); - return true; - }); - } - js.setInterval(hb.bind(this), 30000, this); } /**