mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-11-14 01:24:14 -08:00
21 lines
279 B
Markdown
21 lines
279 B
Markdown
|
---
|
||
|
id: connecting
|
||
|
title: Connecting to a device
|
||
|
sidebar_label: Connecting
|
||
|
---
|
||
|
|
||
|
Currently Two connection methods are supported, HTTP and BLE.
|
||
|
|
||
|
## HTTP
|
||
|
|
||
|
## BLE
|
||
|
|
||
|
```typescript
|
||
|
//connection method
|
||
|
```
|
||
|
|
||
|
```tsx
|
||
|
//connection button
|
||
|
const a = <connectButton method={someMethod} />;
|
||
|
```
|