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
Adriano Cunha
6ca18b057b
Fix sending favicon in http_server ( #21 )
...
`favicon` is now an array, and `end()` expects a Buffer or String.
2024-05-02 09:50:08 +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
v0.2
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
Adriano Cunha
690c1b4146
More features in the HTTP server ( #16 )
...
* Added more features to HTTP server
* Added a title to the multi-camera view page.
* Support naming cameras through a simple mapping using a text file.
* Updated some logging messages to be more verbose (and match those in pair.ts).
* Confirmed the charging status and battery level values reported back by DevStatusAck.
* Log camera status (charging, battery, Wifi strength) when connected.
* More updates to HTTP server
* Deal with Web Audio autoplay policy by starting camera on mute and adding a button to toggle the audio stream.
* Add a favicon so the server tan can be easily spotted.
The favicon file is a 48x48 32bpp ICO file, gzipped.
* Update README.md
* Describe flags and enable camera audio by default.
* Update audio button based on state change
* Update description of discovery_ip in bin.ts
* Update session start message in http_server.ts
* Update README.md
Update flags and note about --discovery_ip.
2024-04-30 16:18:10 +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
Adriano Cunha and David Ventura
3edccdc4ab
Update "Spyware" section in README ( #15 )
...
* Update "Spyware" section in README
Added a paragraph mentioning the possible reason and clarifying that blocking outgoing traffic doesn't affect the HTTP server.
* Update README.md
---------
Co-authored-by: David Ventura <davidventura27@gmail.com >
2024-04-28 00:53:04 +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
Adriano Cunha
ca6928aa7c
Merge branch 'master' into patch-3
2024-04-27 13:01:17 -07: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
Adriano Cunha
40bb81f22e
Add a few user-friendly messages to pair.ts for first-timers
2024-04-26 17:29:53 -07:00
Adriano Cunha
e9487f9603
Add a few user-friendly messages to pair.ts for first-timers
...
Also fix the session handling, allowing a camera to be reconnected and recognized again.
2024-04-26 08:51:06 -07:00
Adriano Cunha
82d9115ae6
Merge branch 'DavidVentura:master' into master
2024-04-26 08:47:36 -07:00
Adriano Cunha
31baea2415
Trigger debug output in handlers.ts according to --debug
2024-04-26 08:42:42 -07: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
Adriano Cunha
72de55b26f
Remove the pair target
...
Now that `pair` requires parameters and SSID/password have no defaults, this target doesn't work.
2024-04-26 08:30:33 -07:00