{"action":"created","issue":{"url":"https://api.github.com/repos/sandeepmistry/arduino-BLEPeripheral/issues/71","repository_url":"https://api.github.com/repos/sandeepmistry/arduino-BLEPeripheral","labels_url":"https://api.github.com/repos/sandeepmistry/arduino-BLEPeripheral/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/sandeepmistry/arduino-BLEPeripheral/issues/71/comments","events_url":"https://api.github.com/repos/sandeepmistry/arduino-BLEPeripheral/issues/71/events","html_url":"https://github.com/sandeepmistry/arduino-BLEPeripheral/issues/71","id":164375395,"number":71,"title":"Callbacks for characteristic read operations","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":[{"url":"https://api.github.com/repos/sandeepmistry/arduino-BLEPeripheral/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/sandeepmistry/arduino-BLEPeripheral/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-07T18:23:20Z","updated_at":"2016-10-20T11:44:49Z","closed_at":null,"body":"I’d like the API to provide the ability to have callbacks relating to characteristic read operations. A common trick is to use the authorisation flag on characteristics so that all reads get intercepted and you can then do whatever you want in the implementation, returning true (i.e. authorised) at the end.\r\n\r\nRead callbacks might be used to\r\n- increment or recalculate a characteristic value \"on demand\"\r\n- trigger a real time read from a sensor\r\n- and so on....\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/sandeepmistry/arduino-BLEPeripheral/issues/comments/255083123","html_url":"https://github.com/sandeepmistry/arduino-BLEPeripheral/issues/71#issuecomment-255083123","issue_url":"https://api.github.com/repos/sandeepmistry/arduino-BLEPeripheral/issues/71","id":255083123,"user":{"login":"baijupaul","id":4947274,"avatar_url":"https://avatars.githubusercontent.com/u/4947274?v=3","gravatar_id":"","url":"https://api.github.com/users/baijupaul","html_url":"https://github.com/baijupaul","followers_url":"https://api.github.com/users/baijupaul/followers","following_url":"https://api.github.com/users/baijupaul/following{/other_user}","gists_url":"https://api.github.com/users/baijupaul/gists{/gist_id}","starred_url":"https://api.github.com/users/baijupaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijupaul/subscriptions","organizations_url":"https://api.github.com/users/baijupaul/orgs","repos_url":"https://api.github.com/users/baijupaul/repos","events_url":"https://api.github.com/users/baijupaul/events{/privacy}","received_events_url":"https://api.github.com/users/baijupaul/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T11:44:49Z","updated_at":"2016-10-20T11:44:49Z","body":"Would really love to see this feature to trigger a real time read of temperature. Thank you for all your efforts."}}
{"actor":{"display_login":"baijupaul"}}