begin plugin-api tutorial

This commit is contained in:
Kevin Hester
2020-12-11 09:11:53 +08:00
parent c361c1fab7
commit b9f1ce70cb
14 changed files with 166 additions and 40 deletions

View File

@@ -1,4 +1,6 @@
# Device API
# Bluetooth/serial/TCP protocol API
(This document describes the protocol for external API clients using our devices. If you are interested in running your own code on the device itself, see the [on-device](plugin-api.md) documentation instead)
The Device API is design to have only a simple stream of ToRadio and FromRadio packets and all polymorphism comes from the flexible set of Google Protocol Buffers which are sent over the wire. We use protocol buffers extensively both for the bluetooth API and for packets inside the mesh or when providing packets to other applications on the phone.