Commit graph

295 commits

Author SHA1 Message Date
Kedar Sovani
1ad4e6ebc3 Tests: Create macro for simpler expression of attr_data 2023-02-28 18:09:03 +05:30
Kedar Sovani
566db62404
Merge pull request #30 from kedars/bugfix/merge_conflict
Fix merge conflict
2023-02-28 17:03:00 +05:30
Kedar Sovani
0713b79d48 Fix merge conflict 2023-02-28 16:55:31 +05:30
Kedar Sovani
dfa25214ba
Merge pull request #26 from angelybo/clusters/media_playback_cluster
Clusters/media playback cluster
2023-02-28 16:51:20 +05:30
Kedar Sovani
70fcc5192a
Merge pull request #29 from Troels51/troels/spelling_error
Spelling: Sucess => Success
2023-02-28 16:49:58 +05:30
Troels Dalsgaard Hoffmeyer
e3e085d135 Spelling: Sucess => Success 2023-02-28 16:42:23 +05:30
Kedar Sovani
9b5a2530f8
Merge pull request #28 from kedars/feature/large_reads
Support multi-leg reads
2023-02-28 16:35:21 +05:30
Kedar Sovani
9aeb39123c Fix tests 2023-02-27 20:19:13 +05:30
Kedar Sovani
d0d853d3c4 Subscribe: Support for long-read based subscription
The following command works with this: chip-tool  any subscribe-by-id 0xFFFFFFFF 0xFFFFFFFF 1 20 12344321 0xFFFF
2023-02-27 20:11:30 +05:30
Kedar Sovani
78d14629a8 ReadReq: Multi-hop read is fully functional 2023-02-26 17:16:43 +05:30
Kedar Sovani
dd47aa9a69 ReadRequest: Basic stuff works across multi-hop reads 2023-02-26 15:02:56 +05:30
Kedar Sovani
487124c9dc DataModel: Capture pending request for chunked read messages 2023-02-24 19:28:42 +05:30
Kedar Sovani
79d6169c48 ToTLV: Support ToTLV for TLVArray 2023-02-24 19:27:51 +05:30
Angel Yankov
fb97857f59 Whitespace format fix 2023-02-24 11:20:09 +02:00
Kedar Sovani
e05f40c506 DataModel: Demultiplex multi-leg transactions in core/mod.rs
In following commits chunked read will be added
2023-02-22 14:38:42 +05:30
Angel Yankov
1dcc94de0e Add example for speaker with media playback cluster. 2023-02-21 13:36:27 +02:00
Angel Yankov
3e03ceaacb Add device type speaker 2023-02-21 13:36:27 +02:00
Angel Yankov
d683aace8b Implement playback response 2023-02-21 13:36:27 +02:00
Angel Yankov
057bcb7860 Add media playback cluster with some default implementations. 2023-02-21 13:36:27 +02:00
Kedar Sovani
c5345e3034 DataModel: Mov subscribe/status-report into Data Model
There are peculiar ways status-report should be interpreted in various
contexts. Easier to manage this within the Data Model.
2023-02-21 16:47:50 +05:30
Kedar Sovani
0a42c974d0 ReadReq: Move stuff into common file
Read request handling is getting fairly large
2023-02-20 21:52:42 +05:30
Kedar Sovani
88bcbb1b02 ReadRequest: Create structure for recording ResumeReadRequest 2023-02-19 12:55:58 +05:30
Kedar Sovani
e41f6ac99a AttrDetails: Provide constructor 2023-02-19 12:55:31 +05:30
Kedar Sovani
60ded6d5fb ReadRequest: Chunked Messages - Part 1
- Create the structure so that when the WriteBuf gets full, we return back with MoreChunkedMessages note
- When the WriteBuf gets full, we also make a note of the current attribute, so that we can resume from this attribute
onwards while sending the next chunk
2023-02-18 14:50:12 +05:30
Kedar Sovani
1807c606a0 Create wb_shrink/wb_unshrink macros
These allow you to shrink the WriteBuf by truncating it towards the end
2023-02-18 14:49:23 +05:30
Kedar Sovani
4f31cbf329 AttrReadEncoder: If buffer is full, leave behind a sane state
Also, create an API that can be used to query the buffer full situation
2023-02-17 19:50:53 +05:30
Kedar Sovani
e15920b839 Make Clippy happy 2023-02-17 19:48:36 +05:30
Kedar Sovani
7357d6d9c9
Merge pull request #14 from kedars/feature/subscription_support
Draft: IM: Include baseline support for Subscription Transaction
2023-02-15 10:26:58 +05:30
Kedar Sovani
78586f3a7e
Merge pull request #22 from kedars/bugfix/misc_data_model_changes
Miscellaneous data model changes
2023-02-15 10:26:40 +05:30
Kedar Sovani
034d169cf5 mbedtls: Use ASN1Writer instead of hacking it up 2023-02-13 10:56:34 +05:30
Kedar Sovani
316de9c97a DescriptorCluster: Include attribute for ClientList 2023-02-12 21:13:19 +05:30
Kedar Sovani
29622cc22c GenComm: A new error code is introduced by BusyWithOtherAdmin in the spec 2023-02-12 21:13:19 +05:30
Kedar Sovani
d518be9db3
Merge pull request #21 from kedars/feature/cat_in_acl
Feature/CAT in ACL
2023-02-12 14:19:00 +05:30
Kedar Sovani
707d3700c0 NOC CAT: The CAT IDs in the NoC are only 32-bit, account for that 2023-02-12 10:14:47 +05:30
Kedar Sovani
0149d30a0c CASE: Extract CAT IDs from current session and add them to the Accessor 2023-02-10 20:22:28 +05:30
Kedar Sovani
108385c1ca
Merge pull request #20 from angelybo/use_official_libmdns
Pin to  official release of libmdns
2023-02-10 19:51:25 +05:30
Angel Yankov
858d2aa9d9 Pin to official release of libmdns
Libmdns 0.7.4 (https://crates.io/crates/libmdns/0.7.4) fixes responses
on wildcard (255) quries.
2023-02-10 15:51:54 +02:00
Kedar Sovani
5bcb80af8a
Merge pull request #17 from kedars/bugfix/incorrect_asn1_time
Bugfix/incorrect asn1 time
2023-02-10 16:58:13 +05:30
Kedar Sovani
725d19187e Session: Include NoC CAT fields, and populate them from the CASE exchange 2023-02-10 09:15:31 +05:30
Kedar Sovani
315b7edbc8 ACL: Add support for NOC CAT 2023-02-10 09:15:10 +05:30
Kedar Sovani
72f40e0e35
Merge pull request #18 from angelybo/libmdns_linux
Use libdmns on Linux
2023-02-09 19:51:42 +05:30
Angel Yankov
77a0e3db38 Use libdmns on Linux
Based implementation from https://github.com/kedars/matter-rs/pull/18
2023-02-08 17:17:48 +02:00
Kedar Sovani
11d50485a4 ASN1: Fix incorrect time encoding for year >= 2050 2023-02-08 19:21:04 +05:30
Kedar Sovani
afd03e17d3 Minor fixes 2023-02-08 19:21:04 +05:30
Kedar Sovani
89d973725a
Merge pull request #16 from angelybo/comapre-attr
Derive PartialOrd for AttrValue so we can compare them directly
2023-02-08 08:24:19 +05:30
Angel Yankov
6eca0b307c Derive PartialOrd for AttrValue so we can compare them directly when updating numeric attributes. 2023-02-07 12:12:25 +02:00
Kedar Sovani
d77871e44e
Merge pull request #12 from kedars/feature/txt-fields-dn
Certs: Include support for text fields in Distinguished Names
2023-01-28 09:39:58 +05:30
Kedar Sovani
690e396914
Merge pull request #13 from kedars/feature/data-model-updates
Support more common cluster attributes
2023-01-28 09:39:41 +05:30
Kedar Sovani
cf72862d20 tlv_tool: Make provision to dump ASN1 representation of certificates 2023-01-21 20:19:07 +05:30
Kedar Sovani
e6709aab18 Cert: Update tests for parsing txt fields in DNs 2023-01-21 20:19:07 +05:30