-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPC: Refactor to share common code between examples #9444
Conversation
auto err = DeviceLayer::SoftwareUpdateMgr().CheckNow();connectedhomeip/examples/common/pigweed/rpc_services/Device.h Lines 46 to 56 in 0651c3f
This comment was generated by todo based on a
|
0651c3f
to
d8067bb
Compare
auto err = DeviceLayer::SoftwareUpdateMgr().CheckNow();connectedhomeip/examples/common/pigweed/rpc_services/Device.h Lines 46 to 56 in d8067bb
This comment was generated by todo based on a
|
d8067bb
to
230a62d
Compare
auto err = DeviceLayer::SoftwareUpdateMgr().CheckNow();connectedhomeip/examples/common/pigweed/rpc_services/Device.h Lines 47 to 57 in 230a62d
This comment was generated by todo based on a
|
230a62d
to
914e859
Compare
auto err = DeviceLayer::SoftwareUpdateMgr().CheckNow();connectedhomeip/examples/common/pigweed/rpc_services/Device.h Lines 47 to 57 in 914e859
This comment was generated by todo based on a
|
914e859
to
ae62dcc
Compare
auto err = DeviceLayer::SoftwareUpdateMgr().CheckNow();connectedhomeip/examples/common/pigweed/rpc_services/Device.h Lines 47 to 57 in ae62dcc
This comment was generated by todo based on a
|
ae62dcc
to
c14d2f4
Compare
auto err = DeviceLayer::SoftwareUpdateMgr().CheckNow();connectedhomeip/examples/common/pigweed/rpc_services/Device.h Lines 47 to 57 in c14d2f4
This comment was generated by todo based on a
|
Move the common RPC services into a common location and have default virtual implementations which use the ember API. Applications can customize the behaviour when neccessary by overriding the methods. Also cleanup the lighting proto to better match the spec.
c14d2f4
to
8bdddd7
Compare
auto err = DeviceLayer::SoftwareUpdateMgr().CheckNow();connectedhomeip/examples/common/pigweed/rpc_services/Device.h Lines 47 to 57 in 8bdddd7
This comment was generated by todo based on a
|
Size increase report for "esp32-example-build" from 92d3a28
Full report output
|
Problem
As more examples get RPC support it is clear that a lot of code is unnecessarily duplicated.
Change overview
Testing