mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-11-13 17:14:25 -08:00
9dc879235f
* 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>
37 lines
570 B
Plaintext
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
|
|
|
|
:::
|