Skip to content

Commit

Permalink
Update README.md (#35243)
Browse files Browse the repository at this point in the history
  • Loading branch information
lboue authored and pull[bot] committed Sep 2, 2024
1 parent 233273e commit 1062420
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/microwave-oven-app/linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ doc is tested on **Ubuntu for Raspberry Pi Server 20.04 LTS (aarch64)** and

- Build the example application:

$ cd ~/connectedhomeip/examples/lighting-app/linux
$ cd ~/connectedhomeip/examples/microwave-oven-app/linux
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ gn gen out/debug
$ ninja -C out/debug

- To delete generated executable, libraries and object files use:

$ cd ~/connectedhomeip/examples/lighting-app/linux
$ cd ~/connectedhomeip/examples/microwave-oven-app/linux
$ rm -rf out/

- Build the example with pigweed RPC

$ cd ~/connectedhomeip/examples/lighting-app/linux
$ cd ~/connectedhomeip/examples/microwave-oven-app/linux
$ git submodule update --init
$ source third_party/connectedhomeip/scripts/activate.sh
$ gn gen out/debug --args='import("//with_pw_rpc.gni")'
Expand Down Expand Up @@ -104,10 +104,10 @@ doc is tested on **Ubuntu for Raspberry Pi Server 20.04 LTS (aarch64)** and

- Run Linux Lighting Example App

$ cd ~/connectedhomeip/examples/lighting-app/linux
$ sudo out/debug/chip-lighting-app --ble-device [bluetooth device number]
$ cd ~/connectedhomeip/examples/microwave-oven-app/linux
$ sudo out/debug/chip-microwave-oven-app --ble-device [bluetooth device number]
# In this example, the device we want to use is hci1
$ sudo out/debug/chip-lighting-app --ble-device 1
$ sudo out/debug/chip-microwave-oven-app --ble-device 1

- Test the device using ChipDeviceController on your laptop /
workstation etc.
Expand Down

0 comments on commit 1062420

Please sign in to comment.