{"action":"opened","issue":{"url":"https://api.github.com/repos/aritchie/bluetoothle/issues/237","repository_url":"https://api.github.com/repos/aritchie/bluetoothle","labels_url":"https://api.github.com/repos/aritchie/bluetoothle/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/aritchie/bluetoothle/issues/237/comments","events_url":"https://api.github.com/repos/aritchie/bluetoothle/issues/237/events","html_url":"https://github.com/aritchie/bluetoothle/issues/237","id":361730615,"node_id":"MDU6SXNzdWUzNjE3MzA2MTU=","number":237,"title":"WhenAnyCharacteristicDiscovered observable does raise the onCompleted action on subscription","user":{"login":"michaelkollmann","id":1894554,"node_id":"MDQ6VXNlcjE4OTQ1NTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1894554?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelkollmann","html_url":"https://github.com/michaelkollmann","followers_url":"https://api.github.com/users/michaelkollmann/followers","following_url":"https://api.github.com/users/michaelkollmann/following{/other_user}","gists_url":"https://api.github.com/users/michaelkollmann/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelkollmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelkollmann/subscriptions","organizations_url":"https://api.github.com/users/michaelkollmann/orgs","repos_url":"https://api.github.com/users/michaelkollmann/repos","events_url":"https://api.github.com/users/michaelkollmann/events{/privacy}","received_events_url":"https://api.github.com/users/michaelkollmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-19T12:43:46Z","updated_at":"2018-09-19T12:43:46Z","closed_at":null,"author_association":"NONE","body":"## Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)\r\n\r\n - [x] iOS\r\n - [x] Android\r\n - [ ] tvOS\r\n - [ ] macOS\r\n - [ ] .NET Standard\r\n - UWP IS NOT SUPPORTED DURING THE BETA PERIOD - ONLY PRs ARE WELCOME FOR NOW\r\n\r\n## Version of OS(s) listed above with issue\r\n\r\niOS 11.4.1\r\nAndroid 8.1.0\r\n\r\n## Version of Library\r\n\r\n6.2.0\r\n\r\n## Expected Behaviour\r\n\r\nI expect the onComplete action to be called after all services and characteristics have been discovered\r\n\r\n## Actual Behavior\r\n\r\nThe onComplete action never get's called. I now that all characteristics get discovered by looking at my debug output but the onComplete action just doesn't get called.\r\n\r\nHere's my code I use for connecting and getting the characteristics:\r\n\r\n```\r\ndevice.Connect();\r\n\r\n// get characteristics\r\nvar characteristics = new List<IGattCharacteristic>();\r\nvar subscription = device..WhenAnyCharacteristicDiscovered().Subscribe(characteristic =>\r\n{\r\n    // onNext\r\n    Log?.Trace(\"Discovered the characteristic {0}\", characteristic.Uuid);\r\n    characteristics.Add(characteristic);\r\n}, () =>\r\n{\r\n    // onCompleted\r\n    Log?.Trace(\"Discovered all {0} characteristics\", characteristics.Count);\r\n});\r\n```\r\n\r\nAm I missing something? Is this behavior intended?\r\nImho the onCompleted should be raised after all characteristics have been discovered. And I know for certain that discovery works because my debug output lists all characteristics my device has in the onNext action\r\n\r\nThanks!"}}
{"actor":{"display_login":"michaelkollmann"}}