Commit graph

257 commits

Author SHA1 Message Date
David Ventura
b81b120260 Rename project 2024-12-12 12:00:32 +01:00
David Ventura
92e0b39897 Respect --discovery_ip in pair subcommand 2024-12-12 12:00:25 +01:00
David Ventura
c80b6b0a67 Add content-length & newline before boundary 2024-10-02 22:43:53 +02:00
Tin Lai
9f6f0ca8fa
fix crashes when pkt_id 1 is dropped (#33)
Signed-off-by: Tin Lai <tin@tinyiu.com>
Co-authored-by: Tin Lai <tin@tinyiu.com>
2024-07-04 11:27:06 +02:00
David Ventura
8f19d215ba split out parseDevStatusAck & test it 2024-07-01 16:03:53 +02:00
David Ventura
f85248bc6a support single-frame capture 2024-07-01 16:03:21 +02:00
David Ventura
80b1e4643b add test wifidetails + fix implementation offset 2024-05-07 13:35:22 +02:00
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
Adriano Cunha
4a6a58bd7b
Fix crash in http_server (#25)
Set camera config before referencing it. Also set audio default to true.
2024-05-06 22:09:03 +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