5.7.3.1.1 Enter OTAPC DFU Mode (DFU,<hex32>[,hex16>])

Format: DFU,<hex32>[,hex16>]

Use the DFU command to enter the DFU mode from the Command mode. The first input parameter is for the new firmware version to be updated. The second parameter is used for the specified target link; if this parameter is not provided, DFU is applicable on the last created link (and removes other links before performing DFU).

Note: After entering into the DFU mode, the OTAP protocol initialization takes some time. The device must wait for END to be received, which means the DFU mode was entered successfully; otherwise, a 3s timeout with the ERR response will be received.
Example:DFU,01020304,0071

// Enter the DFU mode, the upgrade firmware version is 1.2.3.4, target to the device on the 0x71 link handle

Response:END

// End of Command Mode, ‘DFU’ prompt is printed

Err

// Parameter error, link does not exist, remote device does not support OTA or OTAP protocol timeout