{"action":"opened","number":896,"pull_request":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/pulls/896","id":54905082,"html_url":"https://github.com/nodemcu/nodemcu-firmware/pull/896","diff_url":"https://github.com/nodemcu/nodemcu-firmware/pull/896.diff","patch_url":"https://github.com/nodemcu/nodemcu-firmware/pull/896.patch","issue_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/896","number":896,"state":"open","locked":false,"title":"Fix for node.dsleep to increase maximum sleep time","user":{"login":"dnc40085","id":10802652,"avatar_url":"https://avatars.githubusercontent.com/u/10802652?v=3","gravatar_id":"","url":"https://api.github.com/users/dnc40085","html_url":"https://github.com/dnc40085","followers_url":"https://api.github.com/users/dnc40085/followers","following_url":"https://api.github.com/users/dnc40085/following{/other_user}","gists_url":"https://api.github.com/users/dnc40085/gists{/gist_id}","starred_url":"https://api.github.com/users/dnc40085/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnc40085/subscriptions","organizations_url":"https://api.github.com/users/dnc40085/orgs","repos_url":"https://api.github.com/users/dnc40085/repos","events_url":"https://api.github.com/users/dnc40085/events{/privacy}","received_events_url":"https://api.github.com/users/dnc40085/received_events","type":"User","site_admin":false},"body":"`node.dsleep()` is currently using the type sint32 for the variable `us` to hold the sleep time, which limits maximum sleep time to 2,147,483,647 us(~35min).\r\nThis PR changes that variable's type to uint32 to match the type used in the SDK function `void system_deep_sleep(uint32 time_in_us)` increasing maximum sleep time to 4,294,967,295 us(~71 min)\r\n","created_at":"2016-01-02T11:48:02Z","updated_at":"2016-01-02T11:48:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/pulls/896/commits","review_comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/pulls/896/comments","review_comment_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/896/comments","statuses_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/statuses/cb0a982dc3aa08e9ed2b3934863d5e42351a399c","head":{"label":"dnc40085:dev_node_dsleep_fix","ref":"dev_node_dsleep_fix","sha":"cb0a982dc3aa08e9ed2b3934863d5e42351a399c","user":{"login":"dnc40085","id":10802652,"avatar_url":"https://avatars.githubusercontent.com/u/10802652?v=3","gravatar_id":"","url":"https://api.github.com/users/dnc40085","html_url":"https://github.com/dnc40085","followers_url":"https://api.github.com/users/dnc40085/followers","following_url":"https://api.github.com/users/dnc40085/following{/other_user}","gists_url":"https://api.github.com/users/dnc40085/gists{/gist_id}","starred_url":"https://api.github.com/users/dnc40085/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnc40085/subscriptions","organizations_url":"https://api.github.com/users/dnc40085/orgs","repos_url":"https://api.github.com/users/dnc40085/repos","events_url":"https://api.github.com/users/dnc40085/events{/privacy}","received_events_url":"https://api.github.com/users/dnc40085/received_events","type":"User","site_admin":false},"repo":{"id":34325093,"name":"nodemcu-firmware","full_name":"dnc40085/nodemcu-firmware","owner":{"login":"dnc40085","id":10802652,"avatar_url":"https://avatars.githubusercontent.com/u/10802652?v=3","gravatar_id":"","url":"https://api.github.com/users/dnc40085","html_url":"https://github.com/dnc40085","followers_url":"https://api.github.com/users/dnc40085/followers","following_url":"https://api.github.com/users/dnc40085/following{/other_user}","gists_url":"https://api.github.com/users/dnc40085/gists{/gist_id}","starred_url":"https://api.github.com/users/dnc40085/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnc40085/subscriptions","organizations_url":"https://api.github.com/users/dnc40085/orgs","repos_url":"https://api.github.com/users/dnc40085/repos","events_url":"https://api.github.com/users/dnc40085/events{/privacy}","received_events_url":"https://api.github.com/users/dnc40085/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dnc40085/nodemcu-firmware","description":"lua based interactive firmware for mcu like esp8266","fork":true,"url":"https://api.github.com/repos/dnc40085/nodemcu-firmware","forks_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/forks","keys_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/teams","hooks_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/hooks","issue_events_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/issues/events{/number}","events_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/events","assignees_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/assignees{/user}","branches_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/branches{/branch}","tags_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/tags","blobs_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/languages","stargazers_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/stargazers","contributors_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/contributors","subscribers_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/subscribers","subscription_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/subscription","commits_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/contents/{+path}","compare_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/merges","archive_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/downloads","issues_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/issues{/number}","pulls_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/labels{/name}","releases_url":"https://api.github.com/repos/dnc40085/nodemcu-firmware/releases{/id}","created_at":"2015-04-21T12:18:38Z","updated_at":"2015-09-01T21:01:12Z","pushed_at":"2016-01-02T11:10:53Z","git_url":"git://github.com/dnc40085/nodemcu-firmware.git","ssh_url":"git@github.com:dnc40085/nodemcu-firmware.git","clone_url":"https://github.com/dnc40085/nodemcu-firmware.git","svn_url":"https://github.com/dnc40085/nodemcu-firmware","homepage":"http://nodemcu.com","size":84628,"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":"nodemcu:dev","ref":"dev","sha":"2f655deecae54cf645f03e9e78562be48a9d4196","user":{"login":"nodemcu","id":9865736,"avatar_url":"https://avatars.githubusercontent.com/u/9865736?v=3","gravatar_id":"","url":"https://api.github.com/users/nodemcu","html_url":"https://github.com/nodemcu","followers_url":"https://api.github.com/users/nodemcu/followers","following_url":"https://api.github.com/users/nodemcu/following{/other_user}","gists_url":"https://api.github.com/users/nodemcu/gists{/gist_id}","starred_url":"https://api.github.com/users/nodemcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodemcu/subscriptions","organizations_url":"https://api.github.com/users/nodemcu/orgs","repos_url":"https://api.github.com/users/nodemcu/repos","events_url":"https://api.github.com/users/nodemcu/events{/privacy}","received_events_url":"https://api.github.com/users/nodemcu/received_events","type":"User","site_admin":false},"repo":{"id":26917568,"name":"nodemcu-firmware","full_name":"nodemcu/nodemcu-firmware","owner":{"login":"nodemcu","id":9865736,"avatar_url":"https://avatars.githubusercontent.com/u/9865736?v=3","gravatar_id":"","url":"https://api.github.com/users/nodemcu","html_url":"https://github.com/nodemcu","followers_url":"https://api.github.com/users/nodemcu/followers","following_url":"https://api.github.com/users/nodemcu/following{/other_user}","gists_url":"https://api.github.com/users/nodemcu/gists{/gist_id}","starred_url":"https://api.github.com/users/nodemcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodemcu/subscriptions","organizations_url":"https://api.github.com/users/nodemcu/orgs","repos_url":"https://api.github.com/users/nodemcu/repos","events_url":"https://api.github.com/users/nodemcu/events{/privacy}","received_events_url":"https://api.github.com/users/nodemcu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nodemcu/nodemcu-firmware","description":"lua based interactive firmware for mcu like esp8266","fork":false,"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware","forks_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/forks","keys_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/teams","hooks_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/hooks","issue_events_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/events{/number}","events_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/events","assignees_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/assignees{/user}","branches_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/branches{/branch}","tags_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/tags","blobs_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/languages","stargazers_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/stargazers","contributors_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/contributors","subscribers_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/subscribers","subscription_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/subscription","commits_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/contents/{+path}","compare_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/merges","archive_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/downloads","issues_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues{/number}","pulls_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/labels{/name}","releases_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/releases{/id}","created_at":"2014-11-20T15:06:45Z","updated_at":"2016-01-01T22:31:56Z","pushed_at":"2016-01-01T22:30:23Z","git_url":"git://github.com/nodemcu/nodemcu-firmware.git","ssh_url":"git@github.com:nodemcu/nodemcu-firmware.git","clone_url":"https://github.com/nodemcu/nodemcu-firmware.git","svn_url":"https://github.com/nodemcu/nodemcu-firmware","homepage":"http://nodemcu.com","size":100666,"stargazers_count":1666,"watchers_count":1666,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":760,"mirror_url":null,"open_issues_count":103,"forks":760,"open_issues":103,"watchers":1666,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodemcu/nodemcu-firmware/pulls/896"},"html":{"href":"https://github.com/nodemcu/nodemcu-firmware/pull/896"},"issue":{"href":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/896"},"comments":{"href":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/896/comments"},"review_comments":{"href":"https://api.github.com/repos/nodemcu/nodemcu-firmware/pulls/896/comments"},"review_comment":{"href":"https://api.github.com/repos/nodemcu/nodemcu-firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodemcu/nodemcu-firmware/pulls/896/commits"},"statuses":{"href":"https://api.github.com/repos/nodemcu/nodemcu-firmware/statuses/cb0a982dc3aa08e9ed2b3934863d5e42351a399c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":1}}