-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
[中文版](README_CN.md) | ||
|
||
# Sample APK: Bluetooth Transmission of HEX to BLE-UNO | ||
|
||
## Steps | ||
|
||
- The host connects to the BLE-UNO service UUID `0000ffe0-0000-1000-8000-00805f9b34fb` in Bluetooth BLE mode, with the device Bluetooth name defaulting to `ble-uno4.2`. The UUID for the serial port character is `0000ffe1-0000-1000-8000-00805f9b34fb`, and the UUID for the AT command character is `0000ffe2-0000-1000-8000-00805f9b34fb`. | ||
|
||
- Write `AT+TARGE_RESET\r\n` to `0000ffe2-0000-1000-8000-00805f9b34fb` to reset the BLE-UNO. | ||
|
||
- Write the bin file converted from hex according to the skt500v1 protocol to `0000ffe1-0000-1000-8000-00805f9b34fb`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 示例APK:蓝牙传输HEX到BLE-UNO | ||
|
||
## 步骤 | ||
|
||
- 主机通过蓝牙BLE模式连接到BLE-UNO的服务UUID: `0000ffe0-0000-1000-8000-00805f9b34fb`,设备蓝牙名字默认为`ble-uno4.2`, 其中串口的字符UUID为`0000ffe1-0000-1000-8000-00805f9b34fb`,AT指令的字符UUID为`0000ffe2-0000-1000-8000-00805f9b34fb` | ||
|
||
- 往`0000ffe2-0000-1000-8000-00805f9b34fb`写入`AT+TARGE_RESET\r\n`重置BLE-UNO | ||
|
||
- 往`0000ffe1-0000-1000-8000-00805f9b34fb`写入按照skt500v1协议写入hex转成的bin文件 |