{"id":20885350,"url":"https://github.com/lab11/iot-gateway","last_synced_at":"2025-05-12T19:30:51.169Z","repository":{"id":21981481,"uuid":"25306377","full_name":"lab11/iot-gateway","owner":"lab11","description":"Implementation of the gateway architecture described in \"The Internet of Things Has a Gateway Problem\". ","archived":false,"fork":false,"pushed_at":"2015-06-05T15:16:32.000Z","size":1546,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-04-14T04:45:09.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://dl.acm.org/citation.cfm?id=2699344","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lab11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-16T14:37:00.000Z","updated_at":"2024-04-14T04:45:09.114Z","dependencies_parsed_at":"2022-08-20T15:31:09.707Z","dependency_job_id":null,"html_url":"https://github.com/lab11/iot-gateway","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fiot-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fiot-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fiot-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fiot-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab11","download_url":"https://codeload.github.com/lab11/iot-gateway/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225148872,"owners_count":17428430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T08:13:13.380Z","updated_at":"2024-11-18T08:13:14.018Z","avatar_url":"https://github.com/lab11.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"iot-gateway\n===========\n\nOur implementation of the gateway described in \"[The Internet of Things Has a Gateway Problem](http://dl.acm.org/citation.cfm?id=2699344)\". \n\n- `/app/Gateway` : the Android Gateway app implementing BLE Profile Proxy.\n- `/app/Peripheral` : an Android Peripheral app to advertise \u0026 test API for BLE peripherals.\n- `/datacloud` : a simple responsive server implemention using NodeJS; demonstrates API for servers.\n- `/squall` : [squall](https://github.com/helena-project/squall) apps that use Gateway API.\n- [`index.html`](http://htmlpreview.github.io/?https://github.com/lab11/iot-gateway/blob/master/index.html) : log of received data at the gateway, data cloud, and incentive cloud\n- [`example.html`](http://htmlpreview.github.io/?https://github.com/lab11/iot-gateway/blob/master/example.html) : example visualization of data from the Tessel app\n- [`raw.html`](http://htmlpreview.github.io/?https://github.com/lab11/iot-gateway/blob/master/raw.html) : raw output of data sent to data cloud (when received at GATD)\n\n\nAPI\n---\n\nTo use Gateway, a peripheral specifies the following in the advertisement service data:\n- Shortened Destination URL (up to 14 characters), sans protocol [14 bytes]\n- Incentive Program Level (0-15) [.5 bytes]\n- Reliability Level (0-15) [.5 bytes]\n- Gateway Services Requested [1 byte]\n  - Time Access (0/1)\n  - GPS Access (0/1)\n  - Accelerometer Access (0/1)\n  - Ambient Light Sensor Access (0/1)\n  - User Text Input Request (0/1)\n  - User Camera Input Request (0/1)\n  - Web UI Display Request (0/1)\n  - IP Over BLE Request (Reserved) (0/1)\n- Custom App Data (up to 10 bytes)\n\nFor instance, if a peripheral advertised `676f6f2e676c2f6a524d7845300077C0BEEF`, it would be parsed as:\n- Destination: `676f6f2e676c2f6a524d784530000` -\u003e `\"goo.gl/jRMxE0\"`\n  - resolves to http://gatewaycloud.elasticbeanstalk.com, a data server expecting POSTs from Gateway\n- Incentive Program Level: `7`\n- Reliability: `7`\n- Gateway Services Requested : `C0` -\u003e Time Access \u0026 GPS Access\n- Custom App Data: `BEEF`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fiot-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab11%2Fiot-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fiot-gateway/lists"}