Commit graph

164 commits

Author SHA1 Message Date
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
Wakahisa
7bde97debc pin proc-macro versions
There's a breaking change in syn 2
2023-04-02 12:22:43 +02:00
Kedar Sovani
9412ab6fe5
Merge pull request #47 from dstrub18/main
Removed Result return type from new function of attribute
2023-03-08 16:11:20 +05:30
Restyled.io
db43ce7aeb Restyled by rustfmt 2023-03-08 11:13:41 +01:00
Daniel Struebig
760b543d17 Removed Result return type from new function of attribute 2023-03-08 09:50:50 +01:00
Kedar Sovani
451b676b82
Merge pull request #45 from thekuwayama/modify__valid_invoke_cmd_testcase
modify test_valid_invoke_cmd; proper test case & command type
2023-03-07 19:42:07 +05:30
thekuwayama
dc8befb892 modify: proper test case for test_valid_invoke_cmd
improvement: command type; u16 -> u32
2023-03-06 23:59:46 +09:00
Kedar Sovani
10ca1f0ad1
Merge pull request #44 from thekuwayama/modify__structure_invoke_cmd_testcase
modify: for proper test case
2023-03-06 10:09:50 +05:30
thekuwayama
4a4fcc87b8 modify: for proper test case 2023-03-06 03:54:29 +09:00
Kedar Sovani
05263e7a2c
Merge pull request #32 from kedars/feature/remove_fabric
"Remove Fabric" Support
2023-03-04 22:10:27 +05:30
Kedar Sovani
dd3f85de1f
Merge pull request #31 from kedars/feature/large_read_tests
Tests for multi-leg read/subscribe
2023-03-04 18:51:36 +05:30
Kedar Sovani
f05a20b18a Commissioning: Show QR Code only when in commissioning mode 2023-03-04 15:21:54 +05:30
Kedar Sovani
2f360af9c2 NoC: Remove any ACLs for this fabric 2023-03-04 14:52:09 +05:30
Kedar Sovani
fbcbcb7db4 NoC: Remove Fabric Support 2023-03-04 13:12:04 +05:30
Kedar Sovani
5e7e78884a Exchange: Add support for session termination 2023-03-04 13:04:13 +05:30
Kedar Sovani
fcb7f9c28e DataModel: Increase the tail buffer, works with Google now 2023-03-04 13:02:25 +05:30
Kedar Sovani
df226aa5f3 Clippy fixes 2023-03-01 07:42:32 +05:30
Kedar Sovani
9089ab3fd3 Tests: Test subscribe with multi-leg reads 2023-03-01 07:42:12 +05:30
Kedar Sovani
da8d7a96b7 Tests: Add test for long read 2023-02-28 18:10:47 +05:30
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