Commit Graph

4 Commits

Author SHA1 Message Date
Benjamin Cabé
6894fce411 samples: net: openthread: update README to use correct code block syntax
Update the ot-coap sample README so that code blocks have proper syntax
highlighting.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-01-25 01:41:11 +01:00
Benjamin Cabé
7c50cb4d3a samples: net: openthread: ot-coap README should not be orphan
This prevented the sample to show up properly in the sample
catalog.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-01-25 01:41:11 +01:00
Alexandre Bailon
aaa9a8777f samples: net: openthread: coap: Add shell commands
This adds shell commands to easily get or set LED.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
2025-01-21 19:27:07 +01:00
Alexandre Bailon
dc898b47c8 samples: net: openthread: Add a sample using OpenThread CoAP API
In order to show how to use OpenThread and CoAP, add an application.
This example could be build to run a client or server.
The server could expose LEDs and buttons and client could get their
state and set the LEDs state.

The network is created automatically using the network key predefined
in the config. The goal is to make the example simple by removing
the commisionning and joinning process.

If a client application has a button, it could use it to toggle the first
LED on any boards running the server application.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
2025-01-21 19:27:07 +01:00