Skip to content

Commit

Permalink
Version 0.24 Cascoda SDK Release
Browse files Browse the repository at this point in the history
add aerial adapter - OTA prinf for platforms with no log interface
add thread joining APIs with polling function
add non-blocking APIs for EINK Display
add callback API to non-blocking BUZZ2 note playing
limit max tx power on channel 26
fixes to deep power down modes
fixes for excess power consumption from GPIOs
rename docs/how-to to docs/product
rename docs/guides to docs/dev
  • Loading branch information
tiniuclx committed May 7, 2024
1 parent 45851fd commit 94c32c0
Show file tree
Hide file tree
Showing 144 changed files with 2,953 additions and 369 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: BuildAndDeploy

env:
KNX_IOT_STACK_SECRET: ${{secrets.KNX_IOT_STACK_SECRET}}

on: [push]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 3.18)
project (cascoda-sdk)

if (MSVC)
message(FATAL_ERROR "Building with the Microsoft Visual C/C++ compiler is not supported. Please set up MinGW as shown here: https://github.com/Cascoda/cascoda-sdk/blob/master/docs/guides/development-setup.md#windows")
message(FATAL_ERROR "Building with the Microsoft Visual C/C++ compiler is not supported. Please set up MinGW as shown here: https://github.com/Cascoda/cascoda-sdk/blob/master/docs/dev/development-setup.md#windows")
endif()

# Include helper functions
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ devices soldered onto a PCB.

A reference of all documentation and guides is located [here](docs/reference/full-reference.md), but to get started, here is a list of things you might be looking to do...

- [Getting started with the Cascoda KNX IoT Dev Kit](docs/how-to/howto-knxiot-devkit.md)
- [Getting Started with the Cascoda Packet Sniffer](docs/how-to/howto-sniffer.md)
- [Build, configure and set up a Thread network](docs/how-to/howto-thread.md)
- [Build embedded applications to communicate with various sensors and actuator](docs/how-to/howto-devboard.md)
- [Getting started with the Cascoda KNX IoT Dev Kit](docs/product/howto-knxiot-devkit.md)
- [Getting Started with the Cascoda Packet Sniffer](docs/product/howto-sniffer.md)
- [Build, configure and set up a Thread network](docs/product/howto-thread.md)
- [Build embedded applications to communicate with various sensors and actuator](docs/product/howto-devboard.md)
- [Learn how to build the Cascoda SDK](docs/reference/full-reference.md#building)

If you're a developer or simply want to delve deeper into the Cascoda SDK, read on.
Expand Down
2 changes: 1 addition & 1 deletion baremetal/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Port layer for the OpenThread stack. This enables using OpenThread on baremetal

### cascoda-bm-devboard

Functions and examples specifically targeted for the [Cascoda Development Board](../docs/how-to/howto-devboard.md).
Functions and examples specifically targeted for the [Cascoda Development Board](../docs/product/howto-devboard.md).

### mikrosdk-click

Expand Down
166 changes: 83 additions & 83 deletions baremetal/app/buzz2-click-test/source/buzz2_click_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ca_error buzz2_play_one_note(void)
{
if (!g_play_one_note_done)
{
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E5, 1, 250, NON_BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E5, 1, 250, NON_BLOCKING, NULL);
g_play_one_note_done = true;
}
}
Expand All @@ -53,88 +53,88 @@ ca_error buzz2_ascending_scale(void)
{
if (!g_ascending_scale_done)
{
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B2, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B3, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B4, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B5, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B6, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B7, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C8, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db8, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb8, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E8, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb8, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab8, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A8, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb8, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B8, 1, 50, BLOCKING);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B2, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B3, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B4, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B5, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B6, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_D7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_F7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_G7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B7, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_C8, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Db8, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Eb8, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_E8, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Gb8, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Ab8, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_A8, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_Bb8, 1, 50, BLOCKING, NULL);
MIKROSDK_BUZZ2_play_note(BUZZ2_NOTE_B8, 1, 50, BLOCKING, NULL);
g_ascending_scale_done = true;
}
}
2 changes: 1 addition & 1 deletion baremetal/app/mikrosdk-bm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ I2C clients and SPI slaves are using I2C1 and SPI1 interface to communicate with
---

1. [Set up the environment and build system](../../../docs/reference/full-reference.md#building).
2. [Flash the Chili device](../../../docs/guides/flashing.md) with the binary called `mikrosdk-test` located in the `bin` folder of the build directory for the Chili, which was created in the previous step.
2. [Flash the Chili device](../../../docs/dev/flashing.md) with the binary called `mikrosdk-test` located in the `bin` folder of the build directory for the Chili, which was created in the previous step.
3. Making sure the Chili device is connected to your Windows/Linux/MacOS machine, run the [serial-adapter](../../../posix/app/serial-adapter/README.md) tool (`serial-adapter.exe` on Windows).
4. `serial-adapter` will now be displaying sensor values that are being read by the MikroElectronika sensors attached.
4 changes: 2 additions & 2 deletions baremetal/app/ot-cli-lwm2m/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ This example includes support for the CoAP over UDP and CoAP over DTLS transport
In order to run this demonstration, a Thread border router, such as the Cascoda evaluation border router is required.
The border router should be upgraded to the latest version using the scripts available [here](https://github.com/Cascoda/install-script).

Please see the [evaluation guide](../../../docs/guides/lwm2m-over-thread.md) for more information on how to use this binary.
The guide also includes some [considerations](../../../docs/guides/lwm2m-over-thread.md#considerations) for use in practice.
Please see the [evaluation guide](../../../docs/dev/lwm2m-over-thread.md) for more information on how to use this binary.
The guide also includes some [considerations](../../../docs/dev/lwm2m-over-thread.md#considerations) for use in practice.

**Note that if secure LWM2M is required (using DTLS), the ``CASCODA_BUILD_SECURE_LWM2M`` must be enabled in the CMake config.**

Expand Down
2 changes: 1 addition & 1 deletion baremetal/app/ot-sed-eink-freertos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ build directory.

Once the devices are all ready, plug the server Chili into a Linux machine
and run the `ot-eink-server` executable. Then, power the end device
Chili and [commission it](../../../docs/guides/thread-commissioning.md). After 10 to 20 seconds, the server will receive discover requests, as
Chili and [commission it](../../../docs/dev/thread-commissioning.md). After 10 to 20 seconds, the server will receive discover requests, as
well as image requests from the end device.
2 changes: 1 addition & 1 deletion baremetal/app/ot-sed-thermometer-freertos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This demonstration shows the OpenThread sleepy end device capabilities, and how

This demonstration requires another Chili to act as the server. Flash the server Chili with the `mac-dongle` binary. You must also build the `ot-sensordemo-server` POSIX application, from within the Cascoda POSIX SDK build directory.

Once the devices are all ready, plug the server Chili into a Linux machine and run the `ot-sensordemo-server` executable. Then, power the end device Chili and [commission it](../../../docs/guides/thread-commissioning.md). After 10 to 20 seconds, the server will receive discover requests, as well as temperature readouts from the end device.
Once the devices are all ready, plug the server Chili into a Linux machine and run the `ot-sensordemo-server` executable. Then, power the end device Chili and [commission it](../../../docs/dev/thread-commissioning.md). After 10 to 20 seconds, the server will receive discover requests, as well as temperature readouts from the end device.
```
alexandru@CASCODA211:~/chili-sdk$ ../posix-sdk/bin/ot-sensordemo-server
Server received discover from [fdde:ad00:beef:0:7ee4:f542:d39b:3577]
Expand Down
2 changes: 1 addition & 1 deletion baremetal/app/ot-sed-thermometer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This demonstration shows the OpenThread sleepy end device capabilities.

This demonstration requires another Chili to act as the server. Flash the server Chili with the `mac-dongle` binary. You must also build the `ot-sensordemo-server` POSIX application, from within the Cascoda POSIX SDK build directory.

Once the devices are all ready, plug the server Chili into a Linux machine and run the `ot-sensordemo-server` executable. Then, power the end device Chili and [commission it](../../../docs/guides/thread-commissioning.md). After 10 to 20 seconds, the server will receive discover requests, as well as temperature readouts from the end device.
Once the devices are all ready, plug the server Chili into a Linux machine and run the `ot-sensordemo-server` executable. Then, power the end device Chili and [commission it](../../../docs/dev/thread-commissioning.md). After 10 to 20 seconds, the server will receive discover requests, as well as temperature readouts from the end device.
```
alexandru@CASCODA211:~/chili-sdk$ ../posix-sdk/bin/ot-sensordemo-server
Server received discover from [fdde:ad00:beef:0:7ee4:f542:d39b:3577]
Expand Down
Loading

0 comments on commit 94c32c0

Please sign in to comment.