Page 1
BLE-USB USB to Bluetooth Low Energy Converter User Manual v1.0 www.icpdas.com BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 1...
Page 2
The names used for identification only may be registered trademarks of their respective companies. Technical Support If you have any problems, feel free to contact us via e-mail at service@icpdas.com Document Revision Version Author Date Note Jack 2016/9/20 Release version BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 2...
Page 3
3.1.9 AT+DI ............................24 3.1.10 AT+FC ............................25 3.1.11 AT+LA ............................26 3.1.12 AT+PN ............................27 3.1.13 AT+SFR ............................28 3.1.14 AT+SDN ............................29 3.1.15 AT+GID ............................30 3.1.16 BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 3...
Page 4
Recovery Factory Setting Page ......................54 ........................54 ODULE ON TILITY Connection Mode ..........................54 4.3.1 Broadcast Mode ..........................58 4.3.2 ......................60 IRMWARE PGRADE ON TILITY TECHNICAL SUPPORT........................65 BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 4...
One is broadcaster and observer in advertisement mode and the others is master and slave in connection mode. User can use AT command to setup the BLE-USB. The AT command not only can set role of Bluetooth LE, but also it can set some connection parameters (e.g. RF power level, broadcast parameters and slave amount).
Home Maintenance 1.3 Transmission Mode The transmission mode of BLE-USB can divide into two categories: Broadcast and connection. Each mode had different roles. The Broadcaster/Observer (scanner) used in the broadcast mode. The Master/Slave was used in the connection mode.
ID, and it call “Group ID”. The “Group ID” (refer to 3.1.16) parameter specifies the logical group identity for BLE-USB devices, and each BLE-USB module must be set to the same value if it is in the same group as other modules.
1.5 Bluetooth LE Role The Bluetooth Low Energy (LE) had four roles. The roles are Master (Central), Slave (Peripheral), Broadcaster and Observer. The Master and slave had used in the connection mode. BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 8...
The advertising packet is meant for everyone to see. The Broadcaster is broadcasting to others, so it never accepts connections. The Observer is the opposite of the BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 9...
Slave Master Slave (Peripheral) (Central) (Peripheral) Link establish Connection Request identification packet Packet incorrect disconnect Link establish identification packet Packet correct Figure 1-7. The architecture of master identification mechanism BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 10...
Dimensions (L x W x H) 58.4 mm x 19.8 mm x 9 mm Environment Operating Temperature -25 ~ +75°C Storage Temperature -25 ~ +75°C Relative Humidity 5 ~ 95% RH, Non-condensing BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 11...
Connection mode The RF link LED will blink for 3 second after BLE-USB power on, and the status LED also will turn on for 3 second. The connection had two roles – master and slave. Each role had different LED pattern. The LED pattern was shown in following table:...
Page 13
Broadcast mode The RF link LED and status LED will turn on for 3 second after BLE-USB power on. The connection had two roles – broadcaster and observer (scanner). Each role had different LED pattern. The LED pattern was show in following table:...
2.2.2 USB type-A plug The port is used to configure BLE-USB, communicate with other BLE modules and be powered via the USB socket. 2.3 Dimensions Uint:mm Top View Bottom View Right View Rear View Left View Front View Figure 2-2. Dimensions of BLE-USB...
Write Command, Read Command, Test Command and Execution Command. If the AT command isn’t exist or syntax error, and the BLE-USB would be reply error code. All of AT commands will valid when the module was entering to the AT command mode (except +++).
“AT+XXX<CR>”.The “AT+” is a beginning in the command, and the “XXX” is command name, and the<CR> is end of the command. 3.1.2 List of AT Command The BLE-USB supports AT commands. The command list was shown in the Table 3-1.
Page 17
This command is used to set module into the AT command mode. (2) Syntax Execution command Response +++<CR> Enter to AT mode<CR><LF> (3) Example +++<CR> Enter to AT mode<CR><LF> BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 17...
Page 18
Error: 05<CR><LF> (refer to 3.1.25) 3.1.5 ATE (1) Description This command is used to leave the AT command mode. (2) Syntax Execution command Response ATE<CR> OK<CR><LF> (3) Example ATE<CR> OK<CR><LF> BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 18...
This command is used to change the baud rate of module. (2) Syntax Write Command Response OK<CR><LF> AT+BR=<baud rate><CR> Error: 01<CR><LF> (refer to 3.1.25) Read Command Response +BR: <baud rate><CR><LF> AT+BR?<CR> OK<CR><LF> Test Command Response +BR: 0~5<CR><LF> AT+BR=?<CR> OK<CR><LF> BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 20...
Page 21
3: 19200 4: 9600 Default: 0 (4) Example AT+BR=1<CR> OK<CR><LF> AT+BR?<CR> +BR: 1<CR><LF> OK<CR><LF> AT+BR=7<CR> Error: 01<CR><LF> (refer to 3.1.25) AT+BR=?<CR> +BR: 0~3<CR><LF> OK<CR><LF> AT+BR<CR> Error: 04<CR><LF> (refer to 3.1.25) BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 21...
<stack version> OK<CR><LF> Test Command Response AT+DI=?<CR> OK<CR><LF> (3) Parameter <manufacturer> The identification of manufacturer. <version> The identification of firmware version. <stack version> The identification of Bluetooth LE stack version. BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 24...
500 ms. All of the parameters will be reset to default value. (2) Syntax Execution Command Response AT+FC<CR> OK<CR><LF> Test Command Response AT+FC=?<CR> OK<CR><LF> (3) Example AT+FC=?<CR> OK<CR><LF> AT+FC?<CR> OK<CR><LF> BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 25...
Error: 01<CR><LF> (refer to 3.1.25) Read Command Response +SDN: <number><CR><LF> AT+SDN?<CR> OK<CR><LF> Test Command Response +SDN: 0~999<CR><LF> AT+SDN=?<CR> OK<CR><LF> (3) Parameter The number of device <number> Range: 0~999 Default: 720 BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 29...
Group ID is same in the broadcast or connection mode. The Group ID isn’t same and the device will discard the packet. The Group ID is “0”, and it will receive all packets of the group. BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 30...
Page 31
Range: 0~99 Default: 0 (4) Example AT+GID=1<CR> OK<CR><LF> AT+GID?<CR> +GID: 1<CR><LF> OK<CR><LF> AT+GID=77<CR> OK<CR><LF> AT+GID=?<CR> +GID: 0~99<CR><LF> OK<CR><LF> AT+GID=100<CR> Error: 01<CR><LF> (refer to 3.1.25) AT+GID=AB<CR> Error: 01<CR><LF> (refer to 3.1.25) BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 31...
This command can change the broadcast interval in the broadcast mode. (2) Syntax Write Command Response OK<CR> AT+BCIV=<Interval><CR> Error: 01<CR><LF> (refer to 3.1.25) Read Command Response +BCIV: <Interval><CR><LF> AT+BCIV?<CR> OK<CR><LF> Test Command Response +BCIV: 20~10000<CR><LF> AT+BCIV=?<CR> OK<CR><LF> BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 33...
(refer to 3.1.25) AT+BCIV=60000<CR> Error: 01<CR><LF> (refer to 3.1.25) AT+BCIV<CR> Error: 04<CR><LF> (refer to 3.1.25) 3.1.19 AT+COML (1) Description This command can show that the module had supported commands. (2) Syntax BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 34...
Page 35
AT+BR<CR><LF> AT+CL<CR><LF> AT+CN<CR><LF> AT+DI<CR><LF> AT+FC<CR><LF> AT+LA<CR><LF> AT+PN<CR><LF> AT+GID<CR><LF> AT+COML=?<CR> AT+SDN<CR><LF> AT+SFR<CR><LF> AT+TPL<CR><LF> AT+BCIV<CR><LF> AT+COML<CR><LF> AT+ROLE<CR><LF> AT+EKEY<CR><LF> AT+SKEY<CR><LF> AT+SMODE<CR><LF> AT+BCROLE<CR><LF> OK<CR><LF> (3) Example AT+COML=?CR> OK<CR><LF> AT+COML?<CR> AT<CR><LF> ATE<CR><LF> AT+BC<CR><LF> AT+BR<CR><LF> BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 35...
This command can change connection role (refer to 1.5.1) in the connection mode. (2) Syntax Write Command Response OK<CR> AT+ROLE=<role><CR> Error: 01<CR><LF> (refer to 3.1.25) Read Command Response +ROLE: <role><CR><LF> AT+ROLE?<CR> OK<CR><LF> Test Command Response +ROLE: 0~1<CR><LF> AT+ROLE=?<CR> OK<CR><LF> BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 36...
Page 37
1: Master (Central) Default: 0 (4) Example AT+ROLE=1<CR> OK<CR><LF> AT+ROLE?<CR> +ROLE: 1<CR><LF> OK<CR><LF> AT+ROLE=?<CR> +ROLE: 0~1<CR><LF> OK<CR><LF> AT+ROLE=10<CR> Error: 01<CR><LF> (refer to 3.1.25) AT+ROLE<CR> Error: 04<CR><LF> (refer to 3.1.25) BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 37...
+EKEY: 0~1<CR><LF> AT+EKEY=?<CR> OK<CR><LF> (3) Parameter The enable or disable Master identification mechanism Range: 0~1 < status > 0: Disable 1: Enable Default: 0 (4) Example AT+EKEY=1<CR> OK<CR><LF> AT+EKEY?<CR> BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 38...
Byte 8 Byte 9 Modify by AT command Fix Value Figure 3-3. The identification packet (2) Syntax Write Command Response OK<CR> AT+SKEY=<KEY><CR> Error: 01<CR><LF> (refer to 3.1.25) Read Command Response BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 39...
Page 40
Key value: 0x20~0xFF (ASCII) Default: ICPDAS (4) Example AT+SKEY=ABCDEF<CR> OK<CR><LF> AT+SKEY?<CR> +SKEY: ABCDEF<CR><LF> OK<CR><LF> AT+SKEY=?<CR> +SKEY: 0~1<CR><LF> OK<CR><LF> AT+SKEY=<0x01><0x21><0x02><0x23><0x24><0xFF><CR> Error: 01<CR><LF> (refer to 3.1.25) AT+SKEY<CR> Error: 04<CR><LF> (refer to 3.1.25) BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 40...
This command can switch the role (refer to 1.5.2) in the broadcast mode. (2) Syntax Write Command Response OK<CR> AT+BCROLE=<Role><CR> Error: 01<CR><LF> (refer to 3.1.25) Read Command Response +BCROLE: <Role><CR><LF> AT+BCROLE?<CR> OK<CR><LF> Test Command Response +BCROLE: 0~1<CR><LF> AT+BCROLE=?<CR> OK<CR><LF> BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 42...
Page 43
0: Observer 1: Broadcaster Default: 0 (4) Example AT+BCROLE=1<CR> OK<CR><LF> AT+BCROLE?<CR> +BCROLE: 1<CR><LF> OK<CR><LF> AT+BCROLE=?<CR> +BCROLE: 0~1<CR><LF> OK<CR><LF> AT+BCROLE=2<CR> Error: 01<CR><LF> (refer to 3.1.25) AT+BCROLE<CR> Error: 04<CR><LF> (refer to 3.1.25) BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 43...
<CR> is used to finish a command line. Set packet Start transmission Stop transmission +ADV: xxx <CR> +ADS<CR> +ADP<CR> Figure 3-4. Start transmission in broadcast mode BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 44...
Page 45
(3) Parameter The broadcast packet < packet > Length: 21 Bytes (4) Example +ADV:ABCDE<CR> OK<CR><LF> +ADV:012345678901234567890<CR> OK<CR><LF> +ADV:01234567890123456789ABCD<CR> Error: A2<CR><LF> (refer to 3.1.25) +ADV:012345<CR> Error: A5<CR><LF> (refer to 3.1.25) BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 45...
Page 46
(refer to 3.1.25) Error: A5<CR><LF> (refer to 3.1.25) (3) Example +ADS<CR> OK<CR><LF> +ADS<CR> Error: A1<CR><LF> (refer to 3.1.25) +ADS<CR> Error: A3<CR><LF> (refer to 3.1.25) +ADS<CR> Error: A5<CR><LF> (refer to 3.1.25) BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 46...
Page 47
This command can show the RSSI of Broadcaster when the module was the Observer. (2) Syntax Execution Command Response +ADR: <mac address>,<RSSI> OK<CR><LF> +ADR<CR> Error: A1<CR><LF> (refer to 3.1.25) Error: A4<CR><LF> (refer to 3.1.25) BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 47...
Page 48
< RSSI > The RSSI of Broadcaster (4) Example +ADR<CR> +ADR: 000DE06D0001,-051<CR><LF> +ADR<CR> +ADR: 000DE06D0001,-051<CR><LF> +ADR: 000DE06D0002,-060<CR><LF> +ADR<CR> Error: A1<CR><LF> (refer to 3.1.25) +ADR<CR> Error: A4<CR><LF> (refer to 3.1.25) BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 48...
4-3. The “Basic Parameter Setting” page can set up the The setting page was shown in Figure configuration. The “Recovery Factory Setting” can recovery module to factory setting. Figure 4-3. Setting configuration page BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 49...
Step1 The step 1 was established serial wire connection between BLE-USB and host PC. If the COM port already opened in the main page, the COM port will automatically open when you enter this page. If the configuration was saved in the step 6, you could load the configuration by “Load Configuration”...
Page 51
Peer amount: Maximum amount of slave (refer to 3.1.13) Slave device number: the device name of slave when slave is advertising.(refer to 3.1.15) Group ID: the ID of connection group (refer to 3.1.16). BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 51...
Page 52
Figure 4-8. Master identify mechanism setting Step5 The step 5 can change the baud rate, send mode and RF power. Baud rate: the baud rate of BLE-USB (refer to 3.1.7). BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 52...
Page 53
“Save Configuration” button, but it need select a store path before you click “Save Configuration” button. Please click the “Upload Setting” to upload the configuration into the BLE-USB. The utility will show an information message after the configuration was done. The BLE-USB will automatically restart by itself after the configuration uploaded complete.
“Open Port” button to make a serial connection between BLE-USB and host PC. Second, Please click the “Recovery” button to start recovery process, and the utility will show a message after recovery process is complete. If the recovery process is fail, BLE-USB need re- power and do it again.
Page 55
Open the COM port It needs to make a serial connection between BLE-USB and host PC. The utility will check the transmission mode after you click the “Open Port” button. If the module wasn’t in the connection mode, the warring message would be shown after you clicked the “Open Port”...
Page 56
This feature will send the message automatically. First, it need set the time interval in the textbox. Second, please click “Set” button and the “Send” button will be enable. Third, BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 56...
Page 57
In addition, you can click the “Read Connection List” button; it will show the status of connection. Figure 4-23. Module Configuration Figure 4-24. Read button Figure 4-25. Status of connection BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 57...
Open the COM port It needs to make a serial connection between BLE-USB and host PC. The utility will check the broadcast mode after you click the “Open Port” button. If the module wasn’t in the broadcast mode, the warring message would be shown after you clicked the “Open Port”...
Page 59
Figure 4-32. Read button Figure 4-33. status of peer device Configuration Receive Data When the module was received data from the Broadcaster. It will print the data to the textbox. BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 59...
Page 60
Utility Firmware Upgrade Although the utility support two types for firmware upgrade, but the BLE-USB only supports OTA firmware upgrade. The OTA firmware upgrade need Bluetooth interface in your computer. The Bluetooth interface must be compiling with the Bluetooth 4.0 standards. If you don’t have...
Page 61
Switch BLE-USB to connection mode and Slave The OTA only work when the BLE-USB is the Salve in the connection mode. You can use the utility (refer to 4.2.1.) to switch the role and transmission mode. The AT command (refer to 3.1.20...
Page 62
Figure 4-39. Connect BLE-USB with Windows 10 Figure 4-40. Change slave device number by utility Upgrade the firmware Step 1: Open the OTA firmware upgrade page Figure 4-41. Open the firmware upgrade page BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 62...
Page 63
Figure 4-43. Select firmware path Step 4: Click the “Upload Firmware” button. The OTA program will be opening after click the “Upload Firmware” button. Figure 4-44. Click the “Upload Firmware” BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 63...
Page 64
Step 6. The OTA firmware upgrade will be start after click the “Start” button. Figure 4-46. Click the “Start” button Step 7. Click the “Done” button Figure 4-47. Click the “Done” button BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 64...
5. Technical support Please contact us if you have any questions about products. ICP DAS website: http://www.icpdas.com Email: service@icpdas.com BLE-USB, USB to Bluetooth Low Energy Converter (Ver. 1.0, Oct/6/2016) 65...
Need help?
Do you have a question about the BLE-USB and is the answer not in the manual?
Questions and answers