meshtastic/docs/settings/config/bluetooth.mdx

77 lines
1.8 KiB
Plaintext
Raw Normal View History

2022-08-24 08:36:58 -07:00
---
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
2022-09-22 18:51:41 -07:00
## Bluetooth Module Config Client Availability
2022-08-24 08:36:58 -07:00
2022-09-22 18:51:41 -07:00
<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:
2022-08-24 08:36:58 -07:00
| Setting | Acceptable Values | Default |
| :-----------------------: | :-----------------: | :-----: |
| bluetooth.enabled | `true`, `false` | `true` |
2022-09-22 19:12:45 -07:00
| bluetooth.mode | `RANDOM_PIN`, `FIXED_PIN`, `NO_PIN` | `RANDOM_PIN` |
2022-08-24 08:36:58 -07:00
| bluetooth.fixedPin | `integer` 6 Digits | `123456` |
2022-09-22 18:51:41 -07:00
```shell title="Enable/Disable Bluetooth Module"
meshtastic --set bluetooth.enabled true
2022-09-30 09:58:28 -07:00
meshtastic --set bluetooth.enabled false
2022-09-22 18:51:41 -07:00
```
2022-08-24 08:36:58 -07:00
2022-09-22 18:51:41 -07:00
```shell title="Set a fixed pin"
2022-09-22 19:12:45 -07:00
meshtastic --set bluetooth.mode FIXED_PIN
meshtastic --set bluetooth.fixed_pin 111111
2022-09-22 18:51:41 -07:00
```
</TabItem>
<TabItem value="web">
2022-08-24 08:36:58 -07:00
2022-09-22 18:51:41 -07:00
:::info
All bluettoth module config options are available for the Web UI.
:::
</TabItem>
</Tabs>