{"action":"created","issue":{"url":"https://api.github.com/repos/01org/corelibs-arduino101/issues/254","repository_url":"https://api.github.com/repos/01org/corelibs-arduino101","labels_url":"https://api.github.com/repos/01org/corelibs-arduino101/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/01org/corelibs-arduino101/issues/254/comments","events_url":"https://api.github.com/repos/01org/corelibs-arduino101/issues/254/events","html_url":"https://github.com/01org/corelibs-arduino101/issues/254","id":168293598,"number":254,"title":"GATT Client API needed","user":{"login":"bluetooth-mdw","id":8341666,"avatar_url":"https://avatars.githubusercontent.com/u/8341666?v=3","gravatar_id":"","url":"https://api.github.com/users/bluetooth-mdw","html_url":"https://github.com/bluetooth-mdw","followers_url":"https://api.github.com/users/bluetooth-mdw/followers","following_url":"https://api.github.com/users/bluetooth-mdw/following{/other_user}","gists_url":"https://api.github.com/users/bluetooth-mdw/gists{/gist_id}","starred_url":"https://api.github.com/users/bluetooth-mdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluetooth-mdw/subscriptions","organizations_url":"https://api.github.com/users/bluetooth-mdw/orgs","repos_url":"https://api.github.com/users/bluetooth-mdw/repos","events_url":"https://api.github.com/users/bluetooth-mdw/events{/privacy}","received_events_url":"https://api.github.com/users/bluetooth-mdw/received_events","type":"User","site_admin":false},"labels":[{"id":331520782,"url":"https://api.github.com/repos/01org/corelibs-arduino101/labels/Under%20Review","name":"Under Review","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"SidLeung","id":15203260,"avatar_url":"https://avatars.githubusercontent.com/u/15203260?v=3","gravatar_id":"","url":"https://api.github.com/users/SidLeung","html_url":"https://github.com/SidLeung","followers_url":"https://api.github.com/users/SidLeung/followers","following_url":"https://api.github.com/users/SidLeung/following{/other_user}","gists_url":"https://api.github.com/users/SidLeung/gists{/gist_id}","starred_url":"https://api.github.com/users/SidLeung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SidLeung/subscriptions","organizations_url":"https://api.github.com/users/SidLeung/orgs","repos_url":"https://api.github.com/users/SidLeung/repos","events_url":"https://api.github.com/users/SidLeung/events{/privacy}","received_events_url":"https://api.github.com/users/SidLeung/received_events","type":"User","site_admin":false},"assignees":[{"login":"SidLeung","id":15203260,"avatar_url":"https://avatars.githubusercontent.com/u/15203260?v=3","gravatar_id":"","url":"https://api.github.com/users/SidLeung","html_url":"https://github.com/SidLeung","followers_url":"https://api.github.com/users/SidLeung/followers","following_url":"https://api.github.com/users/SidLeung/following{/other_user}","gists_url":"https://api.github.com/users/SidLeung/gists{/gist_id}","starred_url":"https://api.github.com/users/SidLeung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SidLeung/subscriptions","organizations_url":"https://api.github.com/users/SidLeung/orgs","repos_url":"https://api.github.com/users/SidLeung/repos","events_url":"https://api.github.com/users/SidLeung/events{/privacy}","received_events_url":"https://api.github.com/users/SidLeung/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/01org/corelibs-arduino101/milestones/5","html_url":"https://github.com/01org/corelibs-arduino101/milestones/Deneb","labels_url":"https://api.github.com/repos/01org/corelibs-arduino101/milestones/5/labels","id":1903701,"number":5,"title":"Deneb","description":"","creator":{"login":"kitsunami","id":15161463,"avatar_url":"https://avatars.githubusercontent.com/u/15161463?v=3","gravatar_id":"","url":"https://api.github.com/users/kitsunami","html_url":"https://github.com/kitsunami","followers_url":"https://api.github.com/users/kitsunami/followers","following_url":"https://api.github.com/users/kitsunami/following{/other_user}","gists_url":"https://api.github.com/users/kitsunami/gists{/gist_id}","starred_url":"https://api.github.com/users/kitsunami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitsunami/subscriptions","organizations_url":"https://api.github.com/users/kitsunami/orgs","repos_url":"https://api.github.com/users/kitsunami/repos","events_url":"https://api.github.com/users/kitsunami/events{/privacy}","received_events_url":"https://api.github.com/users/kitsunami/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":17,"state":"open","created_at":"2016-07-25T22:45:44Z","updated_at":"2016-10-31T22:02:47Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-07-29T10:12:10Z","updated_at":"2016-10-31T22:25:18Z","closed_at":null,"body":"It would be great if there was a class which provides a GATT client API. Some profiles have the GAP Peripheral as the GATT Client (e.g. the HTTP Proxy Service) so that once a connection has been accepted by the peripheral it then acts as GATT client and sends ATT PDUs over the connection to the GATT server at the other end which was previously the GAP Central device.\n\nWithout this, it's not possible to use Arduino 101 in IoT scenarios where the peripheral formulates and instructs a gateway device to execute HTTP requests on its behalf... the HTTP Proxy Service is a Bluetooth SIG standard designed for this purpose. It's not the only time you might want a GAP Peripheral to be the GATT Client but it's a key example. GATT and GAP roles are not coupled in any way.\n\nThe master branch of the original arduino-BLEPeripheral does seem to have this capability (not verified).\n\nSee\n\nhttps://github.com/sandeepmistry/arduino-BLEPeripheral/issues/73\n\nand\n\nhttps://github.com/sandeepmistry/arduino-BLEPeripheral/tree/master/examples/remote_test\n"},"comment":{"url":"https://api.github.com/repos/01org/corelibs-arduino101/issues/comments/257438812","html_url":"https://github.com/01org/corelibs-arduino101/issues/254#issuecomment-257438812","issue_url":"https://api.github.com/repos/01org/corelibs-arduino101/issues/254","id":257438812,"user":{"login":"SidLeung","id":15203260,"avatar_url":"https://avatars.githubusercontent.com/u/15203260?v=3","gravatar_id":"","url":"https://api.github.com/users/SidLeung","html_url":"https://github.com/SidLeung","followers_url":"https://api.github.com/users/SidLeung/followers","following_url":"https://api.github.com/users/SidLeung/following{/other_user}","gists_url":"https://api.github.com/users/SidLeung/gists{/gist_id}","starred_url":"https://api.github.com/users/SidLeung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SidLeung/subscriptions","organizations_url":"https://api.github.com/users/SidLeung/orgs","repos_url":"https://api.github.com/users/SidLeung/repos","events_url":"https://api.github.com/users/SidLeung/events{/privacy}","received_events_url":"https://api.github.com/users/SidLeung/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T22:25:18Z","updated_at":"2016-10-31T22:25:18Z","body":"The upcoming release BLE library allows the creation of Service for both Central and Peripheral mode.  In either mode, the board can be a server or a client."}}
{"actor":{"display_login":"SidLeung"}}