Skip to content
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

[Mbed] Add RPC support for locking and lighting examples #10960

Merged
merged 5 commits into from
Oct 27, 2021

Conversation

ATmobica
Copy link
Contributor

Problem

Add RPC service support for lock-app and lighting-app examples.

Change overview

The changes are only Mbed platform-specific.

Add device, button, lighting, and locking RPC services to Mbed build
Create a common Mbed RPC service source (initialization and run RPC service) for each RPC supported example
Add a button event handler to lock app task

Fix Locking RPC service - changed the locked variable type to boolean

Testing

Build and run examples manually, check with RPC console.

@andy31415
Copy link
Contributor

Any chance you could add build support using scripts/build/build_examples.py ?

@ATmobica
Copy link
Contributor Author

@andy31415 Do you mean build Mbed examples using scripts/build/build_examples.py?

@woody-apple
Copy link
Contributor

Fast tracking, platform maintainer updating platform code

@woody-apple woody-apple merged commit 2149dae into project-chip:master Oct 27, 2021
woody-apple added a commit that referenced this pull request Oct 27, 2021
woody-apple added a commit that referenced this pull request Oct 27, 2021
JasonLiuZhuoCheng pushed a commit to JasonLiuZhuoCheng/connectedhomeip that referenced this pull request Oct 28, 2021
…p#10960)

* Add CONFIG_CHIP_PW_RPC flag to lock and lighting apps

* Add more RPC services to Mbed build
Create common RPC service run function
Add RPC support for lock and lighting apps
Add button event handler to lock app task

* Fix Locking RPC service - changed locked variable type to boolen

* Add AppTask reference in Rpc.cpp
Changes restyle

* Fix AppTask.h include
JasonLiuZhuoCheng pushed a commit to JasonLiuZhuoCheng/connectedhomeip that referenced this pull request Oct 28, 2021
carol-apple pushed a commit to carol-apple/connectedhomeip that referenced this pull request Oct 28, 2021
…p#10960)

* Add CONFIG_CHIP_PW_RPC flag to lock and lighting apps

* Add more RPC services to Mbed build
Create common RPC service run function
Add RPC support for lock and lighting apps
Add button event handler to lock app task

* Fix Locking RPC service - changed locked variable type to boolen

* Add AppTask reference in Rpc.cpp
Changes restyle

* Fix AppTask.h include
carol-apple pushed a commit to carol-apple/connectedhomeip that referenced this pull request Oct 28, 2021
PSONALl pushed a commit to PSONALl/connectedhomeip that referenced this pull request Dec 3, 2021
…p#10960)

* Add CONFIG_CHIP_PW_RPC flag to lock and lighting apps

* Add more RPC services to Mbed build
Create common RPC service run function
Add RPC support for lock and lighting apps
Add button event handler to lock app task

* Fix Locking RPC service - changed locked variable type to boolen

* Add AppTask reference in Rpc.cpp
Changes restyle

* Fix AppTask.h include
PSONALl pushed a commit to PSONALl/connectedhomeip that referenced this pull request Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants