{"action":"created","comment":{"url":"https://api.github.com/repos/openthread/openthread/pulls/comments/76909663","id":76909663,"diff_hunk":"@@ -1624,6 +1624,15 @@ Note that some implementations may not support `CMD_GET_VALUE`\n routerids, but may support `CMD_REMOVE_VALUE` when the node is\n a leader.\n \n+#### D.4.22. PROP 5382: `PROP_THREAD_RLOC16_DEBUG_PASSTHRU`","path":"src/ncp/PROTOCOL.md","position":4,"original_position":4,"commit_id":"8bc4b1d7a29537772f1450feea97c0acae71b6b1","original_commit_id":"7cfc16e3f1840b1cd47a70dcef1864eb2a7c0021","user":{"login":"turon","id":77641,"avatar_url":"https://avatars.githubusercontent.com/u/77641?v=3","gravatar_id":"","url":"https://api.github.com/users/turon","html_url":"https://github.com/turon","followers_url":"https://api.github.com/users/turon/followers","following_url":"https://api.github.com/users/turon/following{/other_user}","gists_url":"https://api.github.com/users/turon/gists{/gist_id}","starred_url":"https://api.github.com/users/turon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turon/subscriptions","organizations_url":"https://api.github.com/users/turon/orgs","repos_url":"https://api.github.com/users/turon/repos","events_url":"https://api.github.com/users/turon/events{/privacy}","received_events_url":"https://api.github.com/users/turon/received_events","type":"User","site_admin":false},"body":"Ok, done in this PR: https://github.com/openthread/openthread/pull/493","created_at":"2016-08-31T01:20:43Z","updated_at":"2016-08-31T01:20:43Z","html_url":"https://github.com/openthread/openthread/pull/364#discussion_r76909663","pull_request_url":"https://api.github.com/repos/openthread/openthread/pulls/364","_links":{"self":{"href":"https://api.github.com/repos/openthread/openthread/pulls/comments/76909663"},"html":{"href":"https://github.com/openthread/openthread/pull/364#discussion_r76909663"},"pull_request":{"href":"https://api.github.com/repos/openthread/openthread/pulls/364"}}},"pull_request":{"url":"https://api.github.com/repos/openthread/openthread/pulls/364","id":81044926,"html_url":"https://github.com/openthread/openthread/pull/364","diff_url":"https://github.com/openthread/openthread/pull/364.diff","patch_url":"https://github.com/openthread/openthread/pull/364.patch","issue_url":"https://api.github.com/repos/openthread/openthread/issues/364","number":364,"state":"open","locked":false,"title":"spinel-cli: Add NCP build to TravisCI","user":{"login":"turon","id":77641,"avatar_url":"https://avatars.githubusercontent.com/u/77641?v=3","gravatar_id":"","url":"https://api.github.com/users/turon","html_url":"https://github.com/turon","followers_url":"https://api.github.com/users/turon/followers","following_url":"https://api.github.com/users/turon/following{/other_user}","gists_url":"https://api.github.com/users/turon/gists{/gist_id}","starred_url":"https://api.github.com/users/turon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turon/subscriptions","organizations_url":"https://api.github.com/users/turon/orgs","repos_url":"https://api.github.com/users/turon/repos","events_url":"https://api.github.com/users/turon/events{/privacy}","received_events_url":"https://api.github.com/users/turon/received_events","type":"User","site_admin":false},"body":"This PR adds a command line tool, named spinel-cli, that converts ot-cli shell commands (as documented in https://github.com/openthread/openthread/blob/master/src/cli/README.md) to spinel NCP commands (as documented in https://github.com/openthread/openthread/blob/master/src/ncp/PROTOCOL.md).  \r\n\r\nAlso added is a patch to node.py that provides a way to run the existing continuous integration certification test suite against an NCP build rather than a CLI build (by prefacing the command to start the test with the environment variable setting `NODE_TYPE=ncp-sim`):\r\n\r\n```\r\ncd tests/scripts/thread-cert\r\nNODE_TYPE=ncp-sim top_builddir=../../.. python Cert_5_1_02_ChildAddressTimeout.py \r\n```\r\n\r\nThe power of this tool is three fold: \r\n1) As a path to add testing of the NCP in simulation to continuous integration\r\n2) As a path to automated testing of testbeds running NCP firmware on hardware\r\n3) As a simple debugging tool for NCP builds of OpenThread\r\n\r\n```\r\nopenthread$ cd tools/spinel-cli/\r\nspinel-cli$ ./spinel-cli.py\r\nOpening pipe to ../../examples/apps/ncp/ot-ncp 1\r\nspinel-cli > help\r\n\r\nAvailable commands (type help <name> for more information):\r\n============================================================\r\nchannel            extaddr       mode              route                 \r\nchild              extpanid      netdataregister   router                \r\nchildtimeout       h             networkidtimeout  routerupgradethreshold\r\nclear              help          networkname       scan                  \r\ncontextreusedelay  history       panid             state                 \r\ncounter            ifconfig      ping              thread                \r\ndebug              ipaddr        prefix            v                     \r\ndebug-term         keysequence   q                 version               \r\neidcache           leaderdata    quit              whitelist             \r\nenabled            leaderweight  releaserouterid \r\nexit               masterkey     rloc16          \r\n\r\nspinel-cli > version\r\nOPENTHREAD/gd4d4e9d-dirty; Aug 11 2016 14:40:44\r\nDone\r\nspinel-cli > thread start\r\nDone\r\nspinel-cli > state\r\nleader\r\nDone\r\nspinel-cli > \r\n```\r\n\r\nThe tool provides three ways to connect to an NCP image:\r\n   1) pipe to stdin/stdout of a command line tool (default): -p ./ot-ncp\r\n   2) serial connection to a hardware device: -u /dev/ttyUSB0\r\n   3) socket connection to the port of a helper tool such as ncp-spi-driver: -s 1234 \r\n\r\n```\r\nspinel-cli$ ./spinel-cli.py --help\r\nOptions:\r\n  -h, --help            show this help message and exit\r\n  -u UART, --uart=UART  \r\n  -p PIPE, --pipe=PIPE  \r\n  -s SOCKET, --socket=SOCKET\r\n  -n NODEID, --nodeid=NODEID\r\n  -q, --quiet           \r\n  -v, --verbose         \r\n```\r\n\r\nThis is currently a work-in-progress, but there is enough up and running to let folks take an early look.","created_at":"2016-08-11T22:56:45Z","updated_at":"2016-08-31T01:20:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5a78dd67f6f6655d943293afeb6e02bf85b328d","assignee":{"login":"turon","id":77641,"avatar_url":"https://avatars.githubusercontent.com/u/77641?v=3","gravatar_id":"","url":"https://api.github.com/users/turon","html_url":"https://github.com/turon","followers_url":"https://api.github.com/users/turon/followers","following_url":"https://api.github.com/users/turon/following{/other_user}","gists_url":"https://api.github.com/users/turon/gists{/gist_id}","starred_url":"https://api.github.com/users/turon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turon/subscriptions","organizations_url":"https://api.github.com/users/turon/orgs","repos_url":"https://api.github.com/users/turon/repos","events_url":"https://api.github.com/users/turon/events{/privacy}","received_events_url":"https://api.github.com/users/turon/received_events","type":"User","site_admin":false},"assignees":[{"login":"turon","id":77641,"avatar_url":"https://avatars.githubusercontent.com/u/77641?v=3","gravatar_id":"","url":"https://api.github.com/users/turon","html_url":"https://github.com/turon","followers_url":"https://api.github.com/users/turon/followers","following_url":"https://api.github.com/users/turon/following{/other_user}","gists_url":"https://api.github.com/users/turon/gists{/gist_id}","starred_url":"https://api.github.com/users/turon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turon/subscriptions","organizations_url":"https://api.github.com/users/turon/orgs","repos_url":"https://api.github.com/users/turon/repos","events_url":"https://api.github.com/users/turon/events{/privacy}","received_events_url":"https://api.github.com/users/turon/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openthread/openthread/pulls/364/commits","review_comments_url":"https://api.github.com/repos/openthread/openthread/pulls/364/comments","review_comment_url":"https://api.github.com/repos/openthread/openthread/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openthread/openthread/issues/364/comments","statuses_url":"https://api.github.com/repos/openthread/openthread/statuses/8bc4b1d7a29537772f1450feea97c0acae71b6b1","head":{"label":"turon:feature/test/ncp","ref":"feature/test/ncp","sha":"8bc4b1d7a29537772f1450feea97c0acae71b6b1","user":{"login":"turon","id":77641,"avatar_url":"https://avatars.githubusercontent.com/u/77641?v=3","gravatar_id":"","url":"https://api.github.com/users/turon","html_url":"https://github.com/turon","followers_url":"https://api.github.com/users/turon/followers","following_url":"https://api.github.com/users/turon/following{/other_user}","gists_url":"https://api.github.com/users/turon/gists{/gist_id}","starred_url":"https://api.github.com/users/turon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turon/subscriptions","organizations_url":"https://api.github.com/users/turon/orgs","repos_url":"https://api.github.com/users/turon/repos","events_url":"https://api.github.com/users/turon/events{/privacy}","received_events_url":"https://api.github.com/users/turon/received_events","type":"User","site_admin":false},"repo":{"id":58574892,"name":"openthread","full_name":"turon/openthread","owner":{"login":"turon","id":77641,"avatar_url":"https://avatars.githubusercontent.com/u/77641?v=3","gravatar_id":"","url":"https://api.github.com/users/turon","html_url":"https://github.com/turon","followers_url":"https://api.github.com/users/turon/followers","following_url":"https://api.github.com/users/turon/following{/other_user}","gists_url":"https://api.github.com/users/turon/gists{/gist_id}","starred_url":"https://api.github.com/users/turon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turon/subscriptions","organizations_url":"https://api.github.com/users/turon/orgs","repos_url":"https://api.github.com/users/turon/repos","events_url":"https://api.github.com/users/turon/events{/privacy}","received_events_url":"https://api.github.com/users/turon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/turon/openthread","description":"OpenThread is an open-source implementation of the Thread networking protocol","fork":true,"url":"https://api.github.com/repos/turon/openthread","forks_url":"https://api.github.com/repos/turon/openthread/forks","keys_url":"https://api.github.com/repos/turon/openthread/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turon/openthread/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turon/openthread/teams","hooks_url":"https://api.github.com/repos/turon/openthread/hooks","issue_events_url":"https://api.github.com/repos/turon/openthread/issues/events{/number}","events_url":"https://api.github.com/repos/turon/openthread/events","assignees_url":"https://api.github.com/repos/turon/openthread/assignees{/user}","branches_url":"https://api.github.com/repos/turon/openthread/branches{/branch}","tags_url":"https://api.github.com/repos/turon/openthread/tags","blobs_url":"https://api.github.com/repos/turon/openthread/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turon/openthread/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turon/openthread/git/refs{/sha}","trees_url":"https://api.github.com/repos/turon/openthread/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turon/openthread/statuses/{sha}","languages_url":"https://api.github.com/repos/turon/openthread/languages","stargazers_url":"https://api.github.com/repos/turon/openthread/stargazers","contributors_url":"https://api.github.com/repos/turon/openthread/contributors","subscribers_url":"https://api.github.com/repos/turon/openthread/subscribers","subscription_url":"https://api.github.com/repos/turon/openthread/subscription","commits_url":"https://api.github.com/repos/turon/openthread/commits{/sha}","git_commits_url":"https://api.github.com/repos/turon/openthread/git/commits{/sha}","comments_url":"https://api.github.com/repos/turon/openthread/comments{/number}","issue_comment_url":"https://api.github.com/repos/turon/openthread/issues/comments{/number}","contents_url":"https://api.github.com/repos/turon/openthread/contents/{+path}","compare_url":"https://api.github.com/repos/turon/openthread/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turon/openthread/merges","archive_url":"https://api.github.com/repos/turon/openthread/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turon/openthread/downloads","issues_url":"https://api.github.com/repos/turon/openthread/issues{/number}","pulls_url":"https://api.github.com/repos/turon/openthread/pulls{/number}","milestones_url":"https://api.github.com/repos/turon/openthread/milestones{/number}","notifications_url":"https://api.github.com/repos/turon/openthread/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turon/openthread/labels{/name}","releases_url":"https://api.github.com/repos/turon/openthread/releases{/id}","deployments_url":"https://api.github.com/repos/turon/openthread/deployments","created_at":"2016-05-11T19:35:10Z","updated_at":"2016-05-11T19:35:12Z","pushed_at":"2016-08-30T20:25:44Z","git_url":"git://github.com/turon/openthread.git","ssh_url":"git@github.com:turon/openthread.git","clone_url":"https://github.com/turon/openthread.git","svn_url":"https://github.com/turon/openthread","homepage":"","size":92295,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openthread:master","ref":"master","sha":"0066be4c184e725472c4cbcba5c82daf6a73b99c","user":{"login":"openthread","id":16142269,"avatar_url":"https://avatars.githubusercontent.com/u/16142269?v=3","gravatar_id":"","url":"https://api.github.com/users/openthread","html_url":"https://github.com/openthread","followers_url":"https://api.github.com/users/openthread/followers","following_url":"https://api.github.com/users/openthread/following{/other_user}","gists_url":"https://api.github.com/users/openthread/gists{/gist_id}","starred_url":"https://api.github.com/users/openthread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openthread/subscriptions","organizations_url":"https://api.github.com/users/openthread/orgs","repos_url":"https://api.github.com/users/openthread/repos","events_url":"https://api.github.com/users/openthread/events{/privacy}","received_events_url":"https://api.github.com/users/openthread/received_events","type":"Organization","site_admin":false},"repo":{"id":55808787,"name":"openthread","full_name":"openthread/openthread","owner":{"login":"openthread","id":16142269,"avatar_url":"https://avatars.githubusercontent.com/u/16142269?v=3","gravatar_id":"","url":"https://api.github.com/users/openthread","html_url":"https://github.com/openthread","followers_url":"https://api.github.com/users/openthread/followers","following_url":"https://api.github.com/users/openthread/following{/other_user}","gists_url":"https://api.github.com/users/openthread/gists{/gist_id}","starred_url":"https://api.github.com/users/openthread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openthread/subscriptions","organizations_url":"https://api.github.com/users/openthread/orgs","repos_url":"https://api.github.com/users/openthread/repos","events_url":"https://api.github.com/users/openthread/events{/privacy}","received_events_url":"https://api.github.com/users/openthread/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openthread/openthread","description":"OpenThread released by Nest is an open-source implementation of the Thread networking protocol","fork":false,"url":"https://api.github.com/repos/openthread/openthread","forks_url":"https://api.github.com/repos/openthread/openthread/forks","keys_url":"https://api.github.com/repos/openthread/openthread/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openthread/openthread/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openthread/openthread/teams","hooks_url":"https://api.github.com/repos/openthread/openthread/hooks","issue_events_url":"https://api.github.com/repos/openthread/openthread/issues/events{/number}","events_url":"https://api.github.com/repos/openthread/openthread/events","assignees_url":"https://api.github.com/repos/openthread/openthread/assignees{/user}","branches_url":"https://api.github.com/repos/openthread/openthread/branches{/branch}","tags_url":"https://api.github.com/repos/openthread/openthread/tags","blobs_url":"https://api.github.com/repos/openthread/openthread/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openthread/openthread/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openthread/openthread/git/refs{/sha}","trees_url":"https://api.github.com/repos/openthread/openthread/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openthread/openthread/statuses/{sha}","languages_url":"https://api.github.com/repos/openthread/openthread/languages","stargazers_url":"https://api.github.com/repos/openthread/openthread/stargazers","contributors_url":"https://api.github.com/repos/openthread/openthread/contributors","subscribers_url":"https://api.github.com/repos/openthread/openthread/subscribers","subscription_url":"https://api.github.com/repos/openthread/openthread/subscription","commits_url":"https://api.github.com/repos/openthread/openthread/commits{/sha}","git_commits_url":"https://api.github.com/repos/openthread/openthread/git/commits{/sha}","comments_url":"https://api.github.com/repos/openthread/openthread/comments{/number}","issue_comment_url":"https://api.github.com/repos/openthread/openthread/issues/comments{/number}","contents_url":"https://api.github.com/repos/openthread/openthread/contents/{+path}","compare_url":"https://api.github.com/repos/openthread/openthread/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openthread/openthread/merges","archive_url":"https://api.github.com/repos/openthread/openthread/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openthread/openthread/downloads","issues_url":"https://api.github.com/repos/openthread/openthread/issues{/number}","pulls_url":"https://api.github.com/repos/openthread/openthread/pulls{/number}","milestones_url":"https://api.github.com/repos/openthread/openthread/milestones{/number}","notifications_url":"https://api.github.com/repos/openthread/openthread/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openthread/openthread/labels{/name}","releases_url":"https://api.github.com/repos/openthread/openthread/releases{/id}","deployments_url":"https://api.github.com/repos/openthread/openthread/deployments","created_at":"2016-04-08T20:47:41Z","updated_at":"2016-08-30T20:09:50Z","pushed_at":"2016-08-31T00:57:01Z","git_url":"git://github.com/openthread/openthread.git","ssh_url":"git@github.com:openthread/openthread.git","clone_url":"https://github.com/openthread/openthread.git","svn_url":"https://github.com/openthread/openthread","homepage":"","size":272852,"stargazers_count":965,"watchers_count":965,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":200,"mirror_url":null,"open_issues_count":44,"forks":200,"open_issues":44,"watchers":965,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openthread/openthread/pulls/364"},"html":{"href":"https://github.com/openthread/openthread/pull/364"},"issue":{"href":"https://api.github.com/repos/openthread/openthread/issues/364"},"comments":{"href":"https://api.github.com/repos/openthread/openthread/issues/364/comments"},"review_comments":{"href":"https://api.github.com/repos/openthread/openthread/pulls/364/comments"},"review_comment":{"href":"https://api.github.com/repos/openthread/openthread/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openthread/openthread/pulls/364/commits"},"statuses":{"href":"https://api.github.com/repos/openthread/openthread/statuses/8bc4b1d7a29537772f1450feea97c0acae71b6b1"}}}}
{"actor":{"display_login":"turon"}}