{"action":"created","issue":{"url":"https://api.github.com/repos/Polidea/RxAndroidBle/issues/34","repository_url":"https://api.github.com/repos/Polidea/RxAndroidBle","labels_url":"https://api.github.com/repos/Polidea/RxAndroidBle/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Polidea/RxAndroidBle/issues/34/comments","events_url":"https://api.github.com/repos/Polidea/RxAndroidBle/issues/34/events","html_url":"https://github.com/Polidea/RxAndroidBle/issues/34","id":161264334,"number":34,"title":"Unable to add service to advertisement payload using the mock RxBleClient/RxBleDevice","user":{"login":"pfives","id":1862723,"avatar_url":"https://avatars.githubusercontent.com/u/1862723?v=3","gravatar_id":"","url":"https://api.github.com/users/pfives","html_url":"https://github.com/pfives","followers_url":"https://api.github.com/users/pfives/followers","following_url":"https://api.github.com/users/pfives/following{/other_user}","gists_url":"https://api.github.com/users/pfives/gists{/gist_id}","starred_url":"https://api.github.com/users/pfives/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfives/subscriptions","organizations_url":"https://api.github.com/users/pfives/orgs","repos_url":"https://api.github.com/users/pfives/repos","events_url":"https://api.github.com/users/pfives/events{/privacy}","received_events_url":"https://api.github.com/users/pfives/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"uKL","id":2377962,"avatar_url":"https://avatars.githubusercontent.com/u/2377962?v=3","gravatar_id":"","url":"https://api.github.com/users/uKL","html_url":"https://github.com/uKL","followers_url":"https://api.github.com/users/uKL/followers","following_url":"https://api.github.com/users/uKL/following{/other_user}","gists_url":"https://api.github.com/users/uKL/gists{/gist_id}","starred_url":"https://api.github.com/users/uKL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uKL/subscriptions","organizations_url":"https://api.github.com/users/uKL/orgs","repos_url":"https://api.github.com/users/uKL/repos","events_url":"https://api.github.com/users/uKL/events{/privacy}","received_events_url":"https://api.github.com/users/uKL/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-06-20T18:38:43Z","updated_at":"2016-06-20T20:32:05Z","closed_at":null,"body":"### Summary\r\nUsing the `MockRxAndroidBle` class to mock bluetooth devices, I am unable to make an added service show in the advertisement payload.\r\n\r\n#### Steps to reproduce actual result\r\n1) Create a mock `RxBleDevice` with a name, mac address, rssi, and a service with a given UUID\r\n2) Add that device to a mock `RxBleClient`\r\n3) Scan for that device by the UUID: `rxBleClient.scanDevices(UUID)`\r\n#### Actual result\r\nno devices are found\r\n#### Expected result\r\nThe device that was added to the mock RxBleClient is found. This works as expected if I call `rxBleClient.scanDevices()` with no UUID. So I believe the issue is the service I am adding is not being used in the advertisement payload, is there any way to accomplish this? Thanks you!\r\n"},"comment":{"url":"https://api.github.com/repos/Polidea/RxAndroidBle/issues/comments/227260351","html_url":"https://github.com/Polidea/RxAndroidBle/issues/34#issuecomment-227260351","issue_url":"https://api.github.com/repos/Polidea/RxAndroidBle/issues/34","id":227260351,"user":{"login":"uKL","id":2377962,"avatar_url":"https://avatars.githubusercontent.com/u/2377962?v=3","gravatar_id":"","url":"https://api.github.com/users/uKL","html_url":"https://github.com/uKL","followers_url":"https://api.github.com/users/uKL/followers","following_url":"https://api.github.com/users/uKL/following{/other_user}","gists_url":"https://api.github.com/users/uKL/gists{/gist_id}","starred_url":"https://api.github.com/users/uKL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uKL/subscriptions","organizations_url":"https://api.github.com/users/uKL/orgs","repos_url":"https://api.github.com/users/uKL/repos","events_url":"https://api.github.com/users/uKL/events{/privacy}","received_events_url":"https://api.github.com/users/uKL/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T20:32:05Z","updated_at":"2016-06-20T20:32:05Z","body":"Ok, fun fact. Mock was not released to central yet (strange, we will do a release soon then @dariuszseweryn gets back from WWDC).\r\n\r\nHow did you build mocking support? It looks like we had this issue in earlier version but in master it should be fixed already."}}
{"actor":{"display_login":"uKL"}}