Commit Graph
100 Commits
Author SHA1 Message Date
David Ventura 2e68a64e92 update example 2024-05-07 12:06:52 +02:00
David Ventura 04fb1a8e4c configure timeout 2024-05-07 12:06:46 +02:00
David Ventura 2facd91fb5 call configureWifi after scanning to include the channel 2024-05-07 12:06:35 +02:00
David Ventura 75401621cf write channel byte 2024-05-07 12:05:57 +02:00
David Ventura 17d00eaba9 emit ListWifi on scan 2024-05-07 12:05:12 +02:00
David Ventura db98e6685c notes 2024-05-07 11:30:04 +02:00
David Ventura 40dab0c017 bump timeout for wifiscanning - should only be in pair mode.. 2024-05-07 11:30:04 +02:00
David Ventura 6b28e91b9a parse swver & remove uN_swap 2024-05-07 11:30:04 +02:00
David Ventura cdc5be9948 add wifi parsing test 2024-05-07 11:30:04 +02:00
David Ventura 0db9cfd198 tolerate cut off packets & fix wifilist parsing 2024-05-06 16:52:46 +02:00
David Ventura 7b9d8fb5b7 tolerate cutoff packets 2024-05-06 16:52:30 +02:00
David Ventura 0ef5581b3b add missing channel as well 2024-05-06 15:36:08 +02:00
David Ventura 5060a4d044 change loglevel 2024-05-06 15:23:59 +02:00
David Ventura 27ab7d9af2 split long string 2024-05-06 11:53:34 +02:00
David Ventura ea533d786d add warning on timeout 2024-05-06 11:48:23 +02:00
David Ventura e2751c65bc flip ip & mask 2024-05-06 11:48:23 +02:00
David Ventura ceec51b22d add command dump 2024-05-06 11:35:50 +02:00
David Ventura a45b706ad0 add wifiparams type 2024-05-06 11:35:33 +02:00
David Ventura f065fbca9a handle close message 2024-05-06 09:25:58 +02:00
David Ventura 760dbc5820 Fix #17. Support cameras with short prefixes 2024-05-05 18:07:34 +02:00
David Ventura d5d4161dd8 implement settings support 2024-05-05 17:39:52 +02:00
David Ventura f4b7b1a463 remove ansi from options 2024-05-05 16:43:31 +02:00
David Ventura b59c77729c add notes 2024-05-03 23:07:51 +02:00
David Ventura 21189a8ae9 call npm tests from make 2024-05-03 23:02:39 +02:00
David Ventura 8c71e84875 add integration test with mock server 2024-05-03 23:02:25 +02:00
David Ventura bac2b4fd4f allow the socket to be closed from the EE 2024-05-03 23:02:04 +02:00
David Ventura c81d7d4182 ignore Drw data packets that are too short to be valid 2024-05-03 18:10:42 +02:00
David Ventura a93564cd11 do not consider p2palive messages for camera liveness 2024-05-03 15:57:55 +02:00
David Ventura d7d3b91528 add debug message on corrupt frames 2024-05-03 15:57:23 +02:00
David Ventura 204677ceae implement simple retransmission scheme 2024-05-03 12:35:29 +02:00
David Ventura 03893f8d81 remove LanSearchExt, increase search interval 2024-05-03 12:35:07 +02:00
David Ventura dc43a66209 ask for wifi settings after pairing 2024-05-03 11:46:14 +02:00
David Ventura 6bed63b61f tolerate empty answers from listwifi 2024-05-03 11:45:57 +02:00
David Ventura 2a3d047f48 add logging on unhandled command acks 2024-05-03 11:38:55 +02:00
David Ventura 1edb7370cf add 2 ack types 2024-05-03 11:38:30 +02:00
David Ventura 6c7856054e remove port form log 2024-05-03 11:19:09 +02:00
David Ventura f29206a1e1 fix comments 2024-05-03 11:18:31 +02:00
David Ventura 449210ec23 send reboot command after pairing 2024-05-03 00:15:14 +02:00
David Ventura 3d003be371 update logic to consider the JPEG type stream, still consider all untagged data as JPEG 2024-05-02 22:38:01 +02:00
David Ventura 7b153d6ff8 impl startswith 2024-05-02 22:29:02 +02:00
David Ventura f5da7a34bd reduce loglevel 2024-05-02 22:28:55 +02:00
David Ventura e496b33ff5 add hdr type 2024-05-02 22:28:44 +02:00
David Ventura f9e2dc63dc add framed headers 2024-05-02 20:53:33 +02:00
David Ventura 80e50560e6 add some more fields 2024-05-02 14:53:07 +02:00
David Ventura 2ec4d603c6 remove incorrect workarounds for undetected cameras 2024-05-02 13:23:52 +02:00
David Ventura 45b8b159d1 add features 2024-05-02 13:20:51 +02:00
David Ventura c51e4f8a7a implement rotation via injecting exif headers (#19) 2024-05-02 13:18:28 +02:00
David Ventura 68fe0fb798 warn on unhandled stream packets 2024-05-02 13:18:15 +02:00
David Ventura 7ca795c917 move example file 2024-05-02 10:02:44 +02:00
David Ventura d14e16c53d warn if node version <16 2024-05-02 10:01:11 +02:00
David Ventura 1439d5f632 reply on the port we should 2024-05-01 23:54:33 +02:00
David Ventura 58c58e38ac increase delay & send LanSearchExt 2024-05-01 16:57:43 +02:00
David Ventura b5d4ab6024 set noEmit flag on tsc 2024-05-01 13:26:56 +02:00
David Ventura 2ce568c019 trim serial/name mapping; add a log message 2024-05-01 13:17:37 +02:00
David Ventura 5a0b36f42b add links to artifacts 2024-05-01 13:17:15 +02:00
David Ventura 74863f675e remove example output from readme 2024-05-01 13:07:11 +02:00
David Ventura 9654dc2841 implement logging properly 2024-05-01 13:06:27 +02:00
David Ventura 9c19c05274 include files at build time 2024-05-01 12:44:52 +02:00
David Ventura a547546055 add slow-startup flag 2024-05-01 11:56:17 +02:00
David Ventura c4007961c7 fix makefile target 2024-05-01 11:23:32 +02:00
David Ventura 15f70b55af run tsc in ci 2024-05-01 11:23:26 +02:00
David Ventura 8f4c5f09a4 tidy up dissector 2024-05-01 11:23:16 +02:00
David Ventura 06cafff105 return nil from packet lut 2024-05-01 11:23:05 +02:00
David Ventura e2a4352659 add heuristic packet matcher 2024-05-01 10:47:00 +02:00
David Ventura 5bb0038d9b send P2PAlive immediately after P2pRdy 2024-04-30 23:16:24 +02:00
David Ventura b653368d89 fix test 2024-04-30 23:11:27 +02:00
David Ventura 66796267f2 add serial to punchpkt/p2prdy dissector 2024-04-30 12:00:37 +02:00
David Ventura 11ab1597f6 test punchpkt parsing 2024-04-30 12:00:37 +02:00
David Ventura c308307fea Merge pull request #11 from adrcunha/patch-3
Trigger debug output in handlers.ts according to --debug
2024-04-28 00:51:31 +02:00
David Ventura 632308a50e Merge pull request #13 from adrcunha/patch-1
Add a few user-friendly messages to pair.ts for first-timers
2024-04-27 13:32:18 +02:00
David Ventura da867078b1 Merge pull request #10 from adrcunha/patch-3
Remove the `pair` target
2024-04-26 17:41:39 +02:00
David Ventura dc75519f3d Merge pull request #9 from adrcunha/patch-2
Drop newline in the activity indicator
2024-04-26 17:41:14 +02:00
David Ventura 8246ea52ef Merge pull request #8 from adrcunha/patch-1
Update instructions in README
2024-04-26 17:40:19 +02:00
David Ventura 23f765371b Add build action 2024-04-26 10:32:56 +02:00
David Ventura e77a3c27fe move actions to package.json 2024-04-26 10:32:56 +02:00
David Ventura 04baa7ad9a add usage notes 2024-04-26 10:32:56 +02:00
David Ventura 639a78419e refactor to allow bundling 2024-04-26 10:32:56 +02:00
David Ventura 1c6312e0c9 Merge pull request #7 from adrcunha/adrcunha-patch-2
Set discovery_ip in http_server.ts back to 192.168.1.255
2024-04-24 09:03:26 +02:00
David Ventura 1dea1373e3 Merge pull request #6 from adrcunha/patch-1
Update opts in pair.ts
2024-04-24 09:03:00 +02:00
DavidVentura cf45216693 impl stopvideo 2024-02-02 12:07:07 +01:00
DavidVentura 737f0248b2 add support for audio streaming 2024-02-02 12:06:44 +01:00
DavidVentura 75f559a3ce consider the packet sequence in audio frames, as they are shared with jpeg frames 2024-02-02 12:06:16 +01:00
DavidVentura 2db1e8d9f3 add IRToggle 2024-02-01 18:09:19 +01:00
DavidVentura 2a55a7048f add note on packet loss 2024-02-01 18:06:47 +01:00
DavidVentura 25ae4fa72e attempt to re-stitch together JPEGs at the recovery markers upon dataloss 2024-02-01 17:56:27 +01:00
DavidVentura 2f2b6d302a refactor curimage into a slice of buffers & pass options via session 2024-02-01 17:56:08 +01:00
DavidVentura 92dbd8354c add vlan note 2024-02-01 17:54:11 +01:00
DavidVentura cfbdeaa0d0 cleanup dissector 2024-02-01 16:25:30 +01:00
DavidVentura 94070b6e33 stop masking commands 2024-02-01 13:14:39 +01:00
DavidVentura 85a4b71e46 debug XqStrDec 2024-02-01 13:14:29 +01:00
DavidVentura 2215cf5b5c validate env vars are set 2024-02-01 13:14:14 +01:00
DavidVentura dcbf6bf925 braindump 2024-02-01 13:08:27 +01:00
DavidVentura edd4f5d6f5 add node with server decoder 2024-02-01 12:51:46 +01:00
DavidVentura bc2856eb07 add server decode script 2024-02-01 12:51:36 +01:00
DavidVentura 599488f0bb add pic 2024-01-31 18:49:40 +01:00
DavidVentura 89435cd4ec fix import 2024-01-31 18:28:27 +01:00
DavidVentura 9a37f97960 add build step 2024-01-31 18:28:16 +01:00
DavidVentura 7d2160f07f support multiple streams concurrently 2024-01-31 18:06:52 +01:00
DavidVentura 5379266fc8 implement pair command 2024-01-31 16:38:23 +01:00
DavidVentura a93c0badff actually use the onlogin callback 2024-01-31 16:38:00 +01:00