Skip to content

Commit

Permalink
Update PW-RPC service to use DataModel::Provider for writes (#37160)
Browse files Browse the repository at this point in the history
* Avoid PW-RPC assertion error if application is stopped without any RPC connections

* Anoter PWRPC crash fix

* Implement the write from TLV

* Update protos to support string and bytes as separate types for encode/decode

* Restyle

* make writes actually work

* Make write(read.tlv) actually work

* Fix typo
  • Loading branch information
andy31415 authored Jan 23, 2025
1 parent 48e1edb commit 04f1688
Show file tree
Hide file tree
Showing 4 changed files with 393 additions and 218 deletions.
1 change: 1 addition & 0 deletions examples/common/pigweed/protos/attributes_service.options
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

chip.rpc.AttributeData.data_bytes max_size:128
chip.rpc.AttributeData.data_string max_size:128
chip.rpc.AttributeData.tlv_data max_size:256
Loading

0 comments on commit 04f1688

Please sign in to comment.