{"action":"created","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/25","repository_url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library","labels_url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/25/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/25/events","html_url":"https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library/issues/25","id":181091324,"number":25,"title":"DFU Error - Writing to characteristic failed","user":{"login":"furueili","id":1407724,"avatar_url":"https://avatars.githubusercontent.com/u/1407724?v=3","gravatar_id":"","url":"https://api.github.com/users/furueili","html_url":"https://github.com/furueili","followers_url":"https://api.github.com/users/furueili/followers","following_url":"https://api.github.com/users/furueili/following{/other_user}","gists_url":"https://api.github.com/users/furueili/gists{/gist_id}","starred_url":"https://api.github.com/users/furueili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furueili/subscriptions","organizations_url":"https://api.github.com/users/furueili/orgs","repos_url":"https://api.github.com/users/furueili/repos","events_url":"https://api.github.com/users/furueili/events{/privacy}","received_events_url":"https://api.github.com/users/furueili/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-05T08:19:55Z","updated_at":"2016-10-05T09:02:51Z","closed_at":null,"body":"The DFUServiceDelegate never receives a DFUStateCompleted event with version 2.1.1 of the library. During a flashing update, the delegate receives these state changes: DFUStateConnecting, DFUStateStarting, DFUStateUploading.\r\nPlease give me some help thx\r\n![2016-10-05 3 55 54](https://cloud.githubusercontent.com/assets/1407724/19105984/928435ce-8b17-11e6-8d97-08061b5ab9c2.png)\r\n"},"comment":{"url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/comments/251620926","html_url":"https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library/issues/25#issuecomment-251620926","issue_url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/25","id":251620926,"user":{"login":"mostafaberg","id":976234,"avatar_url":"https://avatars.githubusercontent.com/u/976234?v=3","gravatar_id":"","url":"https://api.github.com/users/mostafaberg","html_url":"https://github.com/mostafaberg","followers_url":"https://api.github.com/users/mostafaberg/followers","following_url":"https://api.github.com/users/mostafaberg/following{/other_user}","gists_url":"https://api.github.com/users/mostafaberg/gists{/gist_id}","starred_url":"https://api.github.com/users/mostafaberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostafaberg/subscriptions","organizations_url":"https://api.github.com/users/mostafaberg/orgs","repos_url":"https://api.github.com/users/mostafaberg/repos","events_url":"https://api.github.com/users/mostafaberg/events{/privacy}","received_events_url":"https://api.github.com/users/mostafaberg/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T09:02:51Z","updated_at":"2016-10-05T09:02:51Z","body":"Can you try to change the line\r\n`initiator.packetReceiptNotificationParamter = [[[NSUserDefaults standardUserDefaults] valueForKey:@\"dfu_number_of_packets\"] intValue];` \r\nto\r\n`initiator.packetReceiptNotificationParamter = 1`\r\nand see if it helps ?"}}
{"actor":{"display_login":"mostafaberg"}}