{"action":"created","comment":{"url":"https://api.github.com/repos/swift-nav/libsbp/pulls/comments/44056496","id":44056496,"diff_hunk":"@@ -0,0 +1,240 @@\n+/**\n+ * Copyright (C) 2015 Swift Navigation Inc.\n+ * Contact: Joshua Gross <josh@swift-nav.com>\n+ * This source is subject to the license found in the file 'LICENSE' which must\n+ * be distributed together with this source. All other rights reserved.\n+ *\n+ * THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND,\n+ * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED\n+ * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.\n+ */\n+\n+// Automatically generated from piksi/yaml/swiftnav/sbp/file_io.yaml with generate.py.\n+// Please do not hand edit!\n+\n+/**\n+Package description:\n+\n+Messages for using device's onboard flash filesystem\n+functionality. This allows data to be stored persistently in the\n+device's program flash with wear-levelling using a simple filesystem\n+interface. The file system interface (CFS) defines an abstract API\n+for reading directories and for reading and writing files.\n+\n+These are in the implementation-defined range (0x0000-0x00FF), and\n+intended for internal-use only. Note that some of these messages\n+share the same message type ID for both the host request and the\n+device response.\n+\n+**/\n+\n+var SBP = require('./sbp');\n+var Parser = require('binary-parser').Parser;\n+\n+/**\n+ * SBP class for message MSG_FILEIO_READ_REQ (0x00A8).\n+ *\n+ * The file read message reads a certain length (up to 255 bytes)from a given offset into a file, and returns the data in aMSG_FILEIO_READ_RESP message where the message length fieldindicates how many bytes were succesfully read.The sequencenumber in the request will be returned in the response.If the message is invalid, a followup MSG_PRINT message willprint \"Invalid fileio read message\". A device will only respondto this message when it is received from sender ID 0x42.","path":"javascript/sbp/file_io.js","position":37,"original_position":37,"commit_id":"1649715404a09aad4d87ff46d7e753d1beaac20b","original_commit_id":"8525eb87b56fd8c8ba10d8cf837d97d207ba5ae7","user":{"login":"JoshuaGross","id":70602,"avatar_url":"https://avatars.githubusercontent.com/u/70602?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaGross","html_url":"https://github.com/JoshuaGross","followers_url":"https://api.github.com/users/JoshuaGross/followers","following_url":"https://api.github.com/users/JoshuaGross/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaGross/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaGross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaGross/subscriptions","organizations_url":"https://api.github.com/users/JoshuaGross/orgs","repos_url":"https://api.github.com/users/JoshuaGross/repos","events_url":"https://api.github.com/users/JoshuaGross/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaGross/received_events","type":"User","site_admin":false},"body":"resolved - I fixed all the spacing errors (AFAICT). I improved the word wrapping significantly. ","created_at":"2015-11-05T19:25:09Z","updated_at":"2015-11-05T19:25:09Z","html_url":"https://github.com/swift-nav/libsbp/pull/283#discussion_r44056496","pull_request_url":"https://api.github.com/repos/swift-nav/libsbp/pulls/283","_links":{"self":{"href":"https://api.github.com/repos/swift-nav/libsbp/pulls/comments/44056496"},"html":{"href":"https://github.com/swift-nav/libsbp/pull/283#discussion_r44056496"},"pull_request":{"href":"https://api.github.com/repos/swift-nav/libsbp/pulls/283"}}},"pull_request":{"url":"https://api.github.com/repos/swift-nav/libsbp/pulls/283","id":49657142,"html_url":"https://github.com/swift-nav/libsbp/pull/283","diff_url":"https://github.com/swift-nav/libsbp/pull/283.diff","patch_url":"https://github.com/swift-nav/libsbp/pull/283.patch","issue_url":"https://api.github.com/repos/swift-nav/libsbp/issues/283","number":283,"state":"open","locked":false,"title":"Initial Javascript bindings work","user":{"login":"JoshuaGross","id":70602,"avatar_url":"https://avatars.githubusercontent.com/u/70602?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaGross","html_url":"https://github.com/JoshuaGross","followers_url":"https://api.github.com/users/JoshuaGross/followers","following_url":"https://api.github.com/users/JoshuaGross/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaGross/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaGross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaGross/subscriptions","organizations_url":"https://api.github.com/users/JoshuaGross/orgs","repos_url":"https://api.github.com/users/JoshuaGross/repos","events_url":"https://api.github.com/users/JoshuaGross/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaGross/received_events","type":"User","site_admin":false},"body":"Javascript bindings including unit tests, streaming interface (the `dispatch` method). I can provide some demo tomorrow and get the tests running on Travis.","created_at":"2015-11-04T07:42:03Z","updated_at":"2015-11-05T19:25:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3dd35421dfd162d220ecb351096c16a59d670bb","assignee":{"login":"JoshuaGross","id":70602,"avatar_url":"https://avatars.githubusercontent.com/u/70602?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaGross","html_url":"https://github.com/JoshuaGross","followers_url":"https://api.github.com/users/JoshuaGross/followers","following_url":"https://api.github.com/users/JoshuaGross/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaGross/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaGross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaGross/subscriptions","organizations_url":"https://api.github.com/users/JoshuaGross/orgs","repos_url":"https://api.github.com/users/JoshuaGross/repos","events_url":"https://api.github.com/users/JoshuaGross/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaGross/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/swift-nav/libsbp/pulls/283/commits","review_comments_url":"https://api.github.com/repos/swift-nav/libsbp/pulls/283/comments","review_comment_url":"https://api.github.com/repos/swift-nav/libsbp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swift-nav/libsbp/issues/283/comments","statuses_url":"https://api.github.com/repos/swift-nav/libsbp/statuses/1649715404a09aad4d87ff46d7e753d1beaac20b","head":{"label":"JoshuaGross:jgross-javascript-binding","ref":"jgross-javascript-binding","sha":"1649715404a09aad4d87ff46d7e753d1beaac20b","user":{"login":"JoshuaGross","id":70602,"avatar_url":"https://avatars.githubusercontent.com/u/70602?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaGross","html_url":"https://github.com/JoshuaGross","followers_url":"https://api.github.com/users/JoshuaGross/followers","following_url":"https://api.github.com/users/JoshuaGross/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaGross/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaGross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaGross/subscriptions","organizations_url":"https://api.github.com/users/JoshuaGross/orgs","repos_url":"https://api.github.com/users/JoshuaGross/repos","events_url":"https://api.github.com/users/JoshuaGross/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaGross/received_events","type":"User","site_admin":false},"repo":{"id":45218958,"name":"libsbp","full_name":"JoshuaGross/libsbp","owner":{"login":"JoshuaGross","id":70602,"avatar_url":"https://avatars.githubusercontent.com/u/70602?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaGross","html_url":"https://github.com/JoshuaGross","followers_url":"https://api.github.com/users/JoshuaGross/followers","following_url":"https://api.github.com/users/JoshuaGross/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaGross/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaGross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaGross/subscriptions","organizations_url":"https://api.github.com/users/JoshuaGross/orgs","repos_url":"https://api.github.com/users/JoshuaGross/repos","events_url":"https://api.github.com/users/JoshuaGross/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaGross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JoshuaGross/libsbp","description":"Swift Binary Protocol client libraries","fork":true,"url":"https://api.github.com/repos/JoshuaGross/libsbp","forks_url":"https://api.github.com/repos/JoshuaGross/libsbp/forks","keys_url":"https://api.github.com/repos/JoshuaGross/libsbp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JoshuaGross/libsbp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JoshuaGross/libsbp/teams","hooks_url":"https://api.github.com/repos/JoshuaGross/libsbp/hooks","issue_events_url":"https://api.github.com/repos/JoshuaGross/libsbp/issues/events{/number}","events_url":"https://api.github.com/repos/JoshuaGross/libsbp/events","assignees_url":"https://api.github.com/repos/JoshuaGross/libsbp/assignees{/user}","branches_url":"https://api.github.com/repos/JoshuaGross/libsbp/branches{/branch}","tags_url":"https://api.github.com/repos/JoshuaGross/libsbp/tags","blobs_url":"https://api.github.com/repos/JoshuaGross/libsbp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JoshuaGross/libsbp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JoshuaGross/libsbp/git/refs{/sha}","trees_url":"https://api.github.com/repos/JoshuaGross/libsbp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JoshuaGross/libsbp/statuses/{sha}","languages_url":"https://api.github.com/repos/JoshuaGross/libsbp/languages","stargazers_url":"https://api.github.com/repos/JoshuaGross/libsbp/stargazers","contributors_url":"https://api.github.com/repos/JoshuaGross/libsbp/contributors","subscribers_url":"https://api.github.com/repos/JoshuaGross/libsbp/subscribers","subscription_url":"https://api.github.com/repos/JoshuaGross/libsbp/subscription","commits_url":"https://api.github.com/repos/JoshuaGross/libsbp/commits{/sha}","git_commits_url":"https://api.github.com/repos/JoshuaGross/libsbp/git/commits{/sha}","comments_url":"https://api.github.com/repos/JoshuaGross/libsbp/comments{/number}","issue_comment_url":"https://api.github.com/repos/JoshuaGross/libsbp/issues/comments{/number}","contents_url":"https://api.github.com/repos/JoshuaGross/libsbp/contents/{+path}","compare_url":"https://api.github.com/repos/JoshuaGross/libsbp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JoshuaGross/libsbp/merges","archive_url":"https://api.github.com/repos/JoshuaGross/libsbp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JoshuaGross/libsbp/downloads","issues_url":"https://api.github.com/repos/JoshuaGross/libsbp/issues{/number}","pulls_url":"https://api.github.com/repos/JoshuaGross/libsbp/pulls{/number}","milestones_url":"https://api.github.com/repos/JoshuaGross/libsbp/milestones{/number}","notifications_url":"https://api.github.com/repos/JoshuaGross/libsbp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JoshuaGross/libsbp/labels{/name}","releases_url":"https://api.github.com/repos/JoshuaGross/libsbp/releases{/id}","created_at":"2015-10-30T00:23:08Z","updated_at":"2015-10-30T00:23:09Z","pushed_at":"2015-11-05T19:06:28Z","git_url":"git://github.com/JoshuaGross/libsbp.git","ssh_url":"git@github.com:JoshuaGross/libsbp.git","clone_url":"https://github.com/JoshuaGross/libsbp.git","svn_url":"https://github.com/JoshuaGross/libsbp","homepage":"","size":4741,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"swift-nav:master","ref":"master","sha":"4a06496566b5309d9d3c286b518e03b83dff7f41","user":{"login":"swift-nav","id":1069835,"avatar_url":"https://avatars.githubusercontent.com/u/1069835?v=3","gravatar_id":"","url":"https://api.github.com/users/swift-nav","html_url":"https://github.com/swift-nav","followers_url":"https://api.github.com/users/swift-nav/followers","following_url":"https://api.github.com/users/swift-nav/following{/other_user}","gists_url":"https://api.github.com/users/swift-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-nav/subscriptions","organizations_url":"https://api.github.com/users/swift-nav/orgs","repos_url":"https://api.github.com/users/swift-nav/repos","events_url":"https://api.github.com/users/swift-nav/events{/privacy}","received_events_url":"https://api.github.com/users/swift-nav/received_events","type":"Organization","site_admin":false},"repo":{"id":26985599,"name":"libsbp","full_name":"swift-nav/libsbp","owner":{"login":"swift-nav","id":1069835,"avatar_url":"https://avatars.githubusercontent.com/u/1069835?v=3","gravatar_id":"","url":"https://api.github.com/users/swift-nav","html_url":"https://github.com/swift-nav","followers_url":"https://api.github.com/users/swift-nav/followers","following_url":"https://api.github.com/users/swift-nav/following{/other_user}","gists_url":"https://api.github.com/users/swift-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-nav/subscriptions","organizations_url":"https://api.github.com/users/swift-nav/orgs","repos_url":"https://api.github.com/users/swift-nav/repos","events_url":"https://api.github.com/users/swift-nav/events{/privacy}","received_events_url":"https://api.github.com/users/swift-nav/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swift-nav/libsbp","description":"Swift Binary Protocol client libraries","fork":false,"url":"https://api.github.com/repos/swift-nav/libsbp","forks_url":"https://api.github.com/repos/swift-nav/libsbp/forks","keys_url":"https://api.github.com/repos/swift-nav/libsbp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swift-nav/libsbp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swift-nav/libsbp/teams","hooks_url":"https://api.github.com/repos/swift-nav/libsbp/hooks","issue_events_url":"https://api.github.com/repos/swift-nav/libsbp/issues/events{/number}","events_url":"https://api.github.com/repos/swift-nav/libsbp/events","assignees_url":"https://api.github.com/repos/swift-nav/libsbp/assignees{/user}","branches_url":"https://api.github.com/repos/swift-nav/libsbp/branches{/branch}","tags_url":"https://api.github.com/repos/swift-nav/libsbp/tags","blobs_url":"https://api.github.com/repos/swift-nav/libsbp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swift-nav/libsbp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swift-nav/libsbp/git/refs{/sha}","trees_url":"https://api.github.com/repos/swift-nav/libsbp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swift-nav/libsbp/statuses/{sha}","languages_url":"https://api.github.com/repos/swift-nav/libsbp/languages","stargazers_url":"https://api.github.com/repos/swift-nav/libsbp/stargazers","contributors_url":"https://api.github.com/repos/swift-nav/libsbp/contributors","subscribers_url":"https://api.github.com/repos/swift-nav/libsbp/subscribers","subscription_url":"https://api.github.com/repos/swift-nav/libsbp/subscription","commits_url":"https://api.github.com/repos/swift-nav/libsbp/commits{/sha}","git_commits_url":"https://api.github.com/repos/swift-nav/libsbp/git/commits{/sha}","comments_url":"https://api.github.com/repos/swift-nav/libsbp/comments{/number}","issue_comment_url":"https://api.github.com/repos/swift-nav/libsbp/issues/comments{/number}","contents_url":"https://api.github.com/repos/swift-nav/libsbp/contents/{+path}","compare_url":"https://api.github.com/repos/swift-nav/libsbp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swift-nav/libsbp/merges","archive_url":"https://api.github.com/repos/swift-nav/libsbp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swift-nav/libsbp/downloads","issues_url":"https://api.github.com/repos/swift-nav/libsbp/issues{/number}","pulls_url":"https://api.github.com/repos/swift-nav/libsbp/pulls{/number}","milestones_url":"https://api.github.com/repos/swift-nav/libsbp/milestones{/number}","notifications_url":"https://api.github.com/repos/swift-nav/libsbp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swift-nav/libsbp/labels{/name}","releases_url":"https://api.github.com/repos/swift-nav/libsbp/releases{/id}","created_at":"2014-11-22T02:02:43Z","updated_at":"2015-10-30T00:23:05Z","pushed_at":"2015-11-05T19:06:29Z","git_url":"git://github.com/swift-nav/libsbp.git","ssh_url":"git@github.com:swift-nav/libsbp.git","clone_url":"https://github.com/swift-nav/libsbp.git","svn_url":"https://github.com/swift-nav/libsbp","homepage":"","size":7337,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":40,"forks":21,"open_issues":40,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swift-nav/libsbp/pulls/283"},"html":{"href":"https://github.com/swift-nav/libsbp/pull/283"},"issue":{"href":"https://api.github.com/repos/swift-nav/libsbp/issues/283"},"comments":{"href":"https://api.github.com/repos/swift-nav/libsbp/issues/283/comments"},"review_comments":{"href":"https://api.github.com/repos/swift-nav/libsbp/pulls/283/comments"},"review_comment":{"href":"https://api.github.com/repos/swift-nav/libsbp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swift-nav/libsbp/pulls/283/commits"},"statuses":{"href":"https://api.github.com/repos/swift-nav/libsbp/statuses/1649715404a09aad4d87ff46d7e753d1beaac20b"}}}}