Commit graph

325 commits

Author SHA1 Message Date
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
Kedar Sovani
2d65570234 Cert: Support path-len-constraint in BasicConstraints 2023-01-21 20:18:53 +05:30
Kedar Sovani
cc96c9d125 IM: Include baseline support for Subscription Transaction
Currently the entire transaction goes through successfully and the other end
is notified of a successful subscription. Actual subscription part is yet to be
implemented.
2023-01-21 20:09:12 +05:30
Kedar Sovani
6fa4554d6d NOC: Add support for 2 attributes 2023-01-21 20:07:07 +05:30
Kedar Sovani
a3b24c91fc basic_info: Add Software Version String support 2023-01-21 20:07:00 +05:30
Kedar Sovani
fb82caf391 data_model: provide an API for adding attributes in bulk 2023-01-21 20:06:56 +05:30
Kedar Sovani
98e0b6cef8 Cert: Include support for encoding DN strings
So far, only DN Integers were being supported. Include support for strings too
2023-01-21 20:01:15 +05:30
Kedar Sovani
1a0a41812d
Merge pull request #11 from mibes/feature/cargo-restructure
Cargo restructure
2023-01-16 09:50:12 +05:30
Marcel
4d067072f3 Reverted foreign-types to 0.3 2023-01-15 16:05:38 +01:00
Marcel
9239c78ac6 Reverted major sha2 version 2023-01-15 16:03:22 +01:00
Marcel
5e7d554eda Reverted major versions of foreign-types and hmac 2023-01-15 16:00:29 +01:00
Marcel
f2d3c1821e Include tlv_tool in workspace 2023-01-15 15:53:50 +01:00
Marcel
e1b110ba76 Use Cargo workspace 2023-01-15 15:42:08 +01:00
Marcel
bdc0b6dbef Updated dependencies 2023-01-15 15:41:58 +01:00
Marcel
b4d753fe49 Updated for Cargo workspace usage 2023-01-15 15:41:46 +01:00
Kedar Sovani
24fa1be4fe
Merge pull request #7 from mibes/mdns-discovery
Simplified discovery
2023-01-15 17:03:43 +05:30
Marcel
10b734da7d Fixed suggestions 2023-01-15 11:52:54 +01:00
Marcel
4ae4b8c585
Merge branch 'project-chip:main' into mdns-discovery 2023-01-15 11:48:03 +01:00
Kedar Sovani
d2926a4177
Merge pull request #9 from project-chip/feature/multi-admin
Multi-Admin Support
2023-01-15 15:34:23 +05:30
Marcel
e4fd1f5194 Compute qr version 2023-01-14 16:19:13 +01:00
Marcel
9ba0e017af Clean-up 2023-01-14 16:19:03 +01:00