{"action":"created","comment":{"url":"https://api.github.com/repos/contiki-os/contiki/pulls/comments/61792054","id":61792054,"diff_hunk":"@@ -0,0 +1,134 @@\n+/*\n+ * Copyright (c) 2016, Indian Institute of Science <http://www.iisc.ernet.in>\n+ * All rights reserved.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions\n+ * are met:\n+ * 1. Redistributions of source code must retain the above copyright\n+ *    notice, this list of conditions and the following disclaimer.\n+ * 2. Redistributions in binary form must reproduce the above copyright\n+ *    notice, this list of conditions and the following disclaimer in the\n+ *    documentation and/or other materials provided with the distribution.\n+ * 3. Neither the name of the Institute nor the names of its contributors\n+ *    may be used to endorse or promote products derived from this software\n+ *    without specific prior written permission.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND\n+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE\n+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n+ * SUCH DAMAGE.\n+ *\n+ * This file is part of the Contiki operating system.\n+ *\n+ */\n+/**\n+ * \\addtogroup zoul-examples\n+ * @{\n+ *\n+ * \\defgroup zoul-uart-test Zoul UART1 test\n+ *\n+ * Demonstrates the use of the UART over RE-mote (Zoul) Platform\n+ * @{\n+ *\n+ * \\file\n+ *         A quick program for testing the UART1 on the RE-mote (Zoul) platform which can be used to interface with sensor with UART interface and to  * communicate with other development boards","path":"examples/zolertia/zoul/test-uart.c","position":42,"original_position":42,"commit_id":"0d56a547d9c6bc1b5d87d72893746e5a0402130d","original_commit_id":"0d56a547d9c6bc1b5d87d72893746e5a0402130d","user":{"login":"alignan","id":632710,"avatar_url":"https://avatars.githubusercontent.com/u/632710?v=3","gravatar_id":"","url":"https://api.github.com/users/alignan","html_url":"https://github.com/alignan","followers_url":"https://api.github.com/users/alignan/followers","following_url":"https://api.github.com/users/alignan/following{/other_user}","gists_url":"https://api.github.com/users/alignan/gists{/gist_id}","starred_url":"https://api.github.com/users/alignan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alignan/subscriptions","organizations_url":"https://api.github.com/users/alignan/orgs","repos_url":"https://api.github.com/users/alignan/repos","events_url":"https://api.github.com/users/alignan/events{/privacy}","received_events_url":"https://api.github.com/users/alignan/received_events","type":"User","site_admin":false},"body":"Mind the page margins, you should break lines","created_at":"2016-05-02T19:45:59Z","updated_at":"2016-05-02T19:45:59Z","html_url":"https://github.com/contiki-os/contiki/pull/1643#discussion_r61792054","pull_request_url":"https://api.github.com/repos/contiki-os/contiki/pulls/1643","_links":{"self":{"href":"https://api.github.com/repos/contiki-os/contiki/pulls/comments/61792054"},"html":{"href":"https://github.com/contiki-os/contiki/pull/1643#discussion_r61792054"},"pull_request":{"href":"https://api.github.com/repos/contiki-os/contiki/pulls/1643"}}},"pull_request":{"url":"https://api.github.com/repos/contiki-os/contiki/pulls/1643","id":68547494,"html_url":"https://github.com/contiki-os/contiki/pull/1643","diff_url":"https://github.com/contiki-os/contiki/pull/1643.diff","patch_url":"https://github.com/contiki-os/contiki/pull/1643.patch","issue_url":"https://api.github.com/repos/contiki-os/contiki/issues/1643","number":1643,"state":"open","locked":false,"title":"Zoul UART example","user":{"login":"akshaypm","id":15153663,"avatar_url":"https://avatars.githubusercontent.com/u/15153663?v=3","gravatar_id":"","url":"https://api.github.com/users/akshaypm","html_url":"https://github.com/akshaypm","followers_url":"https://api.github.com/users/akshaypm/followers","following_url":"https://api.github.com/users/akshaypm/following{/other_user}","gists_url":"https://api.github.com/users/akshaypm/gists{/gist_id}","starred_url":"https://api.github.com/users/akshaypm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshaypm/subscriptions","organizations_url":"https://api.github.com/users/akshaypm/orgs","repos_url":"https://api.github.com/users/akshaypm/repos","events_url":"https://api.github.com/users/akshaypm/events{/privacy}","received_events_url":"https://api.github.com/users/akshaypm/received_events","type":"User","site_admin":false},"body":"A quick program for testing the UART1 on the RE-mote (Zoul) platform which can be used to interface with sensor having UART interface.","created_at":"2016-05-02T11:12:00Z","updated_at":"2016-05-02T19:45:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82f6e5b0e6f7b225be9819ee2d1ed70f05e1a234","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/contiki-os/contiki/pulls/1643/commits","review_comments_url":"https://api.github.com/repos/contiki-os/contiki/pulls/1643/comments","review_comment_url":"https://api.github.com/repos/contiki-os/contiki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contiki-os/contiki/issues/1643/comments","statuses_url":"https://api.github.com/repos/contiki-os/contiki/statuses/0d56a547d9c6bc1b5d87d72893746e5a0402130d","head":{"label":"akshaypm:zoul-uart-example","ref":"zoul-uart-example","sha":"0d56a547d9c6bc1b5d87d72893746e5a0402130d","user":{"login":"akshaypm","id":15153663,"avatar_url":"https://avatars.githubusercontent.com/u/15153663?v=3","gravatar_id":"","url":"https://api.github.com/users/akshaypm","html_url":"https://github.com/akshaypm","followers_url":"https://api.github.com/users/akshaypm/followers","following_url":"https://api.github.com/users/akshaypm/following{/other_user}","gists_url":"https://api.github.com/users/akshaypm/gists{/gist_id}","starred_url":"https://api.github.com/users/akshaypm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshaypm/subscriptions","organizations_url":"https://api.github.com/users/akshaypm/orgs","repos_url":"https://api.github.com/users/akshaypm/repos","events_url":"https://api.github.com/users/akshaypm/events{/privacy}","received_events_url":"https://api.github.com/users/akshaypm/received_events","type":"User","site_admin":false},"repo":{"id":57878529,"name":"contiki","full_name":"akshaypm/contiki","owner":{"login":"akshaypm","id":15153663,"avatar_url":"https://avatars.githubusercontent.com/u/15153663?v=3","gravatar_id":"","url":"https://api.github.com/users/akshaypm","html_url":"https://github.com/akshaypm","followers_url":"https://api.github.com/users/akshaypm/followers","following_url":"https://api.github.com/users/akshaypm/following{/other_user}","gists_url":"https://api.github.com/users/akshaypm/gists{/gist_id}","starred_url":"https://api.github.com/users/akshaypm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshaypm/subscriptions","organizations_url":"https://api.github.com/users/akshaypm/orgs","repos_url":"https://api.github.com/users/akshaypm/repos","events_url":"https://api.github.com/users/akshaypm/events{/privacy}","received_events_url":"https://api.github.com/users/akshaypm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akshaypm/contiki","description":"The official git repository for Contiki, the open source OS for the Internet of Things","fork":true,"url":"https://api.github.com/repos/akshaypm/contiki","forks_url":"https://api.github.com/repos/akshaypm/contiki/forks","keys_url":"https://api.github.com/repos/akshaypm/contiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akshaypm/contiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akshaypm/contiki/teams","hooks_url":"https://api.github.com/repos/akshaypm/contiki/hooks","issue_events_url":"https://api.github.com/repos/akshaypm/contiki/issues/events{/number}","events_url":"https://api.github.com/repos/akshaypm/contiki/events","assignees_url":"https://api.github.com/repos/akshaypm/contiki/assignees{/user}","branches_url":"https://api.github.com/repos/akshaypm/contiki/branches{/branch}","tags_url":"https://api.github.com/repos/akshaypm/contiki/tags","blobs_url":"https://api.github.com/repos/akshaypm/contiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akshaypm/contiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akshaypm/contiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/akshaypm/contiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akshaypm/contiki/statuses/{sha}","languages_url":"https://api.github.com/repos/akshaypm/contiki/languages","stargazers_url":"https://api.github.com/repos/akshaypm/contiki/stargazers","contributors_url":"https://api.github.com/repos/akshaypm/contiki/contributors","subscribers_url":"https://api.github.com/repos/akshaypm/contiki/subscribers","subscription_url":"https://api.github.com/repos/akshaypm/contiki/subscription","commits_url":"https://api.github.com/repos/akshaypm/contiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/akshaypm/contiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/akshaypm/contiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/akshaypm/contiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/akshaypm/contiki/contents/{+path}","compare_url":"https://api.github.com/repos/akshaypm/contiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akshaypm/contiki/merges","archive_url":"https://api.github.com/repos/akshaypm/contiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akshaypm/contiki/downloads","issues_url":"https://api.github.com/repos/akshaypm/contiki/issues{/number}","pulls_url":"https://api.github.com/repos/akshaypm/contiki/pulls{/number}","milestones_url":"https://api.github.com/repos/akshaypm/contiki/milestones{/number}","notifications_url":"https://api.github.com/repos/akshaypm/contiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akshaypm/contiki/labels{/name}","releases_url":"https://api.github.com/repos/akshaypm/contiki/releases{/id}","deployments_url":"https://api.github.com/repos/akshaypm/contiki/deployments","created_at":"2016-05-02T09:33:35Z","updated_at":"2016-05-02T09:33:47Z","pushed_at":"2016-05-02T11:55:49Z","git_url":"git://github.com/akshaypm/contiki.git","ssh_url":"git@github.com:akshaypm/contiki.git","clone_url":"https://github.com/akshaypm/contiki.git","svn_url":"https://github.com/akshaypm/contiki","homepage":"http://www.contiki-os.org/","size":67588,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"contiki-os:master","ref":"master","sha":"5c2a0e26522956a5d9677238022d1d2777b0cc6e","user":{"login":"contiki-os","id":2511296,"avatar_url":"https://avatars.githubusercontent.com/u/2511296?v=3","gravatar_id":"","url":"https://api.github.com/users/contiki-os","html_url":"https://github.com/contiki-os","followers_url":"https://api.github.com/users/contiki-os/followers","following_url":"https://api.github.com/users/contiki-os/following{/other_user}","gists_url":"https://api.github.com/users/contiki-os/gists{/gist_id}","starred_url":"https://api.github.com/users/contiki-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiki-os/subscriptions","organizations_url":"https://api.github.com/users/contiki-os/orgs","repos_url":"https://api.github.com/users/contiki-os/repos","events_url":"https://api.github.com/users/contiki-os/events{/privacy}","received_events_url":"https://api.github.com/users/contiki-os/received_events","type":"Organization","site_admin":false},"repo":{"id":6365284,"name":"contiki","full_name":"contiki-os/contiki","owner":{"login":"contiki-os","id":2511296,"avatar_url":"https://avatars.githubusercontent.com/u/2511296?v=3","gravatar_id":"","url":"https://api.github.com/users/contiki-os","html_url":"https://github.com/contiki-os","followers_url":"https://api.github.com/users/contiki-os/followers","following_url":"https://api.github.com/users/contiki-os/following{/other_user}","gists_url":"https://api.github.com/users/contiki-os/gists{/gist_id}","starred_url":"https://api.github.com/users/contiki-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiki-os/subscriptions","organizations_url":"https://api.github.com/users/contiki-os/orgs","repos_url":"https://api.github.com/users/contiki-os/repos","events_url":"https://api.github.com/users/contiki-os/events{/privacy}","received_events_url":"https://api.github.com/users/contiki-os/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contiki-os/contiki","description":"The official git repository for Contiki, the open source OS for the Internet of Things","fork":false,"url":"https://api.github.com/repos/contiki-os/contiki","forks_url":"https://api.github.com/repos/contiki-os/contiki/forks","keys_url":"https://api.github.com/repos/contiki-os/contiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contiki-os/contiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contiki-os/contiki/teams","hooks_url":"https://api.github.com/repos/contiki-os/contiki/hooks","issue_events_url":"https://api.github.com/repos/contiki-os/contiki/issues/events{/number}","events_url":"https://api.github.com/repos/contiki-os/contiki/events","assignees_url":"https://api.github.com/repos/contiki-os/contiki/assignees{/user}","branches_url":"https://api.github.com/repos/contiki-os/contiki/branches{/branch}","tags_url":"https://api.github.com/repos/contiki-os/contiki/tags","blobs_url":"https://api.github.com/repos/contiki-os/contiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contiki-os/contiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contiki-os/contiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/contiki-os/contiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contiki-os/contiki/statuses/{sha}","languages_url":"https://api.github.com/repos/contiki-os/contiki/languages","stargazers_url":"https://api.github.com/repos/contiki-os/contiki/stargazers","contributors_url":"https://api.github.com/repos/contiki-os/contiki/contributors","subscribers_url":"https://api.github.com/repos/contiki-os/contiki/subscribers","subscription_url":"https://api.github.com/repos/contiki-os/contiki/subscription","commits_url":"https://api.github.com/repos/contiki-os/contiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/contiki-os/contiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/contiki-os/contiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/contiki-os/contiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/contiki-os/contiki/contents/{+path}","compare_url":"https://api.github.com/repos/contiki-os/contiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contiki-os/contiki/merges","archive_url":"https://api.github.com/repos/contiki-os/contiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contiki-os/contiki/downloads","issues_url":"https://api.github.com/repos/contiki-os/contiki/issues{/number}","pulls_url":"https://api.github.com/repos/contiki-os/contiki/pulls{/number}","milestones_url":"https://api.github.com/repos/contiki-os/contiki/milestones{/number}","notifications_url":"https://api.github.com/repos/contiki-os/contiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contiki-os/contiki/labels{/name}","releases_url":"https://api.github.com/repos/contiki-os/contiki/releases{/id}","deployments_url":"https://api.github.com/repos/contiki-os/contiki/deployments","created_at":"2012-10-24T05:59:36Z","updated_at":"2016-05-02T13:08:24Z","pushed_at":"2016-05-02T17:16:16Z","git_url":"git://github.com/contiki-os/contiki.git","ssh_url":"git@github.com:contiki-os/contiki.git","clone_url":"https://github.com/contiki-os/contiki.git","svn_url":"https://github.com/contiki-os/contiki","homepage":"http://www.contiki-os.org/","size":84362,"stargazers_count":1828,"watchers_count":1828,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1434,"mirror_url":null,"open_issues_count":190,"forks":1434,"open_issues":190,"watchers":1828,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contiki-os/contiki/pulls/1643"},"html":{"href":"https://github.com/contiki-os/contiki/pull/1643"},"issue":{"href":"https://api.github.com/repos/contiki-os/contiki/issues/1643"},"comments":{"href":"https://api.github.com/repos/contiki-os/contiki/issues/1643/comments"},"review_comments":{"href":"https://api.github.com/repos/contiki-os/contiki/pulls/1643/comments"},"review_comment":{"href":"https://api.github.com/repos/contiki-os/contiki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contiki-os/contiki/pulls/1643/commits"},"statuses":{"href":"https://api.github.com/repos/contiki-os/contiki/statuses/0d56a547d9c6bc1b5d87d72893746e5a0402130d"}}}}