{"action":"created","issue":{"url":"https://api.github.com/repos/cesanta/fossa/issues/268","labels_url":"https://api.github.com/repos/cesanta/fossa/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/cesanta/fossa/issues/268/comments","events_url":"https://api.github.com/repos/cesanta/fossa/issues/268/events","html_url":"https://github.com/cesanta/fossa/pull/268","id":67286805,"number":268,"title":"Add support of CC3000 (server)","user":{"login":"alashkin","id":5459304,"avatar_url":"https://avatars.githubusercontent.com/u/5459304?v=3","gravatar_id":"","url":"https://api.github.com/users/alashkin","html_url":"https://github.com/alashkin","followers_url":"https://api.github.com/users/alashkin/followers","following_url":"https://api.github.com/users/alashkin/following{/other_user}","gists_url":"https://api.github.com/users/alashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/alashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alashkin/subscriptions","organizations_url":"https://api.github.com/users/alashkin/orgs","repos_url":"https://api.github.com/users/alashkin/repos","events_url":"https://api.github.com/users/alashkin/events{/privacy}","received_events_url":"https://api.github.com/users/alashkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mmikulicic","id":52673,"avatar_url":"https://avatars.githubusercontent.com/u/52673?v=3","gravatar_id":"","url":"https://api.github.com/users/mmikulicic","html_url":"https://github.com/mmikulicic","followers_url":"https://api.github.com/users/mmikulicic/followers","following_url":"https://api.github.com/users/mmikulicic/following{/other_user}","gists_url":"https://api.github.com/users/mmikulicic/gists{/gist_id}","starred_url":"https://api.github.com/users/mmikulicic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmikulicic/subscriptions","organizations_url":"https://api.github.com/users/mmikulicic/orgs","repos_url":"https://api.github.com/users/mmikulicic/repos","events_url":"https://api.github.com/users/mmikulicic/events{/privacy}","received_events_url":"https://api.github.com/users/mmikulicic/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-04-09T05:49:30Z","updated_at":"2015-04-09T10:19:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cesanta/fossa/pulls/268","html_url":"https://github.com/cesanta/fossa/pull/268","diff_url":"https://github.com/cesanta/fossa/pull/268.diff","patch_url":"https://github.com/cesanta/fossa/pull/268.patch"},"body":"Hi, @rojer \r\n\r\nPlease, review this PR.\r\n\r\nIt is support of CC3000 for fossa (only server - aka restful_server).\r\nThis code is based on Adafruit/Texas instruments library (https://github.com/adafruit/Adafruit_CC3000_Library)\r\n\r\nLibrary stores in fossa's rep unformatted (so, sometimes code style could be strange). Later I'll make an amalgamation and use clang-format against it.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/cesanta/fossa/268)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/cesanta/fossa/issues/comments/91184157","html_url":"https://github.com/cesanta/fossa/pull/268#issuecomment-91184157","issue_url":"https://api.github.com/repos/cesanta/fossa/issues/268","id":91184157,"user":{"login":"alashkin","id":5459304,"avatar_url":"https://avatars.githubusercontent.com/u/5459304?v=3","gravatar_id":"","url":"https://api.github.com/users/alashkin","html_url":"https://github.com/alashkin","followers_url":"https://api.github.com/users/alashkin/followers","following_url":"https://api.github.com/users/alashkin/following{/other_user}","gists_url":"https://api.github.com/users/alashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/alashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alashkin/subscriptions","organizations_url":"https://api.github.com/users/alashkin/orgs","repos_url":"https://api.github.com/users/alashkin/repos","events_url":"https://api.github.com/users/alashkin/events{/privacy}","received_events_url":"https://api.github.com/users/alashkin/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T10:19:13Z","updated_at":"2015-04-09T10:19:13Z","body":"\n\n\n\n\n\n---\n\n<sup>**[platforms/arduino_wifi_CC3000/adafruit_CC3000_lib_fossa/utility/socket.cpp, line 302 \\[r1\\]](https://reviewable.io:443/reviews/cesanta/fossa/268#-JmSX5Jod7bcyBXeuZc8)** ([raw file](https://github.com/cesanta/fossa/blob/c8b5a7affbbaf9d712380a2c639e05332fbbd491/platforms/arduino_wifi_CC3000/adafruit_CC3000_lib_fossa/utility/socket.cpp#L302)):</sup>\nI can add `delay(10)` but on mega it is just 'while(millis() < finish_time) yield()`, so - we'll get the same :)\n\nAs for this loop, it's from here:\nhttp://e2e.ti.com/support/wireless_connectivity/f/851/p/304445/1060800\n\nOn this forum it doesn't contain `cc3k_int_pool`, but I don't see problems to keep it here. \nAs for better way - not sure, coz  `hci_event_handler` started from `while (1) {`... So - loop again.\n\n---\n\n\n---\n\nComments from the [review on Reviewable.io](https://reviewable.io:443/reviews/cesanta/fossa/268)\n<!-- Sent from Reviewable.io -->\n"}}