{"action":"created","issue":{"url":"https://api.github.com/repos/adafruit/Adafruit_BluefruitLE_nRF51/issues/21","repository_url":"https://api.github.com/repos/adafruit/Adafruit_BluefruitLE_nRF51","labels_url":"https://api.github.com/repos/adafruit/Adafruit_BluefruitLE_nRF51/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/adafruit/Adafruit_BluefruitLE_nRF51/issues/21/comments","events_url":"https://api.github.com/repos/adafruit/Adafruit_BluefruitLE_nRF51/issues/21/events","html_url":"https://github.com/adafruit/Adafruit_BluefruitLE_nRF51/issues/21","id":181289735,"number":21,"title":"heartratemonitor sketch will not connect to nRF Toolbox","user":{"login":"bluesquall","id":514022,"avatar_url":"https://avatars.githubusercontent.com/u/514022?v=3","gravatar_id":"","url":"https://api.github.com/users/bluesquall","html_url":"https://github.com/bluesquall","followers_url":"https://api.github.com/users/bluesquall/followers","following_url":"https://api.github.com/users/bluesquall/following{/other_user}","gists_url":"https://api.github.com/users/bluesquall/gists{/gist_id}","starred_url":"https://api.github.com/users/bluesquall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluesquall/subscriptions","organizations_url":"https://api.github.com/users/bluesquall/orgs","repos_url":"https://api.github.com/users/bluesquall/repos","events_url":"https://api.github.com/users/bluesquall/events{/privacy}","received_events_url":"https://api.github.com/users/bluesquall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-05T23:20:24Z","updated_at":"2016-10-07T16:44:59Z","closed_at":null,"body":"- Arduino board:  Arduino UNO\r\n\r\n- Arduino IDE version (found in Arduino -> About Arduino menu):  1.6.12\r\n\r\n- Bluefruit board: BluefruitLE UART Friend\r\n\r\n  - Nordic Chip: nRF5182\r\n\r\n  - Firmware: 0.7.0\r\n\r\n- [Android nRF Toolbox](https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrftoolbox&hl=en) version 1.18.4\r\n\r\n\r\n*Possible* defect in heartratemonitor example sketch (as of git commit 0c841d49, but sketch was last touched f248eec9). \r\n\r\nIn short, try the nRF Connect app if the nRF Toolbox app doesn't work.\r\n\r\n## As expected:\r\n\r\nThe Bluefruit shows up under AVAILABLE DEVICES: as Bluefruit HRM, followed by the MAC address.\r\n\r\n![sketch-1475707956814](https://cloud.githubusercontent.com/assets/514022/19134904/c9a69da0-8b15-11e6-8341-2c0aba5398eb.png)\r\n\r\n## Not expected:\r\n\r\nAttempting to connect fails, and the nRF toolbox gives a notification:\r\n\r\n> The device does not have required services.\r\n\r\n![screenshot_20161005-145338](https://cloud.githubusercontent.com/assets/514022/19134913/d53b7fa0-8b15-11e6-97ec-2e4b51830950.png)\r\n\r\n## Short-term solution\r\n\r\nHowever, using the [nRF Connect app](https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp&hl=en) instead does allow me to connect, and it does show the appropriate output for Body Sensor Location and an updating output for Heart Rate Measurement.\r\n\r\n![screenshot_20161005-151139](https://cloud.githubusercontent.com/assets/514022/19134950/1f59b610-8b16-11e6-8df3-8a2b788f604c.png)\r\n\r\nJust getting started in this, so I'm not sure whether the problem connecting to nRF Toolbox is due to incomplete information on the Bluefruit side or to a bug on the nRF Toolbox side.\r\n"},"comment":{"url":"https://api.github.com/repos/adafruit/Adafruit_BluefruitLE_nRF51/issues/comments/252302237","html_url":"https://github.com/adafruit/Adafruit_BluefruitLE_nRF51/issues/21#issuecomment-252302237","issue_url":"https://api.github.com/repos/adafruit/Adafruit_BluefruitLE_nRF51/issues/21","id":252302237,"user":{"login":"bluesquall","id":514022,"avatar_url":"https://avatars.githubusercontent.com/u/514022?v=3","gravatar_id":"","url":"https://api.github.com/users/bluesquall","html_url":"https://github.com/bluesquall","followers_url":"https://api.github.com/users/bluesquall/followers","following_url":"https://api.github.com/users/bluesquall/following{/other_user}","gists_url":"https://api.github.com/users/bluesquall/gists{/gist_id}","starred_url":"https://api.github.com/users/bluesquall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluesquall/subscriptions","organizations_url":"https://api.github.com/users/bluesquall/orgs","repos_url":"https://api.github.com/users/bluesquall/repos","events_url":"https://api.github.com/users/bluesquall/events{/privacy}","received_events_url":"https://api.github.com/users/bluesquall/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T16:44:59Z","updated_at":"2016-10-07T16:44:59Z","body":"Noticed the nRF toolbox also displays battery status for the connected monitor, so I figured that might be the missing service the app was expecting.\r\n\r\nAfter adding the battery service (UUID `0x180F`), the example worked as expected when connected to the nRF toolbox.\r\n\r\nThings were always visible in the [nRF Connect app](https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp&hl=en), so that was helpful in working on this."}}
{"actor":{"display_login":"bluesquall"}}