{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/38790595","id":38790595,"diff_hunk":"@@ -0,0 +1,270 @@\n+/*\n+ * Copyright (C) 2014 Freie Universität Berlin\n+ *               2015 Kaspar Schleiser <kaspar@schleiser.de>\n+ *\n+ * This file is subject to the terms and conditions of the GNU Lesser\n+ * General Public License v2.1. See the file LICENSE in the top level\n+ * directory for more details.\n+ */\n+\n+/**\n+ * @ingroup     drivers_cc110x\n+ * @{\n+ * @file\n+ * @brief       Implementation of netdev2 interface for cc110x\n+ *\n+ * @author      Fabian Nack <nack@inf.fu-berlin.de>\n+ * @author      Kaspar Schleiser <kaspar@schleiser.de>\n+ * @}\n+ */\n+\n+#include <assert.h>\n+#include <stdlib.h>\n+#include <string.h>\n+#include <errno.h>\n+\n+#include \"cc110x.h\"\n+#include \"cc110x/cc110x-netdev2.h\"\n+#include \"cc110x/cc110x-internal.h\"\n+#include \"cc110x/cc110x-interface.h\"\n+#include \"net/eui64.h\"\n+\n+#include \"periph/cpuid.h\"\n+#include \"periph/gpio.h\"\n+#include \"net/netdev2.h\"\n+#include \"net/gnrc/nettype.h\"\n+\n+#define ENABLE_DEBUG    (0)\n+#include \"debug.h\"\n+\n+static int _send(netdev2_t *dev, const struct iovec *vector, int count)\n+{\n+    DEBUG(\"%s:%u\\n\", __func__, __LINE__);\n+\n+    netdev2_cc110x_t *netdev2_cc110x = (netdev2_cc110x_t*) dev;\n+    cc110x_pkt_t *cc110x_pkt = vector[0].iov_base;\n+\n+    return cc110x_send(&netdev2_cc110x->cc110x, cc110x_pkt);\n+}\n+\n+static int _recv(netdev2_t *dev, char* buf, int len)\n+{\n+    DEBUG(\"%s:%u\\n\", __func__, __LINE__);\n+\n+    cc110x_t *cc110x = &((netdev2_cc110x_t*) dev)->cc110x;\n+\n+    cc110x_pkt_t *cc110x_pkt = &cc110x->pkt_buf.packet;\n+    if (cc110x_pkt->length > len) {\n+        return -ENOSPC;\n+    }\n+\n+    memcpy(buf, (void*)cc110x_pkt, cc110x_pkt->length);\n+    return cc110x_pkt->length;\n+}\n+\n+static inline int _get_iid(netdev2_t *netdev, eui64_t *value, size_t max_len)\n+{\n+    if (max_len < sizeof(eui64_t)) {\n+        return -EOVERFLOW;\n+    }\n+\n+    uint8_t *eui64 = (uint8_t*) value;\n+#ifdef CPUID_ID_LEN\n+    int n = (CPUID_ID_LEN < sizeof(eui64_t))\n+        ? CPUID_ID_LEN\n+        : sizeof(eui64_t);\n+\n+    char cpuid[CPUID_ID_LEN];\n+    cpuid_get(cpuid);\n+\n+    memcpy(eui64 + 8 - n, cpuid, n);\n+\n+#else\n+    for (int i = 0; i < 8; i++) {\n+        eui64[i] = i;\n+    }\n+#endif\n+\n+    /* make sure we mark the address as non-multicast and not globally unique */\n+    eui64[0] &= ~(0x01);\n+    eui64[0] |= 0x02;\n+\n+    return sizeof(eui64_t);\n+}\n+\n+static int _get(netdev2_t *dev, netopt_t opt, void *value, size_t value_len)\n+{\n+    cc110x_t *cc110x = &((netdev2_cc110x_t*) dev)->cc110x;\n+\n+    switch (opt) {\n+        case NETOPT_DEVICE_TYPE:\n+            assert(value_len == 2);\n+            *((uint16_t *) value) = NETDEV2_TYPE_CC110X;\n+            return 2;\n+        case NETOPT_PROTO:\n+            assert(value_len == sizeof(gnrc_nettype_t));\n+#ifdef MODULE_GNRC_SIXLOWPAN\n+            *((gnrc_nettype_t*)value) = GNRC_NETTYPE_SIXLOWPAN;\n+#else\n+            *((gnrc_nettype_t*)value) = GNRC_NETTYPE_UNDEF;\n+#endif\n+            return sizeof(gnrc_nettype_t);\n+        case NETOPT_CHANNEL:\n+            assert(value_len > 1);\n+            *((uint16_t *)value) = (uint16_t)cc110x->radio_channel;\n+            return 2;\n+        case NETOPT_ADDRESS:\n+            assert(value_len > 0);\n+            *((uint8_t *)value) = cc110x->radio_address;\n+            return 1;\n+        case NETOPT_MAX_PACKET_SIZE:\n+            assert(value_len > 0);\n+            *((uint8_t *)value) = CC110X_PACKET_LENGTH;\n+            return 1;\n+        case NETOPT_IPV6_IID:\n+            return _get_iid(dev, value, value_len);\n+        default:\n+            break;\n+    }\n+\n+    return -ENOTSUP;\n+}\n+\n+static int _set(netdev2_t *dev, netopt_t opt, void *value, size_t value_len)\n+{\n+    DEBUG(\"%s:%u\\n\", __func__, __LINE__);\n+\n+    cc110x_t *cc110x = &((netdev2_cc110x_t*) dev)->cc110x;\n+\n+    switch (opt) {\n+        case NETOPT_CHANNEL:\n+            {\n+                uint8_t *arg = (uint8_t*)value;\n+                uint8_t channel = arg[value_len-1];\n+                if ((channel < CC110X_MIN_CHANNR) || (channel > CC110X_MAX_CHANNR)) {\n+                    return -EINVAL;\n+                }\n+                if (cc110x_set_channel(cc110x, channel) == -1) {\n+                    return -EINVAL;\n+                }\n+                return 1;\n+            }\n+        case NETOPT_ADDRESS:\n+            if (value_len < 1) {\n+                return -EINVAL;\n+            }\n+            if (!cc110x_set_address(cc110x, *(uint8_t*)value)) {\n+                return -EINVAL;\n+            }\n+            return 1;\n+        default:\n+            return -ENOTSUP;\n+    }\n+\n+    return 0;\n+}\n+\n+static void _netdev2_cc110x_isr(void *arg)\n+{\n+    netdev2_t *netdev2 = (netdev2_t*) arg;\n+    netdev2->event_callback(netdev2, NETDEV2_EVENT_ISR, netdev2->isr_arg);\n+}\n+\n+static void _netdev2_cc110x_rx_callback(void *arg)\n+{\n+    netdev2_t *netdev2 = (netdev2_t*) arg;\n+    cc110x_t *cc110x = &((netdev2_cc110x_t*) arg)->cc110x;\n+    gpio_irq_disable(cc110x->params.GDO2);\n+    netdev2->event_callback(netdev2, NETDEV2_EVENT_RX_COMPLETE, netdev2->isr_arg);\n+}\n+\n+static void _isr(netdev2_t *dev)\n+{\n+    cc110x_t *cc110x = &((netdev2_cc110x_t*) dev)->cc110x;\n+    cc110x_isr_handler(cc110x, _netdev2_cc110x_rx_callback, (void*)dev);\n+}\n+\n+static int _init(netdev2_t *dev)\n+{\n+    DEBUG(\"%s:%u\\n\", __func__, __LINE__);\n+\n+    cc110x_t *cc110x = &((netdev2_cc110x_t*) dev)->cc110x;\n+\n+    gpio_init_int(cc110x->params.GDO2, GPIO_NOPULL, GPIO_BOTH,\n+            &_netdev2_cc110x_isr, (void*)dev);\n+\n+    gpio_set(cc110x->params.GDO2);\n+    gpio_irq_disable(cc110x->params.GDO2);\n+\n+    /* Switch to RX mode */\n+    cc110x_rd_set_mode(cc110x, RADIO_MODE_ON);\n+\n+    return 0;\n+}\n+\n+#if 0","path":"drivers/cc110x/cc110x-netdev2.c","position":205,"original_position":205,"commit_id":"e69de8f226cff8e14f225bcfc2e4072262825def","original_commit_id":"e69de8f226cff8e14f225bcfc2e4072262825def","user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"body":"ups","created_at":"2015-09-04T20:24:58Z","updated_at":"2015-09-04T20:24:58Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/3716#discussion_r38790595","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3716","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/38790595"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/3716#discussion_r38790595"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3716"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3716","id":43383205,"html_url":"https://github.com/RIOT-OS/RIOT/pull/3716","diff_url":"https://github.com/RIOT-OS/RIOT/pull/3716.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/3716.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3716","number":3716,"state":"open","locked":false,"title":"drivers: add cc110x driver","user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"body":"This PR adds a cc110x driver that is based on netdev2 + gnrc.\r\n\r\nTested on msba2. Please note that the wireless parameters are different than with our legacy code, so communication with devices using the old drivers will probably not work.\r\n\r\nThe gnrc glue code fakes a iee802154 device so sixlowpan can be used in cc110x networks.\r\n\r\nWaiting for #3683.","created_at":"2015-08-26T09:50:02Z","updated_at":"2015-09-04T20:24:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7eaf7ddc57231a0a7c2c923b60fa63dbde9d66de","assignee":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones/12","html_url":"https://github.com/RIOT-OS/RIOT/milestones/Release%202015.09","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones/12/labels","id":1088995,"number":12,"title":"Release 2015.09","description":"This release aims mainly to include the gnrc network stack as the new default IPv6/6LoWPAN stack.","creator":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":411,"state":"open","created_at":"2015-04-29T10:11:27Z","updated_at":"2015-09-04T17:41:38Z","due_on":"2015-09-17T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3716/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3716/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3716/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/e69de8f226cff8e14f225bcfc2e4072262825def","head":{"label":"kaspar030:ng_cc110x","ref":"ng_cc110x","sha":"e69de8f226cff8e14f225bcfc2e4072262825def","user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"repo":{"id":14115364,"name":"RIOT","full_name":"kaspar030/RIOT","owner":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaspar030/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/kaspar030/RIOT","forks_url":"https://api.github.com/repos/kaspar030/RIOT/forks","keys_url":"https://api.github.com/repos/kaspar030/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaspar030/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaspar030/RIOT/teams","hooks_url":"https://api.github.com/repos/kaspar030/RIOT/hooks","issue_events_url":"https://api.github.com/repos/kaspar030/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/kaspar030/RIOT/events","assignees_url":"https://api.github.com/repos/kaspar030/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/kaspar030/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/kaspar030/RIOT/tags","blobs_url":"https://api.github.com/repos/kaspar030/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaspar030/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaspar030/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaspar030/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaspar030/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/kaspar030/RIOT/languages","stargazers_url":"https://api.github.com/repos/kaspar030/RIOT/stargazers","contributors_url":"https://api.github.com/repos/kaspar030/RIOT/contributors","subscribers_url":"https://api.github.com/repos/kaspar030/RIOT/subscribers","subscription_url":"https://api.github.com/repos/kaspar030/RIOT/subscription","commits_url":"https://api.github.com/repos/kaspar030/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaspar030/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaspar030/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaspar030/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaspar030/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/kaspar030/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaspar030/RIOT/merges","archive_url":"https://api.github.com/repos/kaspar030/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaspar030/RIOT/downloads","issues_url":"https://api.github.com/repos/kaspar030/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/kaspar030/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/kaspar030/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/kaspar030/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaspar030/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/kaspar030/RIOT/releases{/id}","created_at":"2013-11-04T16:04:12Z","updated_at":"2015-05-08T14:32:24Z","pushed_at":"2015-09-04T17:38:50Z","git_url":"git://github.com/kaspar030/RIOT.git","ssh_url":"git@github.com:kaspar030/RIOT.git","clone_url":"https://github.com/kaspar030/RIOT.git","svn_url":"https://github.com/kaspar030/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":22548,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"48baf5ddcff63219622613c50b9f4922c62e33d8","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","created_at":"2012-12-29T20:38:40Z","updated_at":"2015-09-04T16:56:47Z","pushed_at":"2015-09-04T19:07:56Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":127272,"stargazers_count":490,"watchers_count":490,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":366,"mirror_url":null,"open_issues_count":354,"forks":366,"open_issues":354,"watchers":490,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3716"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/3716"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3716"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3716/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3716/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3716/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/e69de8f226cff8e14f225bcfc2e4072262825def"}}}}