Commit Graph

61 Commits

Author SHA1 Message Date
Ruakij 2a662e0bd1 Changed constructor to take influxDb 2021-11-26 17:32:31 +01:00
Ruakij d7a9530b68 Cleaned up Promise 2021-11-26 17:31:31 +01:00
Ruakij bb3d843895 Fixed wrong joining 2021-11-25 18:42:45 +01:00
Ruakij 9472ed9198 Fix wrong usage of join()
Default splitter is ',' but we want nothing
2021-11-25 18:42:26 +01:00
Ruakij dcd0ce8111 Added lib string-argv to extract bin and args from cmd 2021-11-25 18:32:43 +01:00
Ruakij 1a9ced0bb8 Changed exec to only wrap spawn 2021-11-25 18:32:07 +01:00
Ruakij d77e3f8844 Fixed naming 2021-11-25 18:30:50 +01:00
Ruakij e715cc1cac Removed unused env-vars for now 2021-11-25 13:59:45 +01:00
Ruakij cf1b300f6a Changed documentation to remarks section 2021-11-25 03:14:24 +01:00
Ruakij 450f162cda Implemented InfluxPointWriter for writing into influx with stream 2021-11-25 03:13:05 +01:00
Ruakij 7ebcf573b9 Implemented stream to transform packets to datapoints 2021-11-25 02:54:43 +01:00
Ruakij 38985ea9e2 Remove debug-logging for now 2021-11-25 01:48:41 +01:00
Ruakij 1976838d8a Remove unecessary properties 2021-11-25 01:48:07 +01:00
Ruakij a1ce7a848b Replaced MoreData and isRetry with flags 2021-11-25 01:37:35 +01:00
Ruakij 21e4ff1a66 Removing frameCheckSequence from packets 2021-11-25 01:10:49 +01:00
Ruakij 25297ed4d9 Fixed data-regex 2021-11-25 01:10:34 +01:00
Ruakij 68541b1191 Added check for NoData-Packet 2021-11-25 01:09:25 +01:00
Ruakij 7bc5a3530c Made keyInfo vars const 2021-11-25 00:21:25 +01:00
Ruakij d0ee1a7044 Fixed gtter payloadSize 2021-11-25 00:19:53 +01:00
Ruakij 57394882cc Implemented reading keyExchangeData and determining handshake-number 2021-11-25 00:19:31 +01:00
Ruakij b41d728ba9 Fixed missing export 2021-11-25 00:18:37 +01:00
Ruakij d6135a02e9 Fixed regex 2021-11-25 00:18:21 +01:00
Ruakij ffe14e3f53 Added hexConverter helper-module 2021-11-24 23:22:09 +01:00
Ruakij 09bea81058 Returning packet not to loose information 2021-11-24 23:13:35 +01:00
Ruakij 66c0fdfe12 Fixed Object.assign 2021-11-24 23:13:04 +01:00
Ruakij b32b5cbed7 Changed regex to use readbehind/ahead instead of groups 2021-11-24 23:12:47 +01:00
Ruakij e86b5fca9a Added durationMicros 2021-11-24 22:35:59 +01:00
Ruakij d2178f3b73 Implemented PacketType Disassociation 2021-11-24 22:35:07 +01:00
Ruakij fe5dec7860 Implemented PacketType AssociationRequest & Response 2021-11-24 22:29:41 +01:00
Ruakij 0d472e8cb3 Implemented PacketType Authentication 2021-11-24 22:27:22 +01:00
Ruakij bba5da2599 Moved packet-creation outside for all cases 2021-11-24 22:25:10 +01:00
Ruakij c2210dfb59 Added isRetry field 2021-11-24 21:11:19 +01:00
Ruakij 3c3ab18410 Revert "Added PacketType ContentionFreePeriod"
This reverts commit 333a514363.
2021-11-24 21:01:17 +01:00
Ruakij aa9d5431f8 Changed payloadSize to payloadData with payloadSize getter 2021-11-24 20:44:04 +01:00
Ruakij 62b55b94f1 Added missing payloadSize to Packet 2021-11-24 20:42:33 +01:00
Ruakij 025edf8465 Implemented getting payloadData and calculating to bytes 2021-11-24 20:42:10 +01:00
Ruakij 59e7188543 Changed most checks using Optional chaining and Nullish coalescing operator 2021-11-24 20:39:20 +01:00
Ruakij 333a514363 Added PacketType ContentionFreePeriod 2021-11-24 20:35:44 +01:00
Ruakij d714b342ed Removed debug read statement 2021-11-24 20:35:10 +01:00
Ruakij 1aae9d5e71 Added library luxon 2021-11-24 20:01:33 +01:00
Ruakij 6bc248b667 First implementation of PacketStreamFactory 2021-11-24 20:01:03 +01:00
Ruakij 0cbbecbd2c Added typeMoreData 2021-11-24 20:00:28 +01:00
Ruakij 368b6585ba Now using internal buffer-system 2021-11-24 20:00:05 +01:00
Ruakij 4f1463eb4f Fixed args being wrong way around 2021-11-24 19:40:46 +01:00
Ruakij d11aac5599 Implemented RegexBlockStream 2021-11-24 15:35:29 +01:00
Ruakij fa8d630283 Change exec to just return process and streams 2021-11-24 15:35:05 +01:00
Ruakij 9c28ed53e3 Added exec-module 2021-11-24 13:11:01 +01:00
Ruakij cc8b106157 Added logger-setup-module 2021-11-24 13:10:41 +01:00
Ruakij 8ee189f52b Fixed wrong capitalisation 2021-11-24 01:16:37 +01:00
Ruakij 79efcc3951 Fixed missing import 2021-11-24 01:12:13 +01:00