-
SoftDevice : S110 7.1
-
SDK 7.2
-
Example : experimental_ble_app_uart + DFU service
-
Using IAR 7.1
-
Board : PCA10001 V 2.0.0 (Rev. 2 MCU)
-
Test device : Nexus 5 (Android 5.1.1) and iPhone 6+ (iOS 8.4)
-
Toolbox App Version : 1.14.1 (at Nexus 5) & 2.1 (at iPhone 6+)
/************************************************/
Hi, since I don't know Swift, I don't know how the Toolbox app works.
So, if there are some points which I'm missing, please understand my situation.
// at dfu_transport_ble.c
#define DEVICE_NAME "DfuTarg" /* I want to change this name for my own purpose */
#define MANUFACTURER_NAME "NordicSemiconductor"
As you know, after updating the firmware by using the DFU,
my iOS devices remembers my device as DfuTarg
due to memory caching.
After the update, when I connect the board with the UART app,
the connection message says that, it is connected with DfuTarg
and I do not want this to happen.
So, when using the bootloader, I changed the name DfuTarg
to Nordic_UART
.
I just wanted to maintain the name to see the same message after the firmware update.
However, when I change the device name (in the bootloader code), the Toolbox app
keeps connecting and disconnecting with the board.
/************************************/
So, my question is
the library of the DFU only reconnects when the device name is DfuTarg
?
In other words, when the bootloader is running, the device name has to be DfuTarg
in order to run the DFU?
If so, after the firmware update is done, I want to cache my device name as the
new name (which is described in the new firmware image, like Nordic_UART
),
instead of leaving the name as DfuTarg
.
What implementations are needed?
-Regards