c-mesh-api
c-mesh-api copied to clipboard
Wirepas's Dual MCU API to interface locally with a node device
Wirepas Mesh API
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.
C Library
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:
- C-mesh-api example
Tests
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
Contributing
We welcome your contributions!
Please read the instructions on how to do it and please review our code of conduct.
License
Wirepas Oy licensed under Apache License, Version 2.0 See file LICENSE for full license details.