{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/31114754","id":31114754,"diff_hunk":"@@ -235,6 +235,20 @@ void ng_at86rf2xx_set_txpower(ng_at86rf2xx_t *dev, int16_t txpower)\n #endif\n }\n \n+uint8_t ng_at86rf2xx_get_max_retries(ng_at86rf2xx_t *dev)\n+{\n+    return (ng_at86rf2xx_reg_read(dev, NG_AT86RF2XX_REG__XAH_CTRL_0) >> 4);\n+}\n+\n+void ng_at86rf2xx_set_max_retries(ng_at86rf2xx_t *dev, uint8_t max)\n+{\n+    max = (max > 7) ? 7 : max;\n+    uint8_t tmp = ng_at86rf2xx_reg_read(dev, NG_AT86RF2XX_REG__XAH_CTRL_0);\n+    tmp = (tmp & (NG_AT86RF2XX_XAH_CTRL_0__MAX_CSMA_RETRIES |","path":"drivers/ng_at86rf2xx/ng_at86rf2xx_getset.c","position":22,"original_position":22,"commit_id":"52d7f515a786ee938dde4b3ff6a26db86d1e73e2","original_commit_id":"52d7f515a786ee938dde4b3ff6a26db86d1e73e2","user":{"login":"bapclenet","id":4921425,"avatar_url":"https://avatars.githubusercontent.com/u/4921425?v=3","gravatar_id":"","url":"https://api.github.com/users/bapclenet","html_url":"https://github.com/bapclenet","followers_url":"https://api.github.com/users/bapclenet/followers","following_url":"https://api.github.com/users/bapclenet/following{/other_user}","gists_url":"https://api.github.com/users/bapclenet/gists{/gist_id}","starred_url":"https://api.github.com/users/bapclenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bapclenet/subscriptions","organizations_url":"https://api.github.com/users/bapclenet/orgs","repos_url":"https://api.github.com/users/bapclenet/repos","events_url":"https://api.github.com/users/bapclenet/events{/privacy}","received_events_url":"https://api.github.com/users/bapclenet/received_events","type":"User","site_admin":false},"body":"In ``RIOT/drivers/ng_at86rf2xx/ng_at86rf2xx_getset.c`` (l249):\r\n>            case NG_AT86RF2XX_OPT_CSMA:\r\n                DEBUG(\"[ng_at86rf2xx] opt: enabling CSMA mode (NOT IMPLEMENTED)\\n\");\r\n                /* TODO: en/disable csma */\r\n                break;\r\nThen this is just the get/set functions which are not implemented?\r\n","created_at":"2015-05-27T09:03:02Z","updated_at":"2015-05-27T09:03:02Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/3025#discussion_r31114754","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3025","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/31114754"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/3025#discussion_r31114754"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3025"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3025","id":35666743,"html_url":"https://github.com/RIOT-OS/RIOT/pull/3025","diff_url":"https://github.com/RIOT-OS/RIOT/pull/3025.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/3025.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3025","number":3025,"state":"open","locked":false,"title":"netconf: at86rf231: configure maximum retransmits","user":{"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},"body":"To test this enable RX start IRQs, e.g. on IoT-LAB_M3 and set `ENABLE_DEBUG` to `1` in `drivers/ng_at86rf2xx/ng_at86rf2xx_netdev.c`:\r\n```C\r\n     bool rx_irq = true;\r\n     uint8_t retries = 0;\r\n\r\n     ng_netapi_set(*if_id, NETCONF_OPT_RX_START_IRQ, 0, &rx_irq, sizeof(bool));\r\n     ng_netapi_set(*if_id, NETCONF_OPT_RETRANS, 0, &retries, sizeof(uint8_t));\r\n```\r\n\r\nDepending on `retries` you should see several number of debug messages on the receiving node, if you use `txtsnd` with a incorrect destination address.","created_at":"2015-05-18T19:45:24Z","updated_at":"2015-05-27T09:03:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa591017d3b72aecf864dca297627858177df87e","assignee":{"login":"PeterKietzmann","id":7765855,"avatar_url":"https://avatars.githubusercontent.com/u/7765855?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3025/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3025/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/3025/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/52d7f515a786ee938dde4b3ff6a26db86d1e73e2","head":{"label":"OlegHahm:netconf_retransmit","ref":"netconf_retransmit","sha":"52d7f515a786ee938dde4b3ff6a26db86d1e73e2","user":{"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},"repo":{"id":10973192,"name":"RIOT","full_name":"OlegHahm/RIOT","owner":{"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},"private":false,"html_url":"https://github.com/OlegHahm/RIOT","description":"RIOT OS -  The ridiculous OS for the IoT","fork":true,"url":"https://api.github.com/repos/OlegHahm/RIOT","forks_url":"https://api.github.com/repos/OlegHahm/RIOT/forks","keys_url":"https://api.github.com/repos/OlegHahm/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OlegHahm/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OlegHahm/RIOT/teams","hooks_url":"https://api.github.com/repos/OlegHahm/RIOT/hooks","issue_events_url":"https://api.github.com/repos/OlegHahm/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/OlegHahm/RIOT/events","assignees_url":"https://api.github.com/repos/OlegHahm/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/OlegHahm/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/OlegHahm/RIOT/tags","blobs_url":"https://api.github.com/repos/OlegHahm/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OlegHahm/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OlegHahm/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/OlegHahm/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OlegHahm/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/OlegHahm/RIOT/languages","stargazers_url":"https://api.github.com/repos/OlegHahm/RIOT/stargazers","contributors_url":"https://api.github.com/repos/OlegHahm/RIOT/contributors","subscribers_url":"https://api.github.com/repos/OlegHahm/RIOT/subscribers","subscription_url":"https://api.github.com/repos/OlegHahm/RIOT/subscription","commits_url":"https://api.github.com/repos/OlegHahm/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/OlegHahm/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/OlegHahm/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/OlegHahm/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/OlegHahm/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/OlegHahm/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OlegHahm/RIOT/merges","archive_url":"https://api.github.com/repos/OlegHahm/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OlegHahm/RIOT/downloads","issues_url":"https://api.github.com/repos/OlegHahm/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/OlegHahm/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/OlegHahm/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/OlegHahm/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OlegHahm/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/OlegHahm/RIOT/releases{/id}","created_at":"2013-06-26T16:32:09Z","updated_at":"2015-05-21T21:29:09Z","pushed_at":"2015-05-27T09:01:40Z","git_url":"git://github.com/OlegHahm/RIOT.git","ssh_url":"git@github.com:OlegHahm/RIOT.git","clone_url":"https://github.com/OlegHahm/RIOT.git","svn_url":"https://github.com/OlegHahm/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":20293,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"b3e78ddc33dcd0c885c4082a246f5de8af6e5c07","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-05-26T23:50:58Z","pushed_at":"2015-05-27T09:01:41Z","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":124080,"stargazers_count":396,"watchers_count":396,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":301,"mirror_url":null,"open_issues_count":320,"forks":301,"open_issues":320,"watchers":396,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3025"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/3025"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3025"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3025/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3025/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/3025/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/52d7f515a786ee938dde4b3ff6a26db86d1e73e2"}}}}