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

dfu ios break uart service

I'm on SDK 15.2 and iOS 12 with nRF52832 on a custom board.

I've added the dfu service to my existing NUS/UART service. In the nRF connect app I can see both services and I can send test data to the nRF52832.

But, my ios app doesn't work anymore. When I connect I see a 01 00 two byes come through, but writeValue from within my app (Swift) no longer works. I can see the write UUID and both Rx/Tx service UUIDs so not clear what is going on. Any ideas would be helpful.

Parents
  • Hi Buoy, 

    Please make sure you have "service changed" characteristic enabled in both your application and in the bootloader. 

    When testing, please try to delete bond information and turn off and on Bluetooth. We just want to make sure there is no attribute table cache on the iOS device. 

    You may want to use the nRFConnect to check if you still can see the NUS service and characteristic when connect to the device.

Reply
  • Hi Buoy, 

    Please make sure you have "service changed" characteristic enabled in both your application and in the bootloader. 

    When testing, please try to delete bond information and turn off and on Bluetooth. We just want to make sure there is no attribute table cache on the iOS device. 

    You may want to use the nRFConnect to check if you still can see the NUS service and characteristic when connect to the device.

Children
Related