Commit graph

35 commits

Author SHA1 Message Date
ivmarkov
488ef5b9f0 Proper mDNS responder 2023-07-21 12:15:12 +00:00
ivmarkov
de3d3de004 Make Matter covariant over its lifetime 2023-07-21 12:15:11 +00:00
ivmarkov
1b879f1a5b Simplify main user-facing API 2023-07-21 12:15:11 +00:00
ivmarkov
443324a764 More inlines 2023-07-21 12:15:11 +00:00
ivmarkov
1e6cd69de8 built-in mDNS; memory optimizations 2023-07-21 12:15:11 +00:00
ivmarkov
592d1ee028 Just use time-rs in no_std mode 2023-07-21 12:15:11 +00:00
ivmarkov
a4b8b53014 Builds for STD with ESP IDF 2023-07-21 12:15:10 +00:00
ivmarkov
695869f13a Fix compilation errors in crypto 2023-07-21 12:12:55 +00:00
imarkov
974ac4d1d8 Optional feature to capture stacktrace on error 2023-07-21 12:12:55 +00:00
ivmarkov
9964466138 MRP standalone ack messages should not be acknowledged 2023-07-21 12:12:55 +00:00
ivmarkov
eb3c9cdfb1 Cleanup a bit the mDns story 2023-07-21 12:12:54 +00:00
ivmarkov
505fa39e82 Create new secure channel sessions without async-channel 2023-07-21 12:09:56 +00:00
ivmarkov
d9c99d73ee Chrono dep made optional 2023-07-21 12:09:56 +00:00
ivmarkov
bcbac965cd Remove allocations from Cert handling 2023-07-21 12:09:56 +00:00
ivmarkov
fcc87bfaf4 Long reads and subscriptions reintroduced 2023-07-21 12:09:56 +00:00
ivmarkov
40f353c92e Support for no_std
Support for no_std

Further no_std compat
2023-07-21 12:09:56 +00:00
bjoernQ
e6b95f9cc6 Make RustCrypto work on 32-bit machines 2023-05-05 16:26:32 +02:00
Kedar Sovani
5b2af5ffd7
Merge pull request #50 from kedars/feature/dedup
de-dup for RX packets
2023-04-05 13:45:21 +05:30
Kedar Sovani
0e172f073a NOC: Send an ACK up-front since NOC operations take longer time
Ack the other end while we are processing stuff, so it doesn't bombard us
with retransmissions
2023-04-05 12:18:26 +05:30
Wakahisa
bab8eb8124 Crypto backed by RustCrypto crates
Almost all crates are no_std and don't require std.
Only `x509-cert` does.

Manually tested with the onoff example.
2023-04-02 13:07:36 +02:00
Kedar Sovani
e15920b839 Make Clippy happy 2023-02-17 19:48:36 +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
Marcel
2b4919bb56 Merged multi-admin 2023-01-11 13:35:25 +01:00
Marcel
31034f6e89 Merge remote-tracking branch 'upstream/feature/multi-admin' into mdns-disco-multi-admin 2023-01-11 12:45:21 +01:00
Kedar Sovani
1645754b48 admin-commissioning: Link PaseMgr with Admin Commissioning
Adding the second commissioner now works successfully through iOS! Yay!
2023-01-10 18:40:52 +05:30
Kedar Sovani
b24c9acc7d spake2p: Fix issues
- Verifier length was incorrect
- spake2 was not being initialised in the 'Verifier' Option
- change method for new()
2023-01-10 18:39:14 +05:30
Kedar Sovani
95c74ec298 pase: Split out a separate Pase Mgr
- This is required so that the AdminCommissioning Cluster has a reference to the Pase Mgr
  - The Cluster can then open commissioning window accordingly
- Right now, for the error paths in the PASE/CASE sessions, I have set ResponseRequired to No,
  but I am not quite sure if this is the expected behaviour. Need to check
2023-01-10 17:23:22 +05:30
Marcel
b477a871e9 Implemented the Clippy recommendations 2023-01-10 08:53:04 +01:00
Kedar Sovani
ebaf5438cd pase: Create provision to accept either password or verifier for configuring PASE 2023-01-08 12:27:27 +05:30
Kedar Sovani
e9ea342bf7 mdns: Discriminator is a property of the 'commissionable' state 2023-01-08 11:13:12 +05:30
Kedar Sovani
e398fbfe00 Transaction: Meaningful method names 2023-01-04 08:38:36 +05:30
Kedar Sovani
752a2f3880 Make CASE work with iOS
- The initiator ICAC is also optional in this scenario
- Secondly, it was observed that the NOC was larger than 256, so we've got to use str16 instead
2023-01-01 11:54:58 +05:30
Kedar Sovani
569f1bb19b OpCreds: ICAC is optional and may not be added as part of commissioning 2022-12-31 11:04:33 +05:30
Kedar Sovani
72e703353d Debug: Include TLV dumps for Secure Channel exchanges 2022-12-31 11:02:16 +05:30
Kedar Sovani
77af70d8f1 Initial commit
merged from https://github.com/kedars/matter-rs
2022-12-27 09:52:25 +05:30