This repository contains a C implementation of the Wirepas Dual MCU API. The Dual MCU API allows the exchange of data between a host and a Wirepas node via UART. The C-Mesh library is used by the Wirepas Gateway software but can also be used in case of a Dual MCU architecture.
The C implementation is available from lib and is structured in the following folders:
- api: header files for the WM dual mcu api
- platform: host platform functions for interface handling
- wpc: implementation of the WM dual mcu api
An example on how to use and extend the library is available from:
To run the tests you will to connect a device running WM's dual mcu api on your host machine.
Build the tests with
cd test
make
Execute the test suite with
./build/meshAPItest
We welcome your contributions!
Please read the instructions on how to do it and please review our code of conduct.
Wirepas Oy licensed under Apache License, Version 2.0 See file LICENSE for full license details.