{"action":"created","comment":{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/comments/52474588","id":52474588,"diff_hunk":"@@ -0,0 +1,467 @@\n+/*\n+ * Race Capture Pro Firmware\n+ *\n+ * Copyright (C) 2015 Autosport Labs\n+ *\n+ * This file is part of the Race Capture Pro fimrware suite\n+ *\n+ * This is free software: you can redistribute it and/or modify it\n+ * under the terms of the GNU General Public License as published by\n+ * the Free Software Foundation, either version 3 of the License, or\n+ * (at your option) any later version.\n+ *\n+ * This software is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n+ *\n+ * See the GNU General Public License for more details. You should\n+ * have received a copy of the GNU General Public License along with\n+ * this code. If not, see <http://www.gnu.org/licenses/>.\n+ */\n+\n+#include \"array_utils.h\"\n+#include \"cellular.h\"\n+#include \"cell_pwr_btn.h\"\n+#include \"gsm.h\"\n+#include \"printk.h\"\n+#include \"serial_buffer.h\"\n+#include \"sara_u280.h\"\n+#include \"taskUtil.h\"\n+\n+#include <string.h>\n+#include <stdlib.h>\n+\n+static bool sara_u280_get_subscriber_number(struct serial_buffer *sb,\n+                                            struct cellular_info *ci)\n+{\n+        return gsm_get_subscriber_number(sb, ci);\n+}\n+\n+static bool sara_u280_get_signal_strength(struct serial_buffer *sb,\n+                                          struct cellular_info *ci)\n+{\n+        return gsm_get_subscriber_number(sb, ci);\n+}\n+\n+static bool sara_u280_get_imei(struct serial_buffer *sb,\n+                               struct cellular_info *ci)\n+{\n+        return gsm_get_imei(sb, ci);\n+}\n+\n+static enum cellular_net_status sara_u280_get_net_reg_status(\n+        struct serial_buffer *sb,struct cellular_info *ci)\n+{\n+        return gsm_get_network_reg_status(sb, ci);\n+}\n+\n+static bool sara_u280_get_network_reg_info(struct serial_buffer *sb,\n+                                           struct cellular_info *ci)\n+{\n+        return gsm_get_network_reg_info(sb, ci);\n+}\n+\n+static bool sara_u280_is_gprs_attached(struct serial_buffer *sb)\n+{\n+        return gsm_is_gprs_attached(sb);\n+}\n+\n+static bool sara_u280_get_ip_address(struct serial_buffer *sb)\n+{\n+        const char *cmd = \"AT+UPSND=0,0\";\n+        const char *msgs[2];\n+        const size_t msgs_len = ARRAY_LEN(msgs);\n+\n+        serial_buffer_reset(sb);\n+        serial_buffer_append(sb, cmd);\n+        const size_t count = cellular_exec_cmd(sb, READ_TIMEOUT, msgs,\n+                                               msgs_len);\n+        const bool status = is_rsp_ok(msgs, count);\n+        if (!status) {\n+                pr_warning(\"[cell] Failed to read IP\\r\\n\");\n+                return false;\n+        }\n+\n+        /* +UPSND: 0,0,\"93.68.225.175\" */\n+        const char* ipaddr = msgs[0];\n+        for (size_t i = 2; i && ipaddr; --i)\n+                ipaddr = strchr(ipaddr, ',') + 1;\n+\n+        if (ipaddr) {\n+                pr_info_str_msg(\"[cell] IP address: \", ipaddr);\n+        } else {\n+                pr_warning_str_msg(\"[cell] Unable to parse IP address: \",\n+                                   msgs[0]);\n+        }\n+\n+        return ipaddr != NULL;\n+}\n+\n+static bool sara_u280_is_gprs_connected(struct serial_buffer *sb)\n+{\n+        const char *cmd = \"AT+UPSND=0,8\";\n+        const char *msgs[2];\n+        const size_t msgs_len = ARRAY_LEN(msgs);\n+\n+        serial_buffer_reset(sb);\n+        serial_buffer_append(sb, cmd);\n+        const size_t count = cellular_exec_cmd(sb, READ_TIMEOUT, msgs,\n+                                               msgs_len);\n+        const bool status = is_rsp_ok(msgs, count);\n+        if (!status) {\n+                pr_warning(\"[cell] Failed to get GPRS connection status\\r\\n\");\n+                return false;\n+        }\n+\n+        /* +UPSND: 0,8,<0|1> */\n+        const char* str = msgs[0];\n+        for (size_t i = 2; i && str; --i)\n+                str = strchr(str, ',') + 1;\n+\n+        const bool connected = *str == '1';\n+        pr_info_str_msg(\"[sara_u280] Connected to GPRS: \",\n+                        connected ? \"True\" : \"False\");\n+        return connected;\n+}\n+\n+\n+static bool sara_u280_put_pdp_config(struct serial_buffer *sb,\n+                                     const int pdp_id,\n+                                     const char *host,\n+                                     const char* user,\n+                                     const char* password)\n+{\n+        const char *msgs[1];\n+        const size_t msgs_len = ARRAY_LEN(msgs);\n+\n+        serial_buffer_reset(sb);\n+\n+        /* APN settings */\n+        serial_buffer_printf_append(sb, \"AT+UPSD=0,1,\\\"%s\\\"\", host);\n+        serial_buffer_printf_append(sb, \";+UPSD=0,2,\\\"%s\\\"\", user);\n+        serial_buffer_printf_append(sb, \";+UPSD=0,3,\\\"%s\\\"\", password);\n+\n+        /* Dynamic IP */\n+        //serial_buffer_append(sb, \";+UPSD=0,7,\\\"0.0.0.0\\\"\");\n+\n+\n+        const size_t count = cellular_exec_cmd(sb, READ_TIMEOUT, msgs,\n+                                               msgs_len);\n+        return is_rsp_ok(msgs, count);\n+}\n+\n+static bool sara_u280_put_dns_config(struct serial_buffer *sb,\n+                                     const char* dns1,\n+                                     const char *dns2)\n+{\n+        const char *msgs[1];\n+        const size_t msgs_len = ARRAY_LEN(msgs);\n+\n+        serial_buffer_reset(sb);\n+        serial_buffer_printf_append(sb, \"AT+UPSD=0,4,\\\"%s\\\"\", dns1);\n+        if (dns2) {\n+                serial_buffer_append(sb, \";\");\n+                serial_buffer_printf_append(sb, \"+UPSD=0,5,\\\"%s\\\"\", dns2);\n+        }\n+\n+        const size_t count = cellular_exec_cmd(sb, READ_TIMEOUT, msgs,\n+                                               msgs_len);\n+        return is_rsp_ok(msgs, count);\n+}\n+\n+static bool sara_u280_gprs_psd_action(struct serial_buffer *sb,\n+                                      const int pid,\n+                                      const int aid)\n+{\n+        const char *msgs[1];\n+        const size_t msgs_len = ARRAY_LEN(msgs);\n+\n+        serial_buffer_reset(sb);\n+        serial_buffer_printf_append(sb, \"AT+UPSDA=%d,%d\", pid, aid);\n+        const size_t count = cellular_exec_cmd(sb, MEDIUM_TIMEOUT, msgs,\n+                                               msgs_len);\n+        const bool status = is_rsp_ok(msgs, count);\n+\n+        return status;\n+}\n+\n+static bool sara_u280_activate_pdp(struct serial_buffer *sb,\n+                                   const int pdp_id)\n+{\n+        return sara_u280_gprs_psd_action(sb, pdp_id, 3);\n+}\n+\n+#if 0\n+static bool sara_u280_deactivate_pdp(struct serial_buffer *sb,\n+                                     const int pdp_id)\n+{\n+        return sara_u280_gprs_psd_action(sb, pdp_id, 4);\n+}\n+#endif\n+\n+static int sara_u280_create_tcp_socket(struct serial_buffer *sb)\n+{\n+        const char *cmd = \"AT+USOCR=6\";\n+        const char *msgs[2];\n+        const size_t msgs_len = ARRAY_LEN(msgs);\n+\n+        serial_buffer_reset(sb);\n+        serial_buffer_append(sb, cmd);\n+        const size_t count = cellular_exec_cmd(sb, READ_TIMEOUT, msgs,\n+                                               msgs_len);\n+        const bool status = is_rsp_ok(msgs, count);\n+        if (!status) {\n+                pr_warning(\"[sara_u280] Failed to create a socket\\r\\n\");\n+                return -1;\n+        }\n+\n+        /*\n+         * Parse out the socket ID.  Needed for Muxing.\n+         * +USOCR: <socket_id>\n+         */\n+        const int socket = msgs[0][8] - '0';\n+        if (socket < 0 || socket > 6) {\n+                pr_warning(\"[sara_u280] Failed to parse socket ID.\\r\\n\");\n+                return -2;\n+        }\n+\n+        pr_debug_int_msg(\"[sara_u280] Socket ID: \", socket);\n+        return socket;\n+}\n+\n+static bool sara_u280_connect_tcp_socket(struct serial_buffer *sb,\n+                                         const int socket_id,\n+                                         const char* host,\n+                                         const int port)\n+{\n+        const char *msgs[1];\n+        const size_t msgs_len = ARRAY_LEN(msgs);\n+\n+        serial_buffer_reset(sb);\n+        serial_buffer_printf_append(sb, \"AT+USOCO=%d,\\\"%s\\\",%d\", socket_id,\n+                                    host, port);\n+        const size_t count = cellular_exec_cmd(sb, CONNECT_TIMEOUT, msgs,\n+                                               msgs_len);\n+        return is_rsp_ok(msgs, count);\n+}\n+\n+static bool sara_u280_close_tcp_socket(struct serial_buffer *sb,\n+                                       const int socket_id)\n+{\n+        const char *msgs[1];\n+        const size_t msgs_len = ARRAY_LEN(msgs);\n+\n+        serial_buffer_reset(sb);\n+        serial_buffer_printf_append(sb, \"AT+USOCL=%d\", socket_id);\n+        const size_t count = cellular_exec_cmd(sb, MEDIUM_TIMEOUT, msgs,\n+                                               msgs_len);\n+        return is_rsp_ok(msgs, count);\n+}\n+\n+static bool sara_u280_start_direct_mode(struct serial_buffer *sb,\n+                                        const int socket_id)\n+{\n+        const char *msgs[1];\n+        const size_t msgs_len = ARRAY_LEN(msgs);\n+\n+        serial_buffer_reset(sb);\n+        serial_buffer_printf_append(sb, \"AT+USODL=%d\", socket_id);\n+        const size_t count = cellular_exec_cmd(sb, MEDIUM_TIMEOUT, msgs,\n+                                               msgs_len);\n+        return is_rsp(msgs, count, \"CONNECT\");\n+}\n+\n+static bool sara_u280_stop_direct_mode(struct serial_buffer *sb)\n+{\n+        /* Must delay min 2000ms before stopping direct mode */\n+\tdelayMs(2100);\n+\n+        /*\n+         * Using straight serial buffer logic here instead of\n+         * the AT command system because we can get data intended for\n+         * the JSON parser while we do this. Also because we don't\n+         * want the \\r at the end of the command.\n+         */\n+        serial_buffer_reset(sb);\n+        serial_buffer_append(sb, \"+++\");\n+        serial_buffer_tx(sb);\n+        for (size_t events = 10; events; --events) {\n+                serial_buffer_reset(sb);\n+                if (serial_buffer_rx(sb, 1000) &&\n+                    is_rsp_ok((const char**) &(sb->buffer), 1))\n+                        return true;\n+        }\n+\n+        return false;\n+}\n+\n+static bool sara_u280_init(struct serial_buffer *sb,\n+                           struct cellular_info *ci)\n+{\n+        /* NO-OP.  This hardware is better than sim900. */\n+        return true;\n+}\n+\n+static bool sara_u280_get_sim_info(struct serial_buffer *sb,\n+                                   struct cellular_info *ci)\n+{\n+        return sara_u280_get_imei(sb, ci) &&\n+                sara_u280_get_signal_strength(sb, ci) &&\n+                sara_u280_get_subscriber_number(sb, ci);\n+}\n+\n+static bool sara_u280_register_on_network(struct serial_buffer *sb,\n+                                          struct cellular_info *ci)\n+{\n+        /* Check our status on the network */\n+        for (size_t tries = 30; tries; --tries) {\n+                sara_u280_get_net_reg_status(sb, ci);\n+\n+                switch(ci->net_status) {\n+                case CELLULAR_NETWORK_DENIED:\n+                case CELLULAR_NETWORK_REGISTERED:\n+                        goto out;\n+                default:\n+                        break;\n+                }\n+\n+                /* Wait before trying again */\n+                delayMs(1000);\n+        }\n+\n+out:\n+        return CELLULAR_NETWORK_REGISTERED == ci->net_status;\n+}\n+\n+static bool sara_u280_setup_pdp(struct serial_buffer *sb,\n+                                struct cellular_info *ci,\n+                                const CellularConfig *cc)\n+{\n+        /* Check GPRS attached */\n+        bool gprs_attached;\n+        for (size_t tries = 10; tries; --tries) {","path":"src/devices/sara_u280.c","position":342,"original_position":342,"commit_id":"6f4be9d3d8c5066bf407d66a5b1d6d82fcca7941","original_commit_id":"6f4be9d3d8c5066bf407d66a5b1d6d82fcca7941","user":{"login":"stieg","id":141519,"avatar_url":"https://avatars.githubusercontent.com/u/141519?v=3","gravatar_id":"","url":"https://api.github.com/users/stieg","html_url":"https://github.com/stieg","followers_url":"https://api.github.com/users/stieg/followers","following_url":"https://api.github.com/users/stieg/following{/other_user}","gists_url":"https://api.github.com/users/stieg/gists{/gist_id}","starred_url":"https://api.github.com/users/stieg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stieg/subscriptions","organizations_url":"https://api.github.com/users/stieg/orgs","repos_url":"https://api.github.com/users/stieg/repos","events_url":"https://api.github.com/users/stieg/events{/privacy}","received_events_url":"https://api.github.com/users/stieg/received_events","type":"User","site_admin":false},"body":"Ok.  Sounds right.","created_at":"2016-02-10T15:43:14Z","updated_at":"2016-02-10T15:43:14Z","html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/pull/416#discussion_r52474588","pull_request_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/416","_links":{"self":{"href":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/comments/52474588"},"html":{"href":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/pull/416#discussion_r52474588"},"pull_request":{"href":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/416"}}},"pull_request":{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/416","id":58684667,"html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/pull/416","diff_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/pull/416.diff","patch_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/pull/416.patch","issue_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/416","number":416,"state":"open","locked":false,"title":"3G Support!","user":{"login":"stieg","id":141519,"avatar_url":"https://avatars.githubusercontent.com/u/141519?v=3","gravatar_id":"","url":"https://api.github.com/users/stieg","html_url":"https://github.com/stieg","followers_url":"https://api.github.com/users/stieg/followers","following_url":"https://api.github.com/users/stieg/following{/other_user}","gists_url":"https://api.github.com/users/stieg/gists{/gist_id}","starred_url":"https://api.github.com/users/stieg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stieg/subscriptions","organizations_url":"https://api.github.com/users/stieg/orgs","repos_url":"https://api.github.com/users/stieg/repos","events_url":"https://api.github.com/users/stieg/events{/privacy}","received_events_url":"https://api.github.com/users/stieg/received_events","type":"User","site_admin":false},"body":"Holy crap this took way too long to do.  But here it is.  This patch implements 3G support for RCP with backwards support for SIM900.  In other words, it is a fuax driver loading mechanism.  After some extensive testing it seems to work quite well and is very fast in bringing up the modems.\r\n\r\nAlso in this change is a lot of new features that will be useful when support for WiFi chip is added.  This includes part of a new AT command framework, introduction of SerialBuffers, and various improvements to help me debug this project.\r\n\r\nThe commits are bit of a mess... sorry.  I have learned my lesson with this one.","created_at":"2016-02-08T23:36:55Z","updated_at":"2016-02-10T15:43:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6bcafd6fbe72fa7ac2658b00685e5e497dddd10","assignee":{"login":"brentpicasso","id":3267533,"avatar_url":"https://avatars.githubusercontent.com/u/3267533?v=3","gravatar_id":"","url":"https://api.github.com/users/brentpicasso","html_url":"https://github.com/brentpicasso","followers_url":"https://api.github.com/users/brentpicasso/followers","following_url":"https://api.github.com/users/brentpicasso/following{/other_user}","gists_url":"https://api.github.com/users/brentpicasso/gists{/gist_id}","starred_url":"https://api.github.com/users/brentpicasso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentpicasso/subscriptions","organizations_url":"https://api.github.com/users/brentpicasso/orgs","repos_url":"https://api.github.com/users/brentpicasso/repos","events_url":"https://api.github.com/users/brentpicasso/events{/privacy}","received_events_url":"https://api.github.com/users/brentpicasso/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/milestones/4","html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/milestones/2.9.0","labels_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/milestones/4/labels","id":1231964,"number":4,"title":"2.9.0","description":null,"creator":{"login":"stieg","id":141519,"avatar_url":"https://avatars.githubusercontent.com/u/141519?v=3","gravatar_id":"","url":"https://api.github.com/users/stieg","html_url":"https://github.com/stieg","followers_url":"https://api.github.com/users/stieg/followers","following_url":"https://api.github.com/users/stieg/following{/other_user}","gists_url":"https://api.github.com/users/stieg/gists{/gist_id}","starred_url":"https://api.github.com/users/stieg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stieg/subscriptions","organizations_url":"https://api.github.com/users/stieg/orgs","repos_url":"https://api.github.com/users/stieg/repos","events_url":"https://api.github.com/users/stieg/events{/privacy}","received_events_url":"https://api.github.com/users/stieg/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":26,"state":"open","created_at":"2015-07-29T16:58:10Z","updated_at":"2016-02-10T15:36:43Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/416/commits","review_comments_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/416/comments","review_comment_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/416/comments","statuses_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/statuses/6f4be9d3d8c5066bf407d66a5b1d6d82fcca7941","head":{"label":"autosportlabs:p/stieg/3g_support","ref":"p/stieg/3g_support","sha":"6f4be9d3d8c5066bf407d66a5b1d6d82fcca7941","user":{"login":"autosportlabs","id":1274125,"avatar_url":"https://avatars.githubusercontent.com/u/1274125?v=3","gravatar_id":"","url":"https://api.github.com/users/autosportlabs","html_url":"https://github.com/autosportlabs","followers_url":"https://api.github.com/users/autosportlabs/followers","following_url":"https://api.github.com/users/autosportlabs/following{/other_user}","gists_url":"https://api.github.com/users/autosportlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/autosportlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autosportlabs/subscriptions","organizations_url":"https://api.github.com/users/autosportlabs/orgs","repos_url":"https://api.github.com/users/autosportlabs/repos","events_url":"https://api.github.com/users/autosportlabs/events{/privacy}","received_events_url":"https://api.github.com/users/autosportlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":10069490,"name":"RaceCapture-Pro_firmware","full_name":"autosportlabs/RaceCapture-Pro_firmware","owner":{"login":"autosportlabs","id":1274125,"avatar_url":"https://avatars.githubusercontent.com/u/1274125?v=3","gravatar_id":"","url":"https://api.github.com/users/autosportlabs","html_url":"https://github.com/autosportlabs","followers_url":"https://api.github.com/users/autosportlabs/followers","following_url":"https://api.github.com/users/autosportlabs/following{/other_user}","gists_url":"https://api.github.com/users/autosportlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/autosportlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autosportlabs/subscriptions","organizations_url":"https://api.github.com/users/autosportlabs/orgs","repos_url":"https://api.github.com/users/autosportlabs/repos","events_url":"https://api.github.com/users/autosportlabs/events{/privacy}","received_events_url":"https://api.github.com/users/autosportlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware","description":"Firmware for RaceCapture-Pro Data Acquisition, control and Telemetry system for motorsports","fork":false,"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware","forks_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/forks","keys_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/teams","hooks_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/hooks","issue_events_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/events{/number}","events_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/events","assignees_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/assignees{/user}","branches_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/branches{/branch}","tags_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/tags","blobs_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/languages","stargazers_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/stargazers","contributors_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/contributors","subscribers_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/subscribers","subscription_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/subscription","commits_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/contents/{+path}","compare_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/merges","archive_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/downloads","issues_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues{/number}","pulls_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/labels{/name}","releases_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/releases{/id}","deployments_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/deployments","created_at":"2013-05-15T02:30:10Z","updated_at":"2016-01-11T22:27:58Z","pushed_at":"2016-02-10T00:57:11Z","git_url":"git://github.com/autosportlabs/RaceCapture-Pro_firmware.git","ssh_url":"git@github.com:autosportlabs/RaceCapture-Pro_firmware.git","clone_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware.git","svn_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware","homepage":null,"size":24043,"stargazers_count":11,"watchers_count":11,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":88,"forks":11,"open_issues":88,"watchers":11,"default_branch":"master"}},"base":{"label":"autosportlabs:r/2.9.0","ref":"r/2.9.0","sha":"4e945502c1665a6cdac7a6394745baf935610ce3","user":{"login":"autosportlabs","id":1274125,"avatar_url":"https://avatars.githubusercontent.com/u/1274125?v=3","gravatar_id":"","url":"https://api.github.com/users/autosportlabs","html_url":"https://github.com/autosportlabs","followers_url":"https://api.github.com/users/autosportlabs/followers","following_url":"https://api.github.com/users/autosportlabs/following{/other_user}","gists_url":"https://api.github.com/users/autosportlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/autosportlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autosportlabs/subscriptions","organizations_url":"https://api.github.com/users/autosportlabs/orgs","repos_url":"https://api.github.com/users/autosportlabs/repos","events_url":"https://api.github.com/users/autosportlabs/events{/privacy}","received_events_url":"https://api.github.com/users/autosportlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":10069490,"name":"RaceCapture-Pro_firmware","full_name":"autosportlabs/RaceCapture-Pro_firmware","owner":{"login":"autosportlabs","id":1274125,"avatar_url":"https://avatars.githubusercontent.com/u/1274125?v=3","gravatar_id":"","url":"https://api.github.com/users/autosportlabs","html_url":"https://github.com/autosportlabs","followers_url":"https://api.github.com/users/autosportlabs/followers","following_url":"https://api.github.com/users/autosportlabs/following{/other_user}","gists_url":"https://api.github.com/users/autosportlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/autosportlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autosportlabs/subscriptions","organizations_url":"https://api.github.com/users/autosportlabs/orgs","repos_url":"https://api.github.com/users/autosportlabs/repos","events_url":"https://api.github.com/users/autosportlabs/events{/privacy}","received_events_url":"https://api.github.com/users/autosportlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware","description":"Firmware for RaceCapture-Pro Data Acquisition, control and Telemetry system for motorsports","fork":false,"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware","forks_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/forks","keys_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/teams","hooks_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/hooks","issue_events_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/events{/number}","events_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/events","assignees_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/assignees{/user}","branches_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/branches{/branch}","tags_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/tags","blobs_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/languages","stargazers_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/stargazers","contributors_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/contributors","subscribers_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/subscribers","subscription_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/subscription","commits_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/contents/{+path}","compare_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/merges","archive_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/downloads","issues_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues{/number}","pulls_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/labels{/name}","releases_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/releases{/id}","deployments_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/deployments","created_at":"2013-05-15T02:30:10Z","updated_at":"2016-01-11T22:27:58Z","pushed_at":"2016-02-10T00:57:11Z","git_url":"git://github.com/autosportlabs/RaceCapture-Pro_firmware.git","ssh_url":"git@github.com:autosportlabs/RaceCapture-Pro_firmware.git","clone_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware.git","svn_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware","homepage":null,"size":24043,"stargazers_count":11,"watchers_count":11,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":88,"forks":11,"open_issues":88,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/416"},"html":{"href":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/pull/416"},"issue":{"href":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/416"},"comments":{"href":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/statuses/6f4be9d3d8c5066bf407d66a5b1d6d82fcca7941"}}}}