Hi,I now use the nrf51822qfaaho,s110 v8.00. I need do a application , have customize serves, with ancs ,and with DFU function. Does the chip can support this? Who can help me do a example?
Hi,I now use the nrf51822qfaaho,s110 v8.00. I need do a application , have customize serves, with ancs ,and with DFU function. Does the chip can support this? Who can help me do a example?
Yes, you can use this chip with a large application (including ANCS and custom services) together with DFU. The limiting factor when it comes to DFU is flash, and the QFAAH0 has a large flash of 256 kB (though it only has 16 kB RAM). The compatibility matrix provide a good comparison of the available variants. Remember to adjust the bootloader and application in the examples to your device with less RAM.
There is no ANCS example with DFU in the SDK, but the SDK has some other examples with DFU that you can learn from (for example the Heart Rate Application). There is also extensive documentation accompanying the DFU examples.
Hello, Mike & Einar, How did you add the dfu codes to the ancs sample? I've tried a lot of times, sometimes it can successfully execute OTA, but sometimes it cannot. Actually, I failed a lot of times. I compare the codes I added to my application with the heart rate sample, there's something different, such as device_manager_evt_handler, conn_params_init, ancs service added, db_discovery added, then I modified the program, make it the same as the heart rate sample, and it worked better than before, but still cannot be stable. Can you just give me some advice? Thank you!
Hello, Mike & Einar, How did you add the dfu codes to the ancs sample? I've tried a lot of times, sometimes it can successfully execute OTA, but sometimes it cannot. Actually, I failed a lot of times. I compare the codes I added to my application with the heart rate sample, there's something different, such as device_manager_evt_handler, conn_params_init, ancs service added, db_discovery added, then I modified the program, make it the same as the heart rate sample, and it worked better than before, but still cannot be stable. Can you just give me some advice? Thank you!