Back to Connectedhomeip

`Bouffalo Lab` with RPC console

docs/platforms/bouffalolab/rpc_console.md

1.5.1.0791 B
Original Source

Bouffalo Lab with RPC console

Build image

  • BL602DK

    shell
    ./scripts/build/build_examples.py --target bouffalolab-bl602dk-light-wifi-littlefs-rpc build
    
  • BL704LDK

    shell
    ./scripts/build/build_examples.py --target bouffalolab-bl704ldk-light-thread-littlefs-rpc build
    
  • BL706DK

    shell
    ./scripts/build/build_examples.py --target bouffalolab-bl706dk-light-thread-littlefs-rpc build
    

Run RPC Console

  • Build chip-console following this guide

  • Start the console

    $ chip-console -d /dev/ttyACM0 -b 115200
    
  • Get or Set the light state

    rpcs.chip.rpc.Lighting.Get()

    rpcs.chip.rpc.Lighting.Set(on=True, level=128)