Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twinleaf/libtio
Twinleaf I/O C library
https://github.com/twinleaf/libtio
linux macos magnetometer sensor wsl
Last synced: 22 days ago
JSON representation
Twinleaf I/O C library
- Host: GitHub
- URL: https://github.com/twinleaf/libtio
- Owner: twinleaf
- License: mit
- Created: 2017-12-20T22:53:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-15T21:24:39.000Z (about 1 month ago)
- Last Synced: 2024-11-30T20:39:46.707Z (23 days ago)
- Topics: linux, macos, magnetometer, sensor, wsl
- Language: C
- Size: 124 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# libtio
This library implements a communications protocol in python to work with [Twinleaf sensors](http://www.twinleaf.com) using [Twinleaf I/O (TIO)](https://github.com/twinleaf/libtio/blob/master/doc/TIO%20Protocol%20Overview.md) as the communications layer. Data from the sensors is received via PUB messages and sensor parameters may be changed using REQ/REP messages.
The repository also contains a reference document for the [TIO Protocol](https://github.com/twinleaf/libtio/blob/master/doc/TIO%20Protocol%20Overview.md).
## Prerequisites
The library compiles with no dependencies on standard POSIX systems:
- Linux
- macOS
- Windows subsystem for linux## Programming
A sockets interface to the sensors is provided. Please review examples in [TIO Protocol](https://github.com/twinleaf/tio-tools) to understand its use.