{"action":"created","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/IOS-DFU-Library/issues/11","repository_url":"https://api.github.com/repos/NordicSemiconductor/IOS-DFU-Library","labels_url":"https://api.github.com/repos/NordicSemiconductor/IOS-DFU-Library/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/IOS-DFU-Library/issues/11/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/IOS-DFU-Library/issues/11/events","html_url":"https://github.com/NordicSemiconductor/IOS-DFU-Library/issues/11","id":147026233,"number":11,"title":"Issue with init packet and device disconnecting when starting DFU","user":{"login":"sanderdb01","id":6936570,"avatar_url":"https://avatars.githubusercontent.com/u/6936570?v=3","gravatar_id":"","url":"https://api.github.com/users/sanderdb01","html_url":"https://github.com/sanderdb01","followers_url":"https://api.github.com/users/sanderdb01/followers","following_url":"https://api.github.com/users/sanderdb01/following{/other_user}","gists_url":"https://api.github.com/users/sanderdb01/gists{/gist_id}","starred_url":"https://api.github.com/users/sanderdb01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanderdb01/subscriptions","organizations_url":"https://api.github.com/users/sanderdb01/orgs","repos_url":"https://api.github.com/users/sanderdb01/repos","events_url":"https://api.github.com/users/sanderdb01/events{/privacy}","received_events_url":"https://api.github.com/users/sanderdb01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T20:03:34Z","updated_at":"2016-04-08T20:24:09Z","closed_at":null,"body":"So, I am using my iOS program to do DFU. I finally have it to a point where I am getting feedback from the device. The way my nRF application is set up, I have to manually restart the nordic chip into the boot loader by sending the DFU characteristic a value of 0x0104, which it successfull reboots into the DFU. I then reconnect to the module while I am in DFU mode and try to start the process, but I get the following logger output (some of this is my own print statements, so please disregard):\r\n\r\nScanning for DFU peripheral\r\nSaved DFU peripheral detected, connecting to it\r\nLogger Message: Connecting to DfuTarg...\r\nLogger Message: centralManager.connectPeripheral(peripheral, options:nil)\r\nState of the DFU Upload: 0\r\nLogger Message: [Callback] Central Manager did connect peripheral\r\nLogger Message: Connected to DfuTarg\r\nLogger Message: Discovering services...\r\nLogger Message: periphera.discoverServices(nil)\r\nLogger Message: Services discovered\r\nLogger Message: DFU Service found\r\nLogger Message: Discovering characteristics in DFU Service...\r\nLogger Message: peripheral.discoverCharacteristics(nil, forService:DFUService)\r\nLogger Message: DFU characteristics discovered\r\nLogger Message: Reading DFU Version number...\r\nLogger Message: peripheral.readValueForCharacteristic(00001534-1212-EFDE-1523-785FEABCD123)\r\nLogger Message: Read Response received from 00001534-1212-EFDE-1523-785FEABCD123, value (0x):0800\r\nLogger Message: Version number read: 0.8\r\nLogger Message: Disconnecting...\r\nLogger Message: centralManager.cancelPeripheralConnection(peripheral)\r\nLogger Message: [Callback] Central Manager did disconnect peripheral without error\r\nLogger Message: Disconnected\r\nDFU Error: The init packet is required by the target device  \r\n\r\nSo, any ideas why I am automatically disconnecting from the device, and why does it say that the init packet is required.\r\n\r\nAlso, I saved my .hex file to a website (url), and that is where I am getting the firmware from. It is not password protected, but a straight link to the .hex file. Thanks a bunch"},"comment":{"url":"https://api.github.com/repos/NordicSemiconductor/IOS-DFU-Library/issues/comments/207589601","html_url":"https://github.com/NordicSemiconductor/IOS-DFU-Library/issues/11#issuecomment-207589601","issue_url":"https://api.github.com/repos/NordicSemiconductor/IOS-DFU-Library/issues/11","id":207589601,"user":{"login":"philips77","id":6576580,"avatar_url":"https://avatars.githubusercontent.com/u/6576580?v=3","gravatar_id":"","url":"https://api.github.com/users/philips77","html_url":"https://github.com/philips77","followers_url":"https://api.github.com/users/philips77/followers","following_url":"https://api.github.com/users/philips77/following{/other_user}","gists_url":"https://api.github.com/users/philips77/gists{/gist_id}","starred_url":"https://api.github.com/users/philips77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philips77/subscriptions","organizations_url":"https://api.github.com/users/philips77/orgs","repos_url":"https://api.github.com/users/philips77/repos","events_url":"https://api.github.com/users/philips77/events{/privacy}","received_events_url":"https://api.github.com/users/philips77/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T20:24:09Z","updated_at":"2016-04-08T20:24:09Z","body":"The links on Github link I gave may be outdated. Please see current DFU docs on infocenter.\r\nThe nrf util is available on its own github account (search in NordicSemiconductor) or included in PC version of Master Control Panel since 3.7.+, I guess..."}}