meshtastic/docs/developers/api.mdx
Sacha Weatherstone 9dc879235f
Hardware pages (#299)
* initial devices.json

* initial hardware components

* testing page at /docs/hardware/supported/template

* WIP Changes

* Home page work & updates

* Fix build

* Fix external link button

* Setup linting

* rename, cleanup & lint

* seperate lint cmd for now

Co-authored-by: Foster Irwin <foster@jfirwin.com>
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail..om>
2022-04-02 00:34:49 +11:00

37 lines
570 B
Plaintext

---
id: api
title: APIs
sidebar_label: APIs
---
## General
:::note
Currently there are three methods of interfacing with devices: `HTTP`, `BLE`, and `Serial`.
Whilst each method has it's own ways sending and receiving data, the underlying protobuf transport medium remains the same.
:::
## HTTP
### Endpoints
#### `PUT` /api/v1/toradio
#### `GET` /api/v1/fromradio&all=`boolean`
## BLE
:::important
UUID for the service: `6ba1b218-15a8-461f-9fa8-5dcae273eafd`
:::
## Serial
:::important
You can communicate with devices with a baud rate of `921600`bps
:::