Skip to content

Commit c9a5c23

Browse files
committed
Feat: Added: Method for calculating Bluetooth MAC address
1 parent 74576a6 commit c9a5c23

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

bookoo_motto80/README.en.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ Example:
9999
python mt80_gatt_client.py 10:20:30:40:50:60
100100
```
101101

102+
> [!IMPORTANT]
103+
> **The script argument must be the device's Bluetooth MAC address**
104+
>
105+
> `mt80_gatt_client.py` scans for the device's BLE public address, not its Wi-Fi MAC address. For the MT80, **Bluetooth MAC = Wi-Fi MAC + 2**.
106+
>
107+
> To find the Wi-Fi MAC, turn on the MT80 and rapidly press the Menu/Settings button on the back three times to open the **"System Info"** screen. The value labeled **"MAC"** on this screen is the device's Wi-Fi MAC. Add 2 to this address before passing it to the script as `<MAC>`. For example, if the Wi-Fi MAC is `10:20:30:40:50:5E`, the Bluetooth MAC is `10:20:30:40:50:60`.
108+
102109
The script will:
103110

104111
1. Scan for the specified public MAC address for up to 10 seconds;

bookoo_motto80/README.zh-CN.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ python mt80_gatt_client.py <MAC>
9999
python mt80_gatt_client.py 10:20:30:40:50:60
100100
```
101101

102+
> [!IMPORTANT]
103+
> **脚本参数必须使用设备的蓝牙 MAC**
104+
>
105+
> `mt80_gatt_client.py` 扫描的是设备的 BLE public address,不是设备的 Wi-Fi MAC。MT80 的**蓝牙 MAC = Wi-Fi MAC + 2**
106+
>
107+
> 获取 Wi-Fi MAC:MT80 开机后,快速三连击机身后方的菜单/设置按键,进入 **“系统信息”** 界面;界面中显示的 **“设备MAC码”** 就是设备的 Wi-Fi MAC。将该地址加 2 后,再作为脚本的 `<MAC>` 参数输入。例如,Wi-Fi MAC 为 `10:20:30:40:50:5E` 时,蓝牙 MAC 为 `10:20:30:40:50:60`
108+
102109
脚本会:
103110

104111
1. 在 10 秒内扫描指定的公有 MAC 地址;

0 commit comments

Comments
 (0)