mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-11-11 08:04:26 -08:00
77 lines
1.8 KiB
Plaintext
77 lines
1.8 KiB
Plaintext
---
|
|
id: bluetooth
|
|
title: Bluetooth Settings
|
|
sidebar_label: Bluetooth
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
The bluetooth config options are: Enabled, Pairing Mode and Fixed PIN Value. Bluetooth config uses an admin message sending a `Config.Bluetooth` protobuf.
|
|
|
|
## Bluetooth Config Values
|
|
|
|
### Enabled
|
|
|
|
Enables bluetooth
|
|
|
|
### Pairing Mode
|
|
|
|
### Fixed PIN
|
|
|
|
If your pairing mode is set to fixed PIN this is the value of that fixed 6 digit pin. Default value is 123456
|
|
|
|
## Bluetooth Module Config Client Availability
|
|
|
|
<Tabs
|
|
groupId="settings"
|
|
defaultValue="apple"
|
|
values={[
|
|
{label: 'Android', value: 'android'},
|
|
{label: 'Apple', value: 'apple'},
|
|
{label: 'CLI', value: 'cli'},
|
|
{label: 'Flasher', value: 'flasher'},
|
|
{label: 'Web', value: 'web'},
|
|
]}>
|
|
<TabItem value="android">
|
|
|
|
:::info
|
|
Bluetooth module config is not available for Android.
|
|
:::
|
|
|
|
</TabItem>
|
|
<TabItem value="apple">
|
|
|
|
:::info
|
|
All bluetooth config values are available on iOS, iPadOS and macOS at Settings > Radio Configuration > Position.
|
|
:::
|
|
|
|
</TabItem>
|
|
<TabItem value="cli">
|
|
|
|
All bluetooth module config options are available in the python CLI. Example commands are below:
|
|
|
|
| Setting | Acceptable Values | Default |
|
|
| :-----------------------: | :-----------------: | :-----: |
|
|
| bluetooth.enabled | `true`, `false` | `true` |
|
|
| bluetooth.mode | `RandomPin`, `FixedPin`, `NoPin` | `RandomPin` |
|
|
| bluetooth.fixedPin | `integer` 6 Digits | `123456` |
|
|
|
|
```shell title="Enable/Disable Bluetooth Module"
|
|
meshtastic --set bluetooth.enabled true
|
|
meshtastic --set mqtt.enabled false
|
|
```
|
|
|
|
```shell title="Set a fixed pin"
|
|
meshtastic --set bluetooth.mode fixedPin
|
|
meshtastic --set bluetooth.FixedPin 111111
|
|
```
|
|
</TabItem>
|
|
<TabItem value="web">
|
|
|
|
:::info
|
|
All bluettoth module config options are available for the Web UI.
|
|
:::
|
|
|
|
</TabItem>
|
|
</Tabs> |