This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How is the characteristic BLE_DFU_REV_CHAR_UUID used?

I see that the IOS-Pods-DFU-Library interprets the value in this particular characteristic. But I could not find good documentation as to how should this be used? Can it be used to capture the firmware version itself or should there be a separate way of finding out the version and the BLE_DFU_REV_CHAR_UUID should be left for the IOS-Pods-DFU-Library's use?

Parents
  • Hi Zende,

    BLE_DFU_REV_CHAR_UUID is used to detect the version and the TYPE of the target DFU device. If the value of the characteristic = 0x01 , it means it's an application which has DFU service, not the DFU bootloader. And that the DFU master should tell the application to switch to bootloader.

    If it's the bootloader, it should either have the revision value = 0x05 or 0x08, depends on the version of the bootloader.

    The revision value should be left as it is in the default application, should not be modified, unless you have full control on both sides of the DFU process, meaning the DFU app should be modified accordingly.

Reply
  • Hi Zende,

    BLE_DFU_REV_CHAR_UUID is used to detect the version and the TYPE of the target DFU device. If the value of the characteristic = 0x01 , it means it's an application which has DFU service, not the DFU bootloader. And that the DFU master should tell the application to switch to bootloader.

    If it's the bootloader, it should either have the revision value = 0x05 or 0x08, depends on the version of the bootloader.

    The revision value should be left as it is in the default application, should not be modified, unless you have full control on both sides of the DFU process, meaning the DFU app should be modified accordingly.

Children
No Data
Related