Commit graph

102 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
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
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
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
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
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
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
bdc0b6dbef Updated dependencies 2023-01-15 15:41:58 +01:00
Marcel
10b734da7d Fixed suggestions 2023-01-15 11:52:54 +01:00
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
Marcel
4653b6d3f9 Merge branch 'mdns-discovery' into mdns-disco-multi-admin 2023-01-14 16:00:47 +01:00
Marcel
9364235f77 Merged upstream 2023-01-14 16:00:37 +01:00
Marcel
5499e6ccdc Merge branch 'feature/multi-admin' into mdns-disco-multi-admin 2023-01-14 15:59:10 +01:00
Marcel
23b4473eba Support writing of signed int 2023-01-14 11:01:08 +01:00
Marcel
c8cc5b7ea1 Fix buffer and write strings as utf8 2023-01-13 17:38:39 +01:00
Marcel
8071a7b931 Optional length when encoding 2023-01-13 13:05:22 +01:00
Marcel
8605cf6e41 Base38 decoding 2023-01-13 12:56:56 +01:00
Marcel
563e0cbd9b Ditch the chars() iterator 2023-01-13 12:12:57 +01:00
Marcel
0569cfc771 More idiomatic logic 2023-01-13 11:40:16 +01:00
Marcel
f39cff0bc2 Encode optional data fields 2023-01-12 15:42:21 +01:00
Kedar Sovani
34e137a346 Rebase changes on latest commit 2023-01-12 18:32:53 +05:30
Kedar Sovani
9858fdefdc tests: Fix test cases for featuremap 2023-01-12 18:32:33 +05:30
Kedar Sovani
8714758ae4 data_model: A number of changes required for iOS to work 2023-01-12 17:56:21 +05:30