{"action":"created","issue":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/790","repository_url":"https://api.github.com/repos/intel-iot-devkit/mraa","labels_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/790/labels{/name}","comments_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/790/comments","events_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/790/events","html_url":"https://github.com/intel-iot-devkit/mraa/pull/790","id":242268952,"number":790,"title":"Add initial support for gpio chardev interface","user":{"login":"Mani-Sadhasivam","id":9375848,"avatar_url":"https://avatars0.githubusercontent.com/u/9375848?v=4","gravatar_id":"","url":"https://api.github.com/users/Mani-Sadhasivam","html_url":"https://github.com/Mani-Sadhasivam","followers_url":"https://api.github.com/users/Mani-Sadhasivam/followers","following_url":"https://api.github.com/users/Mani-Sadhasivam/following{/other_user}","gists_url":"https://api.github.com/users/Mani-Sadhasivam/gists{/gist_id}","starred_url":"https://api.github.com/users/Mani-Sadhasivam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mani-Sadhasivam/subscriptions","organizations_url":"https://api.github.com/users/Mani-Sadhasivam/orgs","repos_url":"https://api.github.com/users/Mani-Sadhasivam/repos","events_url":"https://api.github.com/users/Mani-Sadhasivam/events{/privacy}","received_events_url":"https://api.github.com/users/Mani-Sadhasivam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-12T06:04:38Z","updated_at":"2017-07-14T11:33:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/790","html_url":"https://github.com/intel-iot-devkit/mraa/pull/790","diff_url":"https://github.com/intel-iot-devkit/mraa/pull/790.diff","patch_url":"https://github.com/intel-iot-devkit/mraa/pull/790.patch"},"body":"This is the start of the series focused on enabling new gpio chardev interface for mraa. The new interface has been separated out from the default 'sysfs' interface for compatibility. So, the API structure has been retained at most.\r\n\r\nGPIO's can be accessed using the same numbering scheme offered in sysfs interface. Moving that to the new interface is open for discussion.  \r\n\r\nTODO:\r\n1. Add switch for runtime detection of kernel and enabling the appropriate interface\r\n2. Accessing multiple gpio's at the same time\r\n3. GPIO event support\r\n4. Add more examples"},"comment":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/comments/315338118","html_url":"https://github.com/intel-iot-devkit/mraa/pull/790#issuecomment-315338118","issue_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/790","id":315338118,"user":{"login":"arfoll","id":514406,"avatar_url":"https://avatars5.githubusercontent.com/u/514406?v=4","gravatar_id":"","url":"https://api.github.com/users/arfoll","html_url":"https://github.com/arfoll","followers_url":"https://api.github.com/users/arfoll/followers","following_url":"https://api.github.com/users/arfoll/following{/other_user}","gists_url":"https://api.github.com/users/arfoll/gists{/gist_id}","starred_url":"https://api.github.com/users/arfoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfoll/subscriptions","organizations_url":"https://api.github.com/users/arfoll/orgs","repos_url":"https://api.github.com/users/arfoll/repos","events_url":"https://api.github.com/users/arfoll/events{/privacy}","received_events_url":"https://api.github.com/users/arfoll/received_events","type":"User","site_admin":false},"created_at":"2017-07-14T11:33:15Z","updated_at":"2017-07-14T11:33:15Z","body":"This looks awesome thanks for posting. Im on vacation this week without\nmuch pc access but I'll take a look when I'm back.\n\nOn 12 Jul 2017 08:04, \"Mani Sadhasivam\" <notifications@github.com> wrote:\n\nThis is the start of the series focused on enabling new gpio chardev\ninterface for mraa. The new interface has been separated out from the\ndefault 'sysfs' interface for compatibility. So, the API structure has been\nretained at most.\n\nTODO:\n\n   1. Add switch for runtime detection of kernel and enabling the\n   appropriate interface\n   2. Accessing multiple gpio's at the same time\n   3. GPIO event support\n   4. Add more examples\n\n------------------------------\nYou can view, comment on, or merge this pull request online at:\n\n  https://github.com/intel-iot-devkit/mraa/pull/790\nCommit Summary\n\n   - gpio: Add initial support for chardev interface\n   - mraa_internal_types: structure alignment fix\n\nFile Changes\n\n   - *M* api/mraa.h\n   <https://github.com/intel-iot-devkit/mraa/pull/790/files#diff-0> (1)\n   - *A* api/mraa/gpio_chardev.h\n   <https://github.com/intel-iot-devkit/mraa/pull/790/files#diff-1> (168)\n   - *M* examples/CMakeLists.txt\n   <https://github.com/intel-iot-devkit/mraa/pull/790/files#diff-2> (4)\n   - *A* examples/mraa-gpio_chardev.c\n   <https://github.com/intel-iot-devkit/mraa/pull/790/files#diff-3> (156)\n   - *M* include/mraa_internal_types.h\n   <https://github.com/intel-iot-devkit/mraa/pull/790/files#diff-4> (8)\n   - *M* src/CMakeLists.txt\n   <https://github.com/intel-iot-devkit/mraa/pull/790/files#diff-5> (1)\n   - *A* src/gpio/gpio_chardev.c\n   <https://github.com/intel-iot-devkit/mraa/pull/790/files#diff-6> (348)\n\nPatch Links:\n\n   - https://github.com/intel-iot-devkit/mraa/pull/790.patch\n   - https://github.com/intel-iot-devkit/mraa/pull/790.diff\n\n—\nYou are receiving this because you are subscribed to this thread.\nReply to this email directly, view it on GitHub\n<https://github.com/intel-iot-devkit/mraa/pull/790>, or mute the thread\n<https://github.com/notifications/unsubscribe-auth/AAfZZkk8LzalTW1dNyQlT7GW_Lm3l9vCks5sNGH3gaJpZM4OVKjD>\n.\n"}}
{"actor":{"display_login":"arfoll"}}