Page 162 of 195
AT.s LE Command Set v5.1.1b
Copyright © 2002-2021 BlueRadios, Inc.
200 S. Wilcox St., Unit 158 • Castle Rock, CO 80104 • USA • 303-957-1003 •
DFU Service (ATSDFU)
SET DFU CONFIGURATION
Function:
Configures the Over the Air Firmware Update Service (DFU).
Command Format:
ATSDFU,<Service_Enable>,<Active>
Command Parameter(s):
▪
Service_Enable: [Reset required for change to take effect]
0 = DFU Service Disabled
1 = DFU Service Enabled
▪
Active:
Since Service_Enable requires a reset to take effect, the Active parameter allows OTA
updates to be disabled while keeping the service in place
0 = DFU Service Inactive
– The DFU service is enabled, but a remote device will not be
allowed to start a firmware update.
1 = DFU Service Active
– The DFU service is enabled and a paired device can start a
firmware update.
Example(s):
1. Enables the DFU service in active mode.
COMMAND:
ATSDFU,1,1
<cr>
RESPONSE:
<cr_lf>
OK
<cr_lf>
Note(s):
▪
A reset is required for a change to the Service_Enable parameter to take effect.
.
GET DFU CONFIGURATION
Function:
Gets the DFU service parameters.
Command Format:
ATSDFU?
Response Format:
<Service_Enable>,<Active>
Example(s):
COMMAND:
ATSDFU?
<cr>
RESPONSE:
<cr_lf>
OK
<cr_lf>
<cr_lf>
1,1
<cr_lf>