GitHub PullRequestEvent at 2014-01-09 20:20:33
Repository: liblwm2m
Actor: tobyjaffey
Payload: {"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/01org/liblwm2m/pulls/11","id":11376347,"html_url":"https://github.com/01org/liblwm2m/pull/11","diff_url":"https://github.com/01org/liblwm2m/pull/11.diff","patch_url":"https://github.com/01org/liblwm2m/pull/11.patch","issue_url":"https://github.com/01org/liblwm2m/pull/11","number":11,"state":"open","title":"Remove all network I/O from core","user":{"login":"tobyjaffey","id":281908,"avatar_url":"https://gravatar.com/avatar/6941f1a5205f666ee73b0a0986569a09?d=https%3A%2F%2Fidenticons.github.com%2F68933243e0d34259adc5dc7243a364a4.png&r=x","gravatar_id":"6941f1a5205f666ee73b0a0986569a09","url":"https://api.github.com/users/tobyjaffey","html_url":"https://github.com/tobyjaffey","followers_url":"https://api.github.com/users/tobyjaffey/followers","following_url":"https://api.github.com/users/tobyjaffey/following{/other_user}","gists_url":"https://api.github.com/users/tobyjaffey/gists{/gist_id}","starred_url":"https://api.github.com/users/tobyjaffey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobyjaffey/subscriptions","organizations_url":"https://api.github.com/users/tobyjaffey/orgs","repos_url":"https://api.github.com/users/tobyjaffey/repos","events_url":"https://api.github.com/users/tobyjaffey/events{/privacy}","received_events_url":"https://api.github.com/users/tobyjaffey/received_events","type":"User","site_admin":false},"body":"Currently, liblwm2m has the bulk of the network I/O in the application (select loop, socket creation, packet receive). But, DNS and packet transmission are still handled by the core.\r\n\r\nThese patches remove the remaining network functions from the core and remove the reliance on BSD socket headers.\r\n\r\nThe core handles three opaque variables for each connection:\r\n        int socket, an identifier for the transport, never dereferenced by core\r\n        uint8_t *addr + size_t addrLen, an opaque buffer used by the the application to identify a destination (this could be a struct sockaddr/socklen pair, or something entirely different like a telephone number for SMS).\r\n\r\nHopefully, it will now be easier to use liblwm2m on embedded targets without BSD sockets and to bind to high level languages which want to handle socket juggling themselves.\r\n\r\nAdding DTLS between core and the network layer may be more straighforward also.","created_at":"2014-01-09T20:20:33Z","updated_at":"2014-01-09T20:20:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://github.com/01org/liblwm2m/pull/11/commits","review_comments_url":"https://github.com/01org/liblwm2m/pull/11/comments","review_comment_url":"/repos/01org/liblwm2m/pulls/comments/{number}","comments_url":"https://api.github.com/repos/01org/liblwm2m/issues/11/comments","statuses_url":"https://api.github.com/repos/01org/liblwm2m/statuses/41e794cefff10fbc9e33c3279f48eb31af6b15db","head":{"label":"1248:master","ref":"master","sha":"41e794cefff10fbc9e33c3279f48eb31af6b15db","user":{"login":"1248","id":4764384,"avatar_url":"https://gravatar.com/avatar/3775e07cc9d317cbac6af0d3f8c9f70b?d=https%3A%2F%2Fidenticons.github.com%2F89f0c715ea6e704fcbdee72aaf11a108.png&r=x","gravatar_id":"3775e07cc9d317cbac6af0d3f8c9f70b","url":"https://api.github.com/users/1248","html_url":"https://github.com/1248","followers_url":"https://api.github.com/users/1248/followers","following_url":"https://api.github.com/users/1248/following{/other_user}","gists_url":"https://api.github.com/users/1248/gists{/gist_id}","starred_url":"https://api.github.com/users/1248/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1248/subscriptions","organizations_url":"https://api.github.com/users/1248/orgs","repos_url":"https://api.github.com/users/1248/repos","events_url":"https://api.github.com/users/1248/events{/privacy}","received_events_url":"https://api.github.com/users/1248/received_events","type":"Organization","site_admin":false},"repo":{"id":15778051,"name":"liblwm2m","full_name":"1248/liblwm2m","owner":{"login":"1248","id":4764384,"avatar_url":"https://gravatar.com/avatar/3775e07cc9d317cbac6af0d3f8c9f70b?d=https%3A%2F%2Fidenticons.github.com%2F89f0c715ea6e704fcbdee72aaf11a108.png&r=x","gravatar_id":"3775e07cc9d317cbac6af0d3f8c9f70b","url":"https://api.github.com/users/1248","html_url":"https://github.com/1248","followers_url":"https://api.github.com/users/1248/followers","following_url":"https://api.github.com/users/1248/following{/other_user}","gists_url":"https://api.github.com/users/1248/gists{/gist_id}","starred_url":"https://api.github.com/users/1248/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1248/subscriptions","organizations_url":"https://api.github.com/users/1248/orgs","repos_url":"https://api.github.com/users/1248/repos","events_url":"https://api.github.com/users/1248/events{/privacy}","received_events_url":"https://api.github.com/users/1248/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/1248/liblwm2m","description":"liblwm2m is an implementation of the LWM2M protocol from the Open Mobile Alliance.","fork":true,"url":"https://api.github.com/repos/1248/liblwm2m","forks_url":"https://api.github.com/repos/1248/liblwm2m/forks","keys_url":"https://api.github.com/repos/1248/liblwm2m/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1248/liblwm2m/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1248/liblwm2m/teams","hooks_url":"https://api.github.com/repos/1248/liblwm2m/hooks","issue_events_url":"https://api.github.com/repos/1248/liblwm2m/issues/events{/number}","events_url":"https://api.github.com/repos/1248/liblwm2m/events","assignees_url":"https://api.github.com/repos/1248/liblwm2m/assignees{/user}","branches_url":"https://api.github.com/repos/1248/liblwm2m/branches{/branch}","tags_url":"https://api.github.com/repos/1248/liblwm2m/tags","blobs_url":"https://api.github.com/repos/1248/liblwm2m/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1248/liblwm2m/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1248/liblwm2m/git/refs{/sha}","trees_url":"https://api.github.com/repos/1248/liblwm2m/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1248/liblwm2m/statuses/{sha}","languages_url":"https://api.github.com/repos/1248/liblwm2m/languages","stargazers_url":"https://api.github.com/repos/1248/liblwm2m/stargazers","contributors_url":"https://api.github.com/repos/1248/liblwm2m/contributors","subscribers_url":"https://api.github.com/repos/1248/liblwm2m/subscribers","subscription_url":"https://api.github.com/repos/1248/liblwm2m/subscription","commits_url":"https://api.github.com/repos/1248/liblwm2m/commits{/sha}","git_commits_url":"https://api.github.com/repos/1248/liblwm2m/git/commits{/sha}","comments_url":"https://api.github.com/repos/1248/liblwm2m/comments{/number}","issue_comment_url":"https://api.github.com/repos/1248/liblwm2m/issues/comments/{number}","contents_url":"https://api.github.com/repos/1248/liblwm2m/contents/{+path}","compare_url":"https://api.github.com/repos/1248/liblwm2m/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1248/liblwm2m/merges","archive_url":"https://api.github.com/repos/1248/liblwm2m/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1248/liblwm2m/downloads","issues_url":"https://api.github.com/repos/1248/liblwm2m/issues{/number}","pulls_url":"https://api.github.com/repos/1248/liblwm2m/pulls{/number}","milestones_url":"https://api.github.com/repos/1248/liblwm2m/milestones{/number}","notifications_url":"https://api.github.com/repos/1248/liblwm2m/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1248/liblwm2m/labels{/name}","releases_url":"https://api.github.com/repos/1248/liblwm2m/releases{/id}","created_at":"2014-01-09T20:10:23Z","updated_at":"2014-01-09T20:20:33Z","pushed_at":"2014-01-09T20:12:09Z","git_url":"git://github.com/1248/liblwm2m.git","ssh_url":"git@github.com:1248/liblwm2m.git","clone_url":"https://github.com/1248/liblwm2m.git","svn_url":"https://github.com/1248/liblwm2m","homepage":"","size":537,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"01org:master","ref":"master","sha":"35e9156efb9a2ddea6a1a3900657c5e9ece45161","user":{"login":"01org","id":1635439,"avatar_url":"https://gravatar.com/avatar/94c4e2defce211a22897c555ff7ee1ad?d=https%3A%2F%2Fidenticons.github.com%2Fd990bbf1224e45b783937b0413f6de7c.png&r=x","gravatar_id":"94c4e2defce211a22897c555ff7ee1ad","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"repo":{"id":10407206,"name":"liblwm2m","full_name":"01org/liblwm2m","owner":{"login":"01org","id":1635439,"avatar_url":"https://gravatar.com/avatar/94c4e2defce211a22897c555ff7ee1ad?d=https%3A%2F%2Fidenticons.github.com%2Fd990bbf1224e45b783937b0413f6de7c.png&r=x","gravatar_id":"94c4e2defce211a22897c555ff7ee1ad","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/01org/liblwm2m","description":"liblwm2m is an implementation of the LWM2M protocol from the Open Mobile Alliance.","fork":false,"url":"https://api.github.com/repos/01org/liblwm2m","forks_url":"https://api.github.com/repos/01org/liblwm2m/forks","keys_url":"https://api.github.com/repos/01org/liblwm2m/keys{/key_id}","collaborators_url":"https://api.github.com/repos/01org/liblwm2m/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/01org/liblwm2m/teams","hooks_url":"https://api.github.com/repos/01org/liblwm2m/hooks","issue_events_url":"https://api.github.com/repos/01org/liblwm2m/issues/events{/number}","events_url":"https://api.github.com/repos/01org/liblwm2m/events","assignees_url":"https://api.github.com/repos/01org/liblwm2m/assignees{/user}","branches_url":"https://api.github.com/repos/01org/liblwm2m/branches{/branch}","tags_url":"https://api.github.com/repos/01org/liblwm2m/tags","blobs_url":"https://api.github.com/repos/01org/liblwm2m/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/01org/liblwm2m/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/01org/liblwm2m/git/refs{/sha}","trees_url":"https://api.github.com/repos/01org/liblwm2m/git/trees{/sha}","statuses_url":"https://api.github.com/repos/01org/liblwm2m/statuses/{sha}","languages_url":"https://api.github.com/repos/01org/liblwm2m/languages","stargazers_url":"https://api.github.com/repos/01org/liblwm2m/stargazers","contributors_url":"https://api.github.com/repos/01org/liblwm2m/contributors","subscribers_url":"https://api.github.com/repos/01org/liblwm2m/subscribers","subscription_url":"https://api.github.com/repos/01org/liblwm2m/subscription","commits_url":"https://api.github.com/repos/01org/liblwm2m/commits{/sha}","git_commits_url":"https://api.github.com/repos/01org/liblwm2m/git/commits{/sha}","comments_url":"https://api.github.com/repos/01org/liblwm2m/comments{/number}","issue_comment_url":"https://api.github.com/repos/01org/liblwm2m/issues/comments/{number}","contents_url":"https://api.github.com/repos/01org/liblwm2m/contents/{+path}","compare_url":"https://api.github.com/repos/01org/liblwm2m/compare/{base}...{head}","merges_url":"https://api.github.com/repos/01org/liblwm2m/merges","archive_url":"https://api.github.com/repos/01org/liblwm2m/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/01org/liblwm2m/downloads","issues_url":"https://api.github.com/repos/01org/liblwm2m/issues{/number}","pulls_url":"https://api.github.com/repos/01org/liblwm2m/pulls{/number}","milestones_url":"https://api.github.com/repos/01org/liblwm2m/milestones{/number}","notifications_url":"https://api.github.com/repos/01org/liblwm2m/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/01org/liblwm2m/labels{/name}","releases_url":"https://api.github.com/repos/01org/liblwm2m/releases{/id}","created_at":"2013-05-31T15:06:13Z","updated_at":"2013-12-03T14:13:40Z","pushed_at":"2013-12-03T14:13:38Z","git_url":"git://github.com/01org/liblwm2m.git","ssh_url":"git@github.com:01org/liblwm2m.git","clone_url":"https://github.com/01org/liblwm2m.git","svn_url":"https://github.com/01org/liblwm2m","homepage":"","size":537,"stargazers_count":9,"watchers_count":9,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":9,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/01org/liblwm2m/pulls/11"},"html":{"href":"https://github.com/01org/liblwm2m/pull/11"},"issue":{"href":"https://api.github.com/repos/01org/liblwm2m/issues/11"},"comments":{"href":"https://api.github.com/repos/01org/liblwm2m/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/01org/liblwm2m/pulls/11/comments"},"statuses":{"href":"https://api.github.com/repos/01org/liblwm2m/statuses/41e794cefff10fbc9e33c3279f48eb31af6b15db"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":176,"deletions":138,"changed_files":13}}