350 Commits
Author SHA1 Message Date
Andrew King 43b62090c8 Rust fmt 2025-01-30 11:24:17 +07:00
Andrew King 7a66473ab9 Skip seser on the pass field
Skip deser the pass field for camera's that try to sent it in the user list
2025-01-30 11:21:08 +07:00
Linus a30f403dc4 Add support for managing users
Support includes:
- Listing users
- Creating users
- Deleting users
- Changing the password of users
2025-01-29 22:31:22 +01:00
QuantumEntangledAndy ed4a5ea001 Style fixes 2024-10-26 14:33:19 +07:00
QuantumEntangledAndy f78be4dd18 Mail protocol testing 2024-10-18 08:22:02 +07:00
QuantumEntangledAndy efaea4ff91 Simplify the video send 2024-08-08 09:28:22 +07:00
QuantumEntangledAndy f15fdaefbc Don't sleep the thread in async 2024-08-04 13:04:23 +07:00
QuantumEntangledAndy 5fc9bc200a Attempt skipping passwords in mqtt config 2024-08-03 15:42:35 +07:00
QuantumEntangledAndy 8f19d12b8c Differenetiate the different DroppedConnection 2024-08-02 20:01:41 +07:00
QuantumEntangledAndy 204c92cb4e deps updates 2024-08-02 10:10:53 +07:00
QuantumEntangledAndy d16cd4398c Bump deps 2024-08-01 10:28:36 +07:00
QuantumEntangledAndy f8bb04fb8b Clippy issues 2024-07-31 13:13:34 +07:00
Kevin David 9ace435f5f Make resolution optional in DeviceInfo
`resolution` is not specified for devices without cameras (i.e. the floodlight).

Without this change, an error like

```
[2024-07-21T19:26:18Z ERROR neolink_core::bc::de] e: Custom("missing field `resolution`")
[2024-07-21T19:26:18Z WARN  neolink::common::camthread] backyard_floodlight: Connection Lost: Nom Parsing error: Nom Error: VerboseError { errors: [([], Nom(MapRes)), ([], Context("Unable to parse Payload XML"))] }
```

occurs on startup/connection.
2024-07-21 15:49:41 -04:00
QuantumEntangledAndy 82524a12b2 Handle empty vec such as FloodlightStatusList 2024-05-14 10:01:47 +07:00
QuantumEntangledAndy e53b0f09d2 Use pausing at the rtsp pipeline 2024-05-05 10:18:14 +07:00
QuantumEntangledAndy 0d5fbd30f1 Log cleanup 2024-05-02 10:56:40 +07:00
QuantumEntangledAndy a6ebdfe713 Reduce discovery logs 2024-05-02 08:56:22 +07:00
QuantumEntangledAndy e6321f36d7 Mode debug prints for error code 400 2024-04-28 11:38:39 +07:00
QuantumEntangledAndy 366c2a4b69 More log clean up 2024-04-27 15:17:07 +07:00
QuantumEntangledAndy e8aca0ee10 Log cleanup 2024-04-26 16:52:39 +07:00
QuantumEntangledAndy 67508c1f17 Fix the test_enc3_extension test 2024-04-26 11:16:07 +07:00
QuantumEntangledAndy e85e8f4780 Make check value i32 2024-04-26 11:05:58 +07:00
QuantumEntangledAndy bfa76009b9 One more print 2024-04-20 21:08:46 +07:00
QuantumEntangledAndy c59b44c83e Deeper discovery prints 2024-04-18 22:08:26 +07:00
QuantumEntangledAndy 3b0a510ccf Debug print on discovery 2024-04-18 18:55:36 +07:00
QuantumEntangledAndy 4d441d89fd Add a discovery udpxml test 2024-04-18 18:49:32 +07:00
QuantumEntangledAndy 616e2e5223 Option time_r in test 2024-04-16 15:43:31 +07:00
QuantumEntangledAndy 08f917279c Make time_r optional in D2C_CFM 2024-04-16 15:23:17 +07:00
QuantumEntangledAndy df0f494702 In Extension::try_parse try to give use ful error message 2024-04-16 15:09:12 +07:00
QuantumEntangledAndy b46e5db5d8 Add message to udp buffers 2024-04-16 10:08:59 +07:00
QuantumEntangledAndy b8a22f4663 Change time units 2024-04-16 10:08:41 +07:00
QuantumEntangledAndy e6f8aa1e64 Addressing streaming issues 2024-04-12 19:00:00 +07:00
QuantumEntangledAndy cb27c11ed8 Debug logging cleanup 2024-04-12 09:40:42 +07:00
QuantumEntangledAndy 7f8ccc6806 Avoid recreating the AES key 2024-04-11 09:33:50 +07:00
QuantumEntangledAndy 8f8d9e6f78 Avoid a needless copy in de 2024-04-10 17:07:35 +07:00
QuantumEntangledAndy 54f7665414 Add command for camera service port controls (not on old camera) 2024-04-05 19:06:02 +07:00
QuantumEntangledAndy 9187694889 Update to udp discovery xml 2024-04-05 18:47:32 +07:00
QuantumEntangledAndy 1ba899840f Merge branch 'master' into feature/shared_gst 2024-04-05 14:39:43 +07:00
QuantumEntangledAndy 919d8fffba Changes to serde 2024-04-05 13:42:28 +07:00
QuantumEntangledAndy c3ed0b41ab Test passing, clippy fixes 2024-04-05 11:29:25 +07:00
QuantumEntangledAndy 4c17fa9f2b Deps and logs
Use quick_xml instead of yaserde

Use thiserror instead of err_derive

Update deps to latest (except fcm), fcm will need to wait for reolink to update their fcm apis first in their app
2024-04-04 12:47:36 +07:00
Andrew King df0642e0f8 Merge pull request #199 from Frans-Willem/feature/fix-talk-stability 2024-03-31 10:52:15 +07:00
Espen Hovlandsdal 37f560cf66 Fix typos in comments and code 2024-03-14 10:24:16 -07:00
Frans-Willem Hardijzer 261e458947 Stop making assumptions around buffer size, just use expected message duration instead. 2023-12-01 15:02:47 +01:00
Frans-Willem Hardijzer afabd05cef No need to time sending the blocks, the response message will be delayed if the buffer on the device is full. 2023-12-01 14:48:33 +01:00
Frans-Willem Hardijzer ce4e4f2f5d Move payload_bytes into loop, instead of constantly re-setting it. 2023-12-01 14:47:57 +01:00
Frans-Willem Hardijzer b6c7cff6a7 Better timing of sending chunks, works well for files, might not for streams (e.g. microphone) 2023-12-01 13:44:22 +01:00
Frans-Willem Hardijzer 9cd5551156 Properly handle response of TALK command, such that receive buffer doesn't fill up.
If receive buffer fills up, neolink will never exit as the response to TALK_STOP will not get handled correctly.
2023-12-01 13:40:45 +01:00
QuantumEntangledAndy 76e804ea6a Set missed tick to skip 2023-10-30 12:08:50 +07:00
QuantumEntangledAndy 459c9255ad v0.6.3-rc.1 2023-10-28 12:17:23 +07:00