├── .gitignore ├── .gitmodules ├── README.md ├── data_collection ├── .gitignore └── advertisements │ ├── blees_adv.js │ └── package.json ├── hardware ├── .gitignore ├── blink │ └── rev_a │ │ ├── blink.brd │ │ ├── blink.info │ │ ├── blink.pdf │ │ ├── blink.sch │ │ ├── blink_a_2016-02-24.zip │ │ ├── blink_a_to_assembler_2016-02-24.zip │ │ ├── blink_a_to_fab_2016-02-24.zip │ │ ├── blink_bom.xlsx │ │ ├── blink_panel_a_2016-03-03.zip │ │ └── blink_pcb.png ├── case │ ├── blink_case.SLDPRT │ ├── blink_case_v1.STL │ ├── blink_case_v1.zcode │ └── blink_case_v1.zproj ├── frame │ ├── revC_frame.bot │ ├── revC_frame.brd │ ├── revC_frame.bsk │ ├── revC_frame.bsp │ ├── revC_frame.drd │ ├── revC_frame.oln │ ├── revC_frame.slk │ ├── revC_frame.smb │ ├── revC_frame.smt │ ├── revC_frame.top │ └── revC_frame.tsp ├── lib │ └── blees.lbr ├── panels │ ├── .gitignore │ ├── layout.def │ ├── merge.cfg │ ├── output │ │ └── .gitignore │ ├── place.txt │ └── run.sh ├── rev_a │ ├── BLEES_REV_A.zip │ ├── bmp.scr │ ├── output │ │ ├── gerber.pdf │ │ ├── squall-blees-board-panelized.bot │ │ ├── squall-blees-board-panelized.bsk │ │ ├── squall-blees-board-panelized.drd │ │ ├── squall-blees-board-panelized.fab │ │ ├── squall-blees-board-panelized.oln │ │ ├── squall-blees-board-panelized.sco │ │ ├── squall-blees-board-panelized.slk │ │ ├── squall-blees-board-panelized.smb │ │ ├── squall-blees-board-panelized.smt │ │ └── squall-blees-board-panelized.top │ ├── squall-blees-board-left.oln │ ├── squall-blees-board-mid.oln │ ├── squall-blees-board-right.oln │ ├── squall-blees-board.bot │ ├── squall-blees-board.brd │ ├── squall-blees-board.bsk │ ├── squall-blees-board.bsp │ ├── squall-blees-board.drd │ ├── squall-blees-board.dri │ ├── squall-blees-board.oln │ ├── squall-blees-board.pdf │ ├── squall-blees-board.sch │ ├── squall-blees-board.slk │ ├── squall-blees-board.smb │ ├── squall-blees-board.smt │ ├── squall-blees-board.top │ └── squall-blees-board.tsp ├── rev_b │ ├── BLEES_REVB_BOM.csv │ ├── bmp.scr │ ├── output │ │ ├── gerber.pdf │ │ ├── squall-blees-board-panelized.bot │ │ ├── squall-blees-board-panelized.bsk │ │ ├── squall-blees-board-panelized.drd │ │ ├── squall-blees-board-panelized.fab │ │ ├── squall-blees-board-panelized.oln │ │ ├── squall-blees-board-panelized.sco │ │ ├── squall-blees-board-panelized.slk │ │ ├── squall-blees-board-panelized.smb │ │ ├── squall-blees-board-panelized.smt │ │ └── squall-blees-board-panelized.top │ ├── squall-blees-board-left.oln │ ├── squall-blees-board-mid.oln │ ├── squall-blees-board-rev-b.zip │ ├── squall-blees-board-right.oln │ ├── squall-blees-board.bot │ ├── squall-blees-board.brd │ ├── squall-blees-board.bsk │ ├── squall-blees-board.bsp │ ├── squall-blees-board.drd │ ├── squall-blees-board.dri │ ├── squall-blees-board.oln │ ├── squall-blees-board.pdf │ ├── squall-blees-board.sch │ ├── squall-blees-board.slk │ ├── squall-blees-board.smb │ ├── squall-blees-board.smt │ ├── squall-blees-board.top │ └── squall-blees-board.tsp ├── rev_c │ ├── blees_panel_c_2015-06-12.zip │ ├── blees_panel_c_to_assembler_2015-06-12.zip │ ├── blees_panel_c_to_fab_2015-06-12.zip │ ├── squall-blees-board.bot │ ├── squall-blees-board.brd │ ├── squall-blees-board.bsk │ ├── squall-blees-board.bsp │ ├── squall-blees-board.drd │ ├── squall-blees-board.dri │ ├── squall-blees-board.oln │ ├── squall-blees-board.sch │ ├── squall-blees-board.slk │ ├── squall-blees-board.smb │ ├── squall-blees-board.smt │ ├── squall-blees-board.top │ ├── squall-blees-board.tsp │ ├── squall-blees-board_bom.csv │ ├── squall-blees-board_bom.txt │ └── squall-blees-board_bom.xlsx └── rev_d │ ├── blees_panel_d_2016-03-13.zip │ ├── blees_panel_d_to_assembler_2016-03-13.zip │ ├── blees_panel_d_to_fab_2016-03-13.zip │ ├── squall-blees-board.brd │ ├── squall-blees-board.sch │ ├── squall-blees-board_bom.csv │ ├── squall-blees-board_bom.txt │ └── squall-blees-board_bom.xlsx ├── media ├── airplane_environmental_sensing.xlsx ├── blees.png ├── blees_750x738.jpg ├── blink_large_1000x790.jpg ├── blink_small_1000x994.jpg ├── blink_small_case_1000x992.jpg ├── current_trace │ ├── .gitignore │ ├── blees_current_trace.csv │ ├── blees_current_trace.png │ └── blees_plot.gnuplot ├── info_sign.pptx ├── logo_v1.ai ├── qrcode_summon_app.pdf ├── qrcode_summon_app.svg ├── summon.png └── summon.svg ├── software ├── .gitignore ├── apps │ ├── .gitignore │ ├── blees-db │ │ ├── Makefile │ │ ├── README.md │ │ ├── ble_config.h │ │ ├── ble_ess.c │ │ ├── ble_ess.h │ │ ├── main.c │ │ └── nrf_drv_config.h │ ├── blees │ │ ├── Makefile │ │ ├── README.md │ │ ├── ble_config.h │ │ ├── ble_ess.c │ │ ├── ble_ess.h │ │ ├── main.c │ │ └── nrf_drv_config.h │ ├── blink │ │ ├── Makefile │ │ ├── README.md │ │ ├── main.c │ │ └── nrf_drv_config.h │ ├── dbtest │ │ ├── Makefile │ │ └── main.c │ └── solar-blees │ │ ├── Makefile │ │ ├── README.md │ │ ├── ble_config.h │ │ ├── ble_ess.c │ │ ├── ble_ess.h │ │ ├── main.c │ │ └── nrf_drv_config.h ├── chips │ ├── adxl362.c │ ├── adxl362.h │ ├── lps331ap.c │ ├── lps331ap.h │ ├── si7021.c │ ├── si7021.h │ ├── tsl2561.c │ └── tsl2561.h ├── platform │ ├── blees.c │ ├── blees.h │ ├── spi_driver.c │ └── spi_driver.h └── revised_chips │ ├── si7021.c │ └── si7021.h └── summon ├── .gitignore ├── README.md ├── blees-app ├── config.xml ├── hooks │ └── README.md ├── platforms │ ├── android │ │ ├── .gitignore │ │ ├── AndroidManifest.xml │ │ ├── CordovaLib │ │ │ ├── AndroidManifest.xml │ │ │ ├── build.gradle │ │ │ ├── cordova.gradle │ │ │ ├── project.properties │ │ │ └── src │ │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── cordova │ │ │ │ ├── AuthenticationToken.java │ │ │ │ ├── CallbackContext.java │ │ │ │ ├── Config.java │ │ │ │ ├── ConfigXmlParser.java │ │ │ │ ├── CordovaActivity.java │ │ │ │ ├── CordovaArgs.java │ │ │ │ ├── CordovaBridge.java │ │ │ │ ├── CordovaClientCertRequest.java │ │ │ │ ├── CordovaDialogsHelper.java │ │ │ │ ├── CordovaHttpAuthHandler.java │ │ │ │ ├── CordovaInterface.java │ │ │ │ ├── CordovaInterfaceImpl.java │ │ │ │ ├── CordovaPlugin.java │ │ │ │ ├── CordovaPreferences.java │ │ │ │ ├── CordovaResourceApi.java │ │ │ │ ├── CordovaWebView.java │ │ │ │ ├── CordovaWebViewEngine.java │ │ │ │ ├── CordovaWebViewImpl.java │ │ │ │ ├── CoreAndroid.java │ │ │ │ ├── ExposedJsApi.java │ │ │ │ ├── ICordovaClientCertRequest.java │ │ │ │ ├── ICordovaCookieManager.java │ │ │ │ ├── ICordovaHttpAuthHandler.java │ │ │ │ ├── LOG.java │ │ │ │ ├── NativeToJsMessageQueue.java │ │ │ │ ├── PluginEntry.java │ │ │ │ ├── PluginManager.java │ │ │ │ ├── PluginResult.java │ │ │ │ ├── Whitelist.java │ │ │ │ └── engine │ │ │ │ ├── SystemCookieManager.java │ │ │ │ ├── SystemExposedJsApi.java │ │ │ │ ├── SystemWebChromeClient.java │ │ │ │ ├── SystemWebView.java │ │ │ │ ├── SystemWebViewClient.java │ │ │ │ └── SystemWebViewEngine.java │ │ ├── assets │ │ │ └── www │ │ │ │ ├── cordova-js-src │ │ │ │ ├── android │ │ │ │ │ ├── nativeapiprovider.js │ │ │ │ │ └── promptbasednativeapi.js │ │ │ │ ├── exec.js │ │ │ │ ├── platform.js │ │ │ │ └── plugin │ │ │ │ │ └── android │ │ │ │ │ └── app.js │ │ │ │ ├── cordova.js │ │ │ │ ├── cordova_plugins.js │ │ │ │ ├── css │ │ │ │ ├── font-awesome-4.4.0 │ │ │ │ │ ├── HELP-US-OUT.txt │ │ │ │ │ ├── css │ │ │ │ │ │ ├── font-awesome.css │ │ │ │ │ │ └── font-awesome.min.css │ │ │ │ │ ├── fonts │ │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ │ ├── less │ │ │ │ │ │ ├── animated.less │ │ │ │ │ │ ├── bordered-pulled.less │ │ │ │ │ │ ├── core.less │ │ │ │ │ │ ├── fixed-width.less │ │ │ │ │ │ ├── font-awesome.less │ │ │ │ │ │ ├── icons.less │ │ │ │ │ │ ├── larger.less │ │ │ │ │ │ ├── list.less │ │ │ │ │ │ ├── mixins.less │ │ │ │ │ │ ├── path.less │ │ │ │ │ │ ├── rotated-flipped.less │ │ │ │ │ │ ├── stacked.less │ │ │ │ │ │ └── variables.less │ │ │ │ │ └── scss │ │ │ │ │ │ ├── _animated.scss │ │ │ │ │ │ ├── _bordered-pulled.scss │ │ │ │ │ │ ├── _core.scss │ │ │ │ │ │ ├── _fixed-width.scss │ │ │ │ │ │ ├── _icons.scss │ │ │ │ │ │ ├── _larger.scss │ │ │ │ │ │ ├── _list.scss │ │ │ │ │ │ ├── _mixins.scss │ │ │ │ │ │ ├── _path.scss │ │ │ │ │ │ ├── _rotated-flipped.scss │ │ │ │ │ │ ├── _stacked.scss │ │ │ │ │ │ ├── _variables.scss │ │ │ │ │ │ └── font-awesome.scss │ │ │ │ └── index.css │ │ │ │ ├── img │ │ │ │ ├── acceleration.png │ │ │ │ ├── blees2.png │ │ │ │ ├── humidity.png │ │ │ │ ├── light.png │ │ │ │ ├── pressure.png │ │ │ │ └── temp.png │ │ │ │ ├── index.html │ │ │ │ ├── js │ │ │ │ └── index.js │ │ │ │ └── plugins │ │ │ │ ├── com.megster.cordova.ble │ │ │ │ └── www │ │ │ │ │ └── ble.js │ │ │ │ ├── com.randdusing.bluetoothle │ │ │ │ └── www │ │ │ │ │ └── bluetoothle.js │ │ │ │ ├── cordova-plugin-console │ │ │ │ └── www │ │ │ │ │ ├── console-via-logger.js │ │ │ │ │ └── logger.js │ │ │ │ └── cordova-plugin-whitelist │ │ │ │ └── whitelist.js │ │ ├── build.gradle │ │ ├── cordova │ │ │ ├── android_sdk_version │ │ │ ├── build │ │ │ ├── build.bat │ │ │ ├── check_reqs │ │ │ ├── check_reqs.bat │ │ │ ├── clean │ │ │ ├── clean.bat │ │ │ ├── defaults.xml │ │ │ ├── lib │ │ │ │ ├── android_sdk_version.js │ │ │ │ ├── appinfo.js │ │ │ │ ├── build.js │ │ │ │ ├── check_reqs.js │ │ │ │ ├── device.js │ │ │ │ ├── emulator.js │ │ │ │ ├── exec.js │ │ │ │ ├── install-device │ │ │ │ ├── install-device.bat │ │ │ │ ├── install-emulator │ │ │ │ ├── install-emulator.bat │ │ │ │ ├── list-devices │ │ │ │ ├── list-devices.bat │ │ │ │ ├── list-emulator-images │ │ │ │ ├── list-emulator-images.bat │ │ │ │ ├── list-started-emulators │ │ │ │ ├── list-started-emulators.bat │ │ │ │ ├── log.js │ │ │ │ ├── plugin-build.gradle │ │ │ │ ├── retry.js │ │ │ │ ├── run.js │ │ │ │ ├── spawn.js │ │ │ │ ├── start-emulator │ │ │ │ └── start-emulator.bat │ │ │ ├── log │ │ │ ├── log.bat │ │ │ ├── node_modules │ │ │ │ ├── nopt │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── lib │ │ │ │ │ │ └── nopt.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── abbrev │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── abbrev.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── q │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── benchmark │ │ │ │ │ │ ├── compare-with-callbacks.js │ │ │ │ │ │ └── scenarios.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── q.js │ │ │ │ │ └── queue.js │ │ │ │ ├── shelljs │ │ │ │ │ ├── .documentup.json │ │ │ │ │ ├── .jshintrc │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── global.js │ │ │ │ │ ├── make.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── scripts │ │ │ │ │ │ ├── generate-docs.js │ │ │ │ │ │ └── run-tests.js │ │ │ │ │ ├── shell.js │ │ │ │ │ └── src │ │ │ │ │ │ ├── cat.js │ │ │ │ │ │ ├── cd.js │ │ │ │ │ │ ├── chmod.js │ │ │ │ │ │ ├── common.js │ │ │ │ │ │ ├── cp.js │ │ │ │ │ │ ├── dirs.js │ │ │ │ │ │ ├── echo.js │ │ │ │ │ │ ├── error.js │ │ │ │ │ │ ├── exec.js │ │ │ │ │ │ ├── find.js │ │ │ │ │ │ ├── grep.js │ │ │ │ │ │ ├── ls.js │ │ │ │ │ │ ├── mkdir.js │ │ │ │ │ │ ├── mv.js │ │ │ │ │ │ ├── popd.js │ │ │ │ │ │ ├── pushd.js │ │ │ │ │ │ ├── pwd.js │ │ │ │ │ │ ├── rm.js │ │ │ │ │ │ ├── sed.js │ │ │ │ │ │ ├── tempdir.js │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ ├── to.js │ │ │ │ │ │ ├── toEnd.js │ │ │ │ │ │ └── which.js │ │ │ │ └── which │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── package.json │ │ │ │ │ └── which.js │ │ │ ├── run │ │ │ ├── run.bat │ │ │ ├── version │ │ │ └── version.bat │ │ ├── platform_www │ │ │ ├── cordova-js-src │ │ │ │ ├── android │ │ │ │ │ ├── nativeapiprovider.js │ │ │ │ │ └── promptbasednativeapi.js │ │ │ │ ├── exec.js │ │ │ │ ├── platform.js │ │ │ │ └── plugin │ │ │ │ │ └── android │ │ │ │ │ └── app.js │ │ │ └── cordova.js │ │ ├── project.properties │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ └── icon.png │ │ │ ├── drawable-land-hdpi │ │ │ │ └── screen.png │ │ │ ├── drawable-land-ldpi │ │ │ │ └── screen.png │ │ │ ├── drawable-land-mdpi │ │ │ │ └── screen.png │ │ │ ├── drawable-land-xhdpi │ │ │ │ └── screen.png │ │ │ ├── drawable-ldpi │ │ │ │ └── icon.png │ │ │ ├── drawable-mdpi │ │ │ │ └── icon.png │ │ │ ├── drawable-port-hdpi │ │ │ │ └── screen.png │ │ │ ├── drawable-port-ldpi │ │ │ │ └── screen.png │ │ │ ├── drawable-port-mdpi │ │ │ │ └── screen.png │ │ │ ├── drawable-port-xhdpi │ │ │ │ └── screen.png │ │ │ ├── drawable-xhdpi │ │ │ │ └── icon.png │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ └── xml │ │ │ │ └── config.xml │ │ ├── settings.gradle │ │ └── src │ │ │ ├── com │ │ │ ├── megster │ │ │ │ └── cordova │ │ │ │ │ └── ble │ │ │ │ │ └── central │ │ │ │ │ ├── BLECentralPlugin.java │ │ │ │ │ ├── BLECommand.java │ │ │ │ │ ├── Helper.java │ │ │ │ │ ├── Peripheral.java │ │ │ │ │ └── UUIDHelper.java │ │ │ └── randdusing │ │ │ │ └── bluetoothle │ │ │ │ └── BluetoothLePlugin.java │ │ │ ├── edu │ │ │ └── umich │ │ │ │ └── eecs │ │ │ │ └── lab11 │ │ │ │ └── bleesApp │ │ │ │ └── MainActivity.java │ │ │ └── org │ │ │ └── apache │ │ │ └── cordova │ │ │ └── whitelist │ │ │ └── WhitelistPlugin.java │ └── platforms.json ├── plugins │ ├── android.json │ ├── com.megster.cordova.ble │ │ ├── CHANGES.txt │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── examples │ │ │ ├── battery │ │ │ │ ├── .npmignore │ │ │ │ ├── README.md │ │ │ │ ├── config.xml │ │ │ │ ├── hooks │ │ │ │ │ └── README.md │ │ │ │ └── www │ │ │ │ │ ├── css │ │ │ │ │ └── index.css │ │ │ │ │ ├── index.html │ │ │ │ │ └── js │ │ │ │ │ └── index.js │ │ │ ├── bluefruitle │ │ │ │ ├── .npmignore │ │ │ │ ├── README.md │ │ │ │ ├── config.xml │ │ │ │ ├── hooks │ │ │ │ │ └── README.md │ │ │ │ └── www │ │ │ │ │ ├── css │ │ │ │ │ └── index.css │ │ │ │ │ ├── index.html │ │ │ │ │ └── js │ │ │ │ │ └── index.js │ │ │ ├── heartrate │ │ │ │ ├── README.md │ │ │ │ ├── config.xml │ │ │ │ ├── hooks │ │ │ │ │ └── README.md │ │ │ │ └── www │ │ │ │ │ ├── css │ │ │ │ │ └── index.css │ │ │ │ │ ├── index.html │ │ │ │ │ └── js │ │ │ │ │ └── index.js │ │ │ ├── metawear │ │ │ │ ├── .npmignore │ │ │ │ ├── README.md │ │ │ │ ├── config.xml │ │ │ │ ├── hooks │ │ │ │ │ └── README.md │ │ │ │ └── www │ │ │ │ │ ├── css │ │ │ │ │ └── index.css │ │ │ │ │ ├── index.html │ │ │ │ │ └── js │ │ │ │ │ └── index.js │ │ │ ├── redbearlab │ │ │ │ ├── .npmignore │ │ │ │ ├── README.md │ │ │ │ ├── config.xml │ │ │ │ ├── hooks │ │ │ │ │ └── README.md │ │ │ │ └── www │ │ │ │ │ ├── css │ │ │ │ │ └── index.css │ │ │ │ │ ├── index.html │ │ │ │ │ └── js │ │ │ │ │ └── index.js │ │ │ ├── rfduinoLedButton │ │ │ │ ├── .npmignore │ │ │ │ ├── README.md │ │ │ │ ├── config.xml │ │ │ │ ├── hooks │ │ │ │ │ └── README.md │ │ │ │ └── www │ │ │ │ │ ├── css │ │ │ │ │ └── index.css │ │ │ │ │ ├── index.html │ │ │ │ │ └── js │ │ │ │ │ └── index.js │ │ │ ├── robosmart │ │ │ │ ├── .npmignore │ │ │ │ ├── README.md │ │ │ │ ├── config.xml │ │ │ │ ├── hooks │ │ │ │ │ └── README.md │ │ │ │ └── www │ │ │ │ │ ├── css │ │ │ │ │ └── index.css │ │ │ │ │ ├── index.html │ │ │ │ │ └── js │ │ │ │ │ └── index.js │ │ │ └── sensortag │ │ │ │ ├── .npmignore │ │ │ │ ├── README.md │ │ │ │ ├── config.xml │ │ │ │ ├── hooks │ │ │ │ └── README.md │ │ │ │ └── www │ │ │ │ ├── css │ │ │ │ └── index.css │ │ │ │ ├── index.html │ │ │ │ └── js │ │ │ │ └── index.js │ │ ├── package.json │ │ ├── plugin.xml │ │ ├── src │ │ │ ├── android │ │ │ │ ├── BLECentralPlugin.java │ │ │ │ ├── BLECommand.java │ │ │ │ ├── Helper.java │ │ │ │ ├── Peripheral.java │ │ │ │ └── UUIDHelper.java │ │ │ ├── ios │ │ │ │ ├── BLECentralPlugin.h │ │ │ │ ├── BLECentralPlugin.m │ │ │ │ ├── CBPeripheral+Extensions.h │ │ │ │ ├── CBPeripheral+Extensions.m │ │ │ │ ├── Foo.h │ │ │ │ └── Foo.m │ │ │ └── wp │ │ │ │ └── BLECentralPlugin.cs │ │ ├── tests │ │ │ ├── plugin.xml │ │ │ └── tests.js │ │ └── www │ │ │ └── ble.js │ ├── com.randdusing.bluetoothle │ │ ├── CHANGELOG.md │ │ ├── example │ │ │ └── www │ │ │ │ ├── css │ │ │ │ ├── index.css │ │ │ │ ├── jquery.mobile-1.4.5.min.css │ │ │ │ └── pure-min.css │ │ │ │ ├── index.html │ │ │ │ └── js │ │ │ │ ├── index.js │ │ │ │ ├── jquery-2.1.1.min.js │ │ │ │ └── jquery.mobile-1.4.5.min.js │ │ ├── plugin.xml │ │ ├── readme.md │ │ ├── src │ │ │ ├── android │ │ │ │ └── BluetoothLePlugin.java │ │ │ ├── ios │ │ │ │ ├── BluetoothLePlugin.h │ │ │ │ └── BluetoothLePlugin.m │ │ │ ├── windows │ │ │ │ └── BluetoothLePlugin.js │ │ │ └── wp │ │ │ │ └── BluetoothLePlugin.cs │ │ └── www │ │ │ └── bluetoothle.js │ ├── cordova-plugin-console │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── NOTICE │ │ ├── README.md │ │ ├── RELEASENOTES.md │ │ ├── doc │ │ │ ├── de │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── es │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── fr │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── it │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── ja │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── ko │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── pl │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ │ ├── ru │ │ │ │ └── index.md │ │ │ └── zh │ │ │ │ ├── README.md │ │ │ │ └── index.md │ │ ├── package.json │ │ ├── plugin.xml │ │ ├── src │ │ │ ├── ios │ │ │ │ ├── CDVLogger.h │ │ │ │ └── CDVLogger.m │ │ │ ├── ubuntu │ │ │ │ ├── console.cpp │ │ │ │ └── console.h │ │ │ └── wp │ │ │ │ └── DebugConsole.cs │ │ ├── tests │ │ │ ├── plugin.xml │ │ │ └── tests.js │ │ └── www │ │ │ ├── console-via-logger.js │ │ │ └── logger.js │ ├── cordova-plugin-whitelist │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── NOTICE │ │ ├── README.md │ │ ├── RELEASENOTES.md │ │ ├── package.json │ │ ├── plugin.xml │ │ ├── src │ │ │ ├── android │ │ │ │ └── WhitelistPlugin.java │ │ │ └── ios │ │ │ │ ├── CDVNavigationWhitelistPlugin.h │ │ │ │ └── CDVNavigationWhitelistPlugin.m │ │ └── whitelist.js │ └── fetch.json └── www │ ├── css │ ├── font-awesome-4.4.0 │ │ ├── HELP-US-OUT.txt │ │ ├── css │ │ │ ├── font-awesome.css │ │ │ └── font-awesome.min.css │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── less │ │ │ ├── animated.less │ │ │ ├── bordered-pulled.less │ │ │ ├── core.less │ │ │ ├── fixed-width.less │ │ │ ├── font-awesome.less │ │ │ ├── icons.less │ │ │ ├── larger.less │ │ │ ├── list.less │ │ │ ├── mixins.less │ │ │ ├── path.less │ │ │ ├── rotated-flipped.less │ │ │ ├── stacked.less │ │ │ └── variables.less │ │ └── scss │ │ │ ├── _animated.scss │ │ │ ├── _bordered-pulled.scss │ │ │ ├── _core.scss │ │ │ ├── _fixed-width.scss │ │ │ ├── _icons.scss │ │ │ ├── _larger.scss │ │ │ ├── _list.scss │ │ │ ├── _mixins.scss │ │ │ ├── _path.scss │ │ │ ├── _rotated-flipped.scss │ │ │ ├── _stacked.scss │ │ │ ├── _variables.scss │ │ │ └── font-awesome.scss │ └── index.css │ ├── img │ ├── acceleration.png │ ├── blees2.png │ ├── humidity.png │ ├── light.png │ ├── pressure.png │ └── temp.png │ ├── index.html │ └── js │ └── index.js ├── blees-demo ├── cordova.js ├── cordova_android.js ├── cordova_ios.js ├── cordova_plugins.js ├── css │ ├── font-awesome-4.4.0 │ │ ├── HELP-US-OUT.txt │ │ ├── css │ │ │ ├── font-awesome.css │ │ │ └── font-awesome.min.css │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── less │ │ │ ├── animated.less │ │ │ ├── bordered-pulled.less │ │ │ ├── core.less │ │ │ ├── fixed-width.less │ │ │ ├── font-awesome.less │ │ │ ├── icons.less │ │ │ ├── larger.less │ │ │ ├── list.less │ │ │ ├── mixins.less │ │ │ ├── path.less │ │ │ ├── rotated-flipped.less │ │ │ ├── stacked.less │ │ │ └── variables.less │ │ └── scss │ │ │ ├── _animated.scss │ │ │ ├── _bordered-pulled.scss │ │ │ ├── _core.scss │ │ │ ├── _fixed-width.scss │ │ │ ├── _icons.scss │ │ │ ├── _larger.scss │ │ │ ├── _list.scss │ │ │ ├── _mixins.scss │ │ │ ├── _path.scss │ │ │ ├── _rotated-flipped.scss │ │ │ ├── _stacked.scss │ │ │ ├── _variables.scss │ │ │ └── font-awesome.scss │ ├── index.css │ └── jquery.mobile-1.4.5.min.css ├── img │ ├── acceleration.png │ ├── blees.ico │ ├── blees2-sm.png │ ├── blees2.png │ ├── humidity.png │ ├── light.png │ ├── pressure.png │ └── temp.png ├── index.html ├── init_cordova.sh ├── js │ ├── bluetooth.js │ ├── index.js │ ├── jquery-1.11.3.min.js │ └── jquery.mobile-1.4.5.min.js ├── parse.js └── plugins │ ├── cordova-plugin-ble-central │ └── www │ │ └── ble.js │ ├── cordova-plugin-console │ └── www │ │ ├── console-via-logger.js │ │ └── logger.js │ └── cordova-plugin-whitelist │ └── whitelist.js └── squall-pir ├── cordova.js ├── cordova_android.js ├── cordova_ios.js ├── cordova_plugins.js ├── css ├── font-awesome-4.4.0 │ ├── HELP-US-OUT.txt │ ├── css │ │ ├── font-awesome.css │ │ └── font-awesome.min.css │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── less │ │ ├── animated.less │ │ ├── bordered-pulled.less │ │ ├── core.less │ │ ├── fixed-width.less │ │ ├── font-awesome.less │ │ ├── icons.less │ │ ├── larger.less │ │ ├── list.less │ │ ├── mixins.less │ │ ├── path.less │ │ ├── rotated-flipped.less │ │ ├── stacked.less │ │ └── variables.less │ └── scss │ │ ├── _animated.scss │ │ ├── _bordered-pulled.scss │ │ ├── _core.scss │ │ ├── _fixed-width.scss │ │ ├── _icons.scss │ │ ├── _larger.scss │ │ ├── _list.scss │ │ ├── _mixins.scss │ │ ├── _path.scss │ │ ├── _rotated-flipped.scss │ │ ├── _stacked.scss │ │ ├── _variables.scss │ │ └── font-awesome.scss ├── index.css └── jquery.mobile-1.4.5.min.css ├── img ├── blink.ico └── blink.png ├── index.html ├── init_cordova.sh ├── js ├── bluetooth.js ├── index.js ├── jquery-1.11.3.min.js └── jquery.mobile-1.4.5.min.js ├── parse.js ├── plugins ├── cordova-plugin-ble-central │ └── www │ │ └── ble.js ├── cordova-plugin-console │ └── www │ │ ├── console-via-logger.js │ │ └── logger.js └── cordova-plugin-whitelist │ └── whitelist.js └── publish.sh /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "lab11_libs"] 2 | path = hardware/lab11_libs 3 | url = https://github.com/lab11/eagle.git 4 | [submodule "software/nrf5x-base"] 5 | path = software/nrf5x-base 6 | url = https://github.com/lab11/nrf5x-base.git 7 | [submodule "software/LittleD"] 8 | path = software/LittleD 9 | url = https://github.com/graemedouglas/LittleD 10 | -------------------------------------------------------------------------------- /data_collection/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /data_collection/advertisements/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "advertisements", 3 | "version": "1.0.0", 4 | "description": "Display advertisement data received from BLEES devices", 5 | "main": "blees_adv.js", 6 | "author": "Branden Ghena", 7 | "dependencies": { 8 | "noble": "^1.2.1" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /hardware/.gitignore: -------------------------------------------------------------------------------- 1 | *s#* 2 | *b#* 3 | *l#* 4 | *.top 5 | *.bot 6 | *.L1 7 | *.L2 8 | *.L3 9 | *.L4 10 | *.bsp 11 | *.tsp 12 | *.bps 13 | *.bsk 14 | *.drd 15 | *.dri 16 | *.dru 17 | *.gpi 18 | *.oln 19 | *.slk 20 | *.smb 21 | *.smt 22 | *.tps 23 | *.centroid 24 | *.svg 25 | *.mil 26 | *.crop 27 | *.hs 28 | -------------------------------------------------------------------------------- /hardware/blink/rev_a/blink.info: -------------------------------------------------------------------------------- 1 | author: Brad Campbell 2 | rev: A 3 | title: Blink 4 | -------------------------------------------------------------------------------- /hardware/blink/rev_a/blink.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/blink/rev_a/blink.pdf -------------------------------------------------------------------------------- /hardware/blink/rev_a/blink_a_2016-02-24.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/blink/rev_a/blink_a_2016-02-24.zip -------------------------------------------------------------------------------- /hardware/blink/rev_a/blink_a_to_assembler_2016-02-24.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/blink/rev_a/blink_a_to_assembler_2016-02-24.zip -------------------------------------------------------------------------------- /hardware/blink/rev_a/blink_a_to_fab_2016-02-24.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/blink/rev_a/blink_a_to_fab_2016-02-24.zip -------------------------------------------------------------------------------- /hardware/blink/rev_a/blink_bom.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/blink/rev_a/blink_bom.xlsx -------------------------------------------------------------------------------- /hardware/blink/rev_a/blink_panel_a_2016-03-03.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/blink/rev_a/blink_panel_a_2016-03-03.zip -------------------------------------------------------------------------------- /hardware/blink/rev_a/blink_pcb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/blink/rev_a/blink_pcb.png -------------------------------------------------------------------------------- /hardware/case/blink_case.SLDPRT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/case/blink_case.SLDPRT -------------------------------------------------------------------------------- /hardware/case/blink_case_v1.STL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/case/blink_case_v1.STL -------------------------------------------------------------------------------- /hardware/case/blink_case_v1.zcode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/case/blink_case_v1.zcode -------------------------------------------------------------------------------- /hardware/case/blink_case_v1.zproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/case/blink_case_v1.zproj -------------------------------------------------------------------------------- /hardware/frame/revC_frame.bot: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | M02* 11 | -------------------------------------------------------------------------------- /hardware/frame/revC_frame.bsk: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | M02* 11 | -------------------------------------------------------------------------------- /hardware/frame/revC_frame.bsp: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | M02* 11 | -------------------------------------------------------------------------------- /hardware/frame/revC_frame.drd: -------------------------------------------------------------------------------- 1 | % 2 | M48 3 | % 4 | -------------------------------------------------------------------------------- /hardware/frame/revC_frame.slk: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | M02* 11 | -------------------------------------------------------------------------------- /hardware/frame/revC_frame.smb: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | M02* 11 | -------------------------------------------------------------------------------- /hardware/frame/revC_frame.smt: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | M02* 11 | -------------------------------------------------------------------------------- /hardware/frame/revC_frame.top: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | M02* 11 | -------------------------------------------------------------------------------- /hardware/frame/revC_frame.tsp: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | M02* 11 | -------------------------------------------------------------------------------- /hardware/panels/.gitignore: -------------------------------------------------------------------------------- 1 | merged.* 2 | -------------------------------------------------------------------------------- /hardware/panels/layout.def: -------------------------------------------------------------------------------- 1 | Row { 2 | blees 3 | blees 4 | blees 5 | blees 6 | blees 7 | blees 8 | blees 9 | } 10 | Row { 11 | blees 12 | blees 13 | blees 14 | blees 15 | blees 16 | blees 17 | blees 18 | } 19 | Row { 20 | blees 21 | blees 22 | blees 23 | blees 24 | blees 25 | blees 26 | blees 27 | } 28 | Row { 29 | blees 30 | blees 31 | blees 32 | blees 33 | blees 34 | blees 35 | blees 36 | } 37 | Row { 38 | blees 39 | blees 40 | blees 41 | blees 42 | blees 43 | blees 44 | blees 45 | } 46 | Row { 47 | blees 48 | blees 49 | blees 50 | blees 51 | blees 52 | blees 53 | blees 54 | } 55 | Row { 56 | blees 57 | blees 58 | blees 59 | blees 60 | blees 61 | blees 62 | blees 63 | } 64 | -------------------------------------------------------------------------------- /hardware/panels/output/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | -------------------------------------------------------------------------------- /hardware/panels/place.txt: -------------------------------------------------------------------------------- 1 | frame 0 0 2 | blees 0.435 0.53 3 | blees 1.525 0.53 4 | blees 2.615 0.53 5 | blees 3.705 0.53 6 | blees 4.795 0.53 7 | blees 5.885 0.53 8 | blees 6.975 0.53 9 | blees 0.435 1.45 10 | blees 1.525 1.45 11 | blees 2.615 1.45 12 | blees 3.705 1.45 13 | blees 4.795 1.45 14 | blees 5.885 1.45 15 | blees 6.975 1.45 16 | blees 0.435 2.37 17 | blees 1.525 2.37 18 | blees 2.615 2.37 19 | blees 3.705 2.37 20 | blees 4.795 2.37 21 | blees 5.885 2.37 22 | blees 6.975 2.37 23 | blees 0.435 3.29 24 | blees 1.525 3.29 25 | blees 2.615 3.29 26 | blees 3.705 3.29 27 | blees 4.795 3.29 28 | blees 5.885 3.29 29 | blees 6.975 3.29 30 | blees 0.435 4.21 31 | blees 1.525 4.21 32 | blees 2.615 4.21 33 | blees 3.705 4.21 34 | blees 4.795 4.21 35 | blees 5.885 4.21 36 | blees 6.975 4.21 37 | blees 0.435 5.13 38 | blees 1.525 5.13 39 | blees 2.615 5.13 40 | blees 3.705 5.13 41 | blees 4.795 5.13 42 | blees 5.885 5.13 43 | blees 6.975 5.13 44 | blees 0.435 6.05 45 | blees 1.525 6.05 46 | blees 2.615 6.05 47 | blees 3.705 6.05 48 | blees 4.795 6.05 49 | blees 5.885 6.05 50 | blees 6.975 6.05 51 | -------------------------------------------------------------------------------- /hardware/panels/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #gerbmerge merge.cfg layout.def 4 | gerbmerge --place-file=place.txt merge.cfg 5 | -------------------------------------------------------------------------------- /hardware/rev_a/BLEES_REV_A.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_a/BLEES_REV_A.zip -------------------------------------------------------------------------------- /hardware/rev_a/output/gerber.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_a/output/gerber.pdf -------------------------------------------------------------------------------- /hardware/rev_a/output/squall-blees-board-panelized.sco: -------------------------------------------------------------------------------- 1 | G75* 2 | G70* 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | %ADD10C,0.00100*% 11 | D10* 12 | X0010000Y0097000D02* 13 | X0326896Y0097000D01* 14 | X0010000Y0097400D02* 15 | X0326896Y0097400D01* 16 | X0010200Y0010000D02* 17 | X0010200Y0184400D01* 18 | X0114196Y0010000D02* 19 | X0114196Y0184400D01* 20 | X0114448Y0010000D02* 21 | X0114448Y0184400D01* 22 | X0114700Y0010000D02* 23 | X0114700Y0184400D01* 24 | X0222600Y0010000D02* 25 | X0222600Y0184400D01* 26 | X0223000Y0010000D02* 27 | X0223000Y0184400D01* 28 | X0326696Y0010000D02* 29 | X0326696Y0184400D01* 30 | M02* 31 | -------------------------------------------------------------------------------- /hardware/rev_a/squall-blees-board.bsk: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | %ADD10C,0.00500*% 11 | D10* 12 | X0012281Y0052345D02* 13 | X0012281Y0057463D01* 14 | X0012281Y0052345D02* 15 | X0023619Y0052345D01* 16 | X0023619Y0057463D01* 17 | X0023619Y0065337D02* 18 | X0023619Y0070455D01* 19 | X0012281Y0070455D01* 20 | X0012281Y0065337D01* 21 | X0087281Y0050455D02* 22 | X0087281Y0045337D01* 23 | X0087281Y0050455D02* 24 | X0098619Y0050455D01* 25 | X0098619Y0045337D01* 26 | X0098619Y0037463D02* 27 | X0098619Y0032345D01* 28 | X0087281Y0032345D01* 29 | X0087281Y0037463D01* 30 | M02* 31 | -------------------------------------------------------------------------------- /hardware/rev_a/squall-blees-board.bsp: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | %ADD10R,0.04488X0.00787*% 11 | D10* 12 | X0012753Y0058250D03* 13 | X0012753Y0059825D03* 14 | X0012753Y0061400D03* 15 | X0012753Y0062975D03* 16 | X0012753Y0064550D03* 17 | X0023147Y0064550D03* 18 | X0023147Y0062975D03* 19 | X0023147Y0061400D03* 20 | X0023147Y0059825D03* 21 | X0023147Y0058250D03* 22 | X0087753Y0044550D03* 23 | X0087753Y0042975D03* 24 | X0087753Y0041400D03* 25 | X0087753Y0039825D03* 26 | X0087753Y0038250D03* 27 | X0098147Y0038250D03* 28 | X0098147Y0039825D03* 29 | X0098147Y0041400D03* 30 | X0098147Y0042975D03* 31 | X0098147Y0044550D03* 32 | M02* 33 | -------------------------------------------------------------------------------- /hardware/rev_a/squall-blees-board.drd: -------------------------------------------------------------------------------- 1 | % 2 | M48 3 | M72 4 | T01C0.0160 5 | % 6 | T01 7 | X1695Y2840 8 | X3295Y4140 9 | X4305Y3800 10 | X4545Y2590 11 | X5945Y1990 12 | X7745Y1740 13 | X7745Y2840 14 | X8245Y3640 15 | X7745Y3740 16 | X7745Y4140 17 | X7245Y4140 18 | X7845Y4540 19 | X8245Y4740 20 | X9465Y5560 21 | X9845Y5300 22 | X10145Y4940 23 | X9525Y3020 24 | X9005Y3020 25 | X5845Y4140 26 | X4310Y5500 27 | X3525Y6160 28 | X3145Y5940 29 | X2945Y5540 30 | X3145Y6440 31 | X2745Y6640 32 | X1845Y7500 33 | X2085Y7940 34 | X4505Y6900 35 | X5845Y6040 36 | X7245Y6040 37 | X8225Y7120 38 | X1595Y4740 39 | X3645Y1340 40 | M30 41 | -------------------------------------------------------------------------------- /hardware/rev_a/squall-blees-board.dri: -------------------------------------------------------------------------------- 1 | Generated by EAGLE CAM Processor 7.2.0 2 | 3 | Drill Station Info File: /home/nate/Classes/EECS373/BLEES/hardware/rev_a/squall-blees-board.dri 4 | 5 | Date : 4/7/15 11:47 AM 6 | Drills : generated 7 | Device : Excellon drill station, coordinate format 2.4 inch 8 | 9 | Parameter settings: 10 | 11 | Tolerance Drill + : 2.50 % 12 | Tolerance Drill - : 2.50 % 13 | Rotate : no 14 | Mirror : no 15 | Optimize : yes 16 | Auto fit : yes 17 | OffsetX : 0inch 18 | OffsetY : 0inch 19 | Layers : Drills Holes 20 | 21 | Drill File Info: 22 | 23 | Data Mode : Absolute 24 | Units : 1/10000 Inch 25 | 26 | Drills used: 27 | 28 | Code Size used 29 | 30 | T01 0.0160inch 33 31 | 32 | Total number of drills: 33 33 | 34 | Plotfiles: 35 | 36 | /home/nate/Classes/EECS373/BLEES/hardware/rev_a/squall-blees-board.drd 37 | -------------------------------------------------------------------------------- /hardware/rev_a/squall-blees-board.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_a/squall-blees-board.pdf -------------------------------------------------------------------------------- /hardware/rev_b/BLEES_REVB_BOM.csv: -------------------------------------------------------------------------------- 1 | Human Readable Name,Manufacturer,Manufacturer Part Num,Digikey Part Num,QTY 2 | Light Sensor,AMS-TAOS,TSL2561,TSL2561-FNCT-ND,1 3 | Pressure Sensor,STMicroelectronics,LPS331APTR,497-12927-1-ND,1 4 | Temperature & Humidity Sensor,TE Connectivity Measurement Specialties,HTU21D,223-1144-1-ND,1 5 | Top Header,Hirose Electric Co Ltd,DF40C-10DP-0.4V(51),H11617CT-ND,2 6 | Bottom Header,Hirose Electric Co Ltd,DF40C-10DS-0.4V(51),H11616CT-ND,2 7 | 100nF 0402,Yageo,CC0402KRX5R6BB104,311-1336-1-ND,3 8 | 10uF 0603,Murata Electronics North America,GRM188C80G106KE47D,490-10469-1-ND,1 9 | 2 kOhm Resistor 0402,,,,2 -------------------------------------------------------------------------------- /hardware/rev_b/output/gerber.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_b/output/gerber.pdf -------------------------------------------------------------------------------- /hardware/rev_b/output/squall-blees-board-panelized.sco: -------------------------------------------------------------------------------- 1 | G75* 2 | G70* 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | %ADD10C,0.00100*% 11 | D10* 12 | X0010000Y0097000D02* 13 | X0326896Y0097000D01* 14 | X0010000Y0097400D02* 15 | X0326896Y0097400D01* 16 | X0010200Y0010000D02* 17 | X0010200Y0184400D01* 18 | X0114196Y0010000D02* 19 | X0114196Y0184400D01* 20 | X0114448Y0010000D02* 21 | X0114448Y0184400D01* 22 | X0114700Y0010000D02* 23 | X0114700Y0184400D01* 24 | X0222600Y0010000D02* 25 | X0222600Y0184400D01* 26 | X0223000Y0010000D02* 27 | X0223000Y0184400D01* 28 | X0326696Y0010000D02* 29 | X0326696Y0184400D01* 30 | M02* 31 | -------------------------------------------------------------------------------- /hardware/rev_b/squall-blees-board-rev-b.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_b/squall-blees-board-rev-b.zip -------------------------------------------------------------------------------- /hardware/rev_b/squall-blees-board.bsk: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | %ADD10C,0.00500*% 11 | D10* 12 | X0012281Y0052345D02* 13 | X0012281Y0057463D01* 14 | X0012281Y0052345D02* 15 | X0023619Y0052345D01* 16 | X0023619Y0057463D01* 17 | X0023619Y0065337D02* 18 | X0023619Y0070455D01* 19 | X0012281Y0070455D01* 20 | X0012281Y0065337D01* 21 | X0087281Y0050455D02* 22 | X0087281Y0045337D01* 23 | X0087281Y0050455D02* 24 | X0098619Y0050455D01* 25 | X0098619Y0045337D01* 26 | X0098619Y0037463D02* 27 | X0098619Y0032345D01* 28 | X0087281Y0032345D01* 29 | X0087281Y0037463D01* 30 | M02* 31 | -------------------------------------------------------------------------------- /hardware/rev_b/squall-blees-board.bsp: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | %ADD10R,0.04488X0.00787*% 11 | D10* 12 | X0012753Y0058250D03* 13 | X0012753Y0059825D03* 14 | X0012753Y0061400D03* 15 | X0012753Y0062975D03* 16 | X0012753Y0064550D03* 17 | X0023147Y0064550D03* 18 | X0023147Y0062975D03* 19 | X0023147Y0061400D03* 20 | X0023147Y0059825D03* 21 | X0023147Y0058250D03* 22 | X0087753Y0044550D03* 23 | X0087753Y0042975D03* 24 | X0087753Y0041400D03* 25 | X0087753Y0039825D03* 26 | X0087753Y0038250D03* 27 | X0098147Y0038250D03* 28 | X0098147Y0039825D03* 29 | X0098147Y0041400D03* 30 | X0098147Y0042975D03* 31 | X0098147Y0044550D03* 32 | M02* 33 | -------------------------------------------------------------------------------- /hardware/rev_b/squall-blees-board.drd: -------------------------------------------------------------------------------- 1 | % 2 | M48 3 | M72 4 | T01C0.0160 5 | % 6 | T01 7 | X2365Y2020 8 | X1555Y3440 9 | X1595Y4740 10 | X2945Y5540 11 | X3145Y5940 12 | X3525Y6160 13 | X3145Y6440 14 | X2745Y6640 15 | X1845Y7500 16 | X2085Y7940 17 | X4605Y6900 18 | X5845Y6040 19 | X7245Y6040 20 | X8225Y7120 21 | X9465Y5560 22 | X9845Y5300 23 | X10145Y4940 24 | X8245Y4740 25 | X7845Y4540 26 | X7745Y4140 27 | X7745Y3740 28 | X7245Y4140 29 | X8245Y3640 30 | X9005Y3020 31 | X9525Y3020 32 | X7745Y2840 33 | X7745Y1740 34 | X5945Y1990 35 | X4545Y2450 36 | X4305Y3800 37 | X3345Y4140 38 | X3265Y4800 39 | X4310Y5600 40 | X5845Y4140 41 | X4385Y1080 42 | M30 43 | -------------------------------------------------------------------------------- /hardware/rev_b/squall-blees-board.dri: -------------------------------------------------------------------------------- 1 | Generated by EAGLE CAM Processor 7.2.0 2 | 3 | Drill Station Info File: /home/nate/Classes/EECS373/BLEES/hardware/rev_b/squall-blees-board.dri 4 | 5 | Date : 4/14/15 5:08 PM 6 | Drills : generated 7 | Device : Excellon drill station, coordinate format 2.4 inch 8 | 9 | Parameter settings: 10 | 11 | Tolerance Drill + : 2.50 % 12 | Tolerance Drill - : 2.50 % 13 | Rotate : no 14 | Mirror : no 15 | Optimize : yes 16 | Auto fit : yes 17 | OffsetX : 0inch 18 | OffsetY : 0inch 19 | Layers : Drills Holes 20 | 21 | Drill File Info: 22 | 23 | Data Mode : Absolute 24 | Units : 1/10000 Inch 25 | 26 | Drills used: 27 | 28 | Code Size used 29 | 30 | T01 0.0160inch 35 31 | 32 | Total number of drills: 35 33 | 34 | Plotfiles: 35 | 36 | /home/nate/Classes/EECS373/BLEES/hardware/rev_b/squall-blees-board.drd 37 | -------------------------------------------------------------------------------- /hardware/rev_b/squall-blees-board.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_b/squall-blees-board.pdf -------------------------------------------------------------------------------- /hardware/rev_c/blees_panel_c_2015-06-12.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_c/blees_panel_c_2015-06-12.zip -------------------------------------------------------------------------------- /hardware/rev_c/blees_panel_c_to_assembler_2015-06-12.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_c/blees_panel_c_to_assembler_2015-06-12.zip -------------------------------------------------------------------------------- /hardware/rev_c/blees_panel_c_to_fab_2015-06-12.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_c/blees_panel_c_to_fab_2015-06-12.zip -------------------------------------------------------------------------------- /hardware/rev_c/squall-blees-board.bsp: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | %ADD10R,0.04488X0.00787*% 11 | D10* 12 | X0012803Y0062350D03* 13 | X0012803Y0063925D03* 14 | X0012803Y0065500D03* 15 | X0012803Y0067075D03* 16 | X0012803Y0068650D03* 17 | X0023197Y0068650D03* 18 | X0023197Y0067075D03* 19 | X0023197Y0065500D03* 20 | X0023197Y0063925D03* 21 | X0023197Y0062350D03* 22 | X0087803Y0048650D03* 23 | X0087803Y0047075D03* 24 | X0087803Y0045500D03* 25 | X0087803Y0043925D03* 26 | X0087803Y0042350D03* 27 | X0098197Y0042350D03* 28 | X0098197Y0043925D03* 29 | X0098197Y0045500D03* 30 | X0098197Y0047075D03* 31 | X0098197Y0048650D03* 32 | M02* 33 | -------------------------------------------------------------------------------- /hardware/rev_c/squall-blees-board.drd: -------------------------------------------------------------------------------- 1 | % 2 | M48 3 | M72 4 | T01C0.0160 5 | T02C0.0200 6 | % 7 | T01 8 | X4230Y1570 9 | X5250Y2170 10 | X6170Y2510 11 | X7150Y2310 12 | X7230Y3610 13 | X7750Y4150 14 | X7590Y4550 15 | X7850Y4950 16 | X8250Y5150 17 | X7530Y5510 18 | X6310Y4490 19 | X5460Y4280 20 | X5210Y5070 21 | X4350Y5390 22 | X3410Y5200 23 | X2950Y5950 24 | X3150Y6350 25 | X3090Y6830 26 | X2750Y7050 27 | X2410Y7470 28 | X1910Y7530 29 | X1690Y7930 30 | X2050Y8330 31 | X4080Y6410 32 | X4610Y7310 33 | X5550Y6770 34 | X5890Y7030 35 | X5270Y6350 36 | X5750Y7910 37 | X7470Y6650 38 | X8250Y6750 39 | X7950Y7750 40 | X8970Y8290 41 | X9730Y6700 42 | X9850Y5710 43 | X10090Y5400 44 | X8250Y4050 45 | X8590Y3750 46 | X9010Y3430 47 | X9530Y3430 48 | X8690Y2490 49 | X3990Y4410 50 | X1950Y3870 51 | X1350Y3930 52 | X1300Y5470 53 | T02 54 | X560Y5260 55 | X580Y5010 56 | X550Y5510 57 | X560Y5760 58 | X580Y6020 59 | X5050Y8800 60 | X5300Y8800 61 | X5550Y8800 62 | X5800Y8800 63 | X6050Y8800 64 | X10520Y6020 65 | X10540Y5760 66 | X10550Y5510 67 | X10540Y5260 68 | X10520Y5010 69 | X6050Y580 70 | X5800Y560 71 | X5550Y550 72 | X5300Y560 73 | X5040Y580 74 | M30 75 | -------------------------------------------------------------------------------- /hardware/rev_c/squall-blees-board.dri: -------------------------------------------------------------------------------- 1 | Generated by EAGLE CAM Processor 7.3.0 2 | 3 | Drill Station Info File: /home/brghena/Dropbox/repos/blees/hardware/rev_c/squall-blees-board.dri 4 | 5 | Date : 6/12/15 8:08 PM 6 | Drills : generated 7 | Device : Excellon drill station, coordinate format 2.4 inch 8 | 9 | Parameter settings: 10 | 11 | Tolerance Drill + : 2.50 % 12 | Tolerance Drill - : 2.50 % 13 | Rotate : no 14 | Mirror : no 15 | Optimize : yes 16 | Auto fit : yes 17 | OffsetX : 0inch 18 | OffsetY : 0inch 19 | Layers : Drills Holes 20 | 21 | Drill File Info: 22 | 23 | Data Mode : Absolute 24 | Units : 1/10000 Inch 25 | 26 | Drills used: 27 | 28 | Code Size used 29 | 30 | T01 0.0160inch 45 31 | T02 0.0200inch 20 32 | 33 | Total number of drills: 65 34 | 35 | Plotfiles: 36 | 37 | /home/brghena/Dropbox/repos/blees/hardware/rev_c/squall-blees-board.drd 38 | -------------------------------------------------------------------------------- /hardware/rev_c/squall-blees-board.smb: -------------------------------------------------------------------------------- 1 | G75* 2 | %MOIN*% 3 | %OFA0B0*% 4 | %FSLAX25Y25*% 5 | %IPPOS*% 6 | %LPD*% 7 | %AMOC8* 8 | 5,1,8,0,0,1.08239X$1,22.5* 9 | % 10 | %ADD10C,0.02600*% 11 | %ADD11R,0.05088X0.01387*% 12 | D10* 13 | X0050400Y0005800D03* 14 | X0053000Y0005600D03* 15 | X0055500Y0005500D03* 16 | X0058000Y0005600D03* 17 | X0060500Y0005800D03* 18 | X0105200Y0050100D03* 19 | X0105400Y0052600D03* 20 | X0105500Y0055100D03* 21 | X0105400Y0057600D03* 22 | X0105200Y0060200D03* 23 | X0060500Y0088000D03* 24 | X0058000Y0088000D03* 25 | X0055500Y0088000D03* 26 | X0053000Y0088000D03* 27 | X0050500Y0088000D03* 28 | X0005800Y0060200D03* 29 | X0005600Y0057600D03* 30 | X0005500Y0055100D03* 31 | X0005600Y0052600D03* 32 | X0005800Y0050100D03* 33 | D11* 34 | X0012803Y0062350D03* 35 | X0012803Y0063925D03* 36 | X0012803Y0065500D03* 37 | X0012803Y0067075D03* 38 | X0012803Y0068650D03* 39 | X0023197Y0068650D03* 40 | X0023197Y0067075D03* 41 | X0023197Y0065500D03* 42 | X0023197Y0063925D03* 43 | X0023197Y0062350D03* 44 | X0087803Y0048650D03* 45 | X0087803Y0047075D03* 46 | X0087803Y0045500D03* 47 | X0087803Y0043925D03* 48 | X0087803Y0042350D03* 49 | X0098197Y0042350D03* 50 | X0098197Y0043925D03* 51 | X0098197Y0045500D03* 52 | X0098197Y0047075D03* 53 | X0098197Y0048650D03* 54 | M02* 55 | -------------------------------------------------------------------------------- /hardware/rev_c/squall-blees-board_bom.csv: -------------------------------------------------------------------------------- 1 | # Bill of Materials 2 | # Converted from squall-blees-board_bom.xlsx 3 | # Generated by bom_to_text.py 4 | 5 | Qty,Value,Device,Package,Parts,Description,DIGIKEY,MOUSER,NEWARK 6 | 5,100nF,CAPACITOR,0402_CAP,"C1, C2, C3, C4, C5",0402 Capacitor,1276-1442-6-ND,, 7 | 1,10uF,CAPACITOR0603_CAP,0603_CAP,C6,0603 Capacitor,1276-1119-6-ND,, 8 | 1,BLUE,LED0603,LED-0603,D1,LEDs,160-1647-1-ND,, 9 | 2,SQUALL_HEADER,SQUALL_HEADER,SQUALL_HEADER,J1,Header for a sensor board on top of the Squall BLE tag board.,H11617CT-ND,, 10 | 2,HIROSE-DF40C-10DP-0.4V,HIROSE-DF40C-10DP-0.4V,2X5/SMD/0.4MM,"J2, J3",DF40 Series Header - 0.4MM Pitch,H11616CT-ND,798-DF40C10DP0.4V51,68X2585 11 | 1,1k,RESISTOR0402_RES,0402_RES,R1,0402 Resistor,RHM1.0KCECT-ND,, 12 | 2,10k,RESISTOR0402_RES,0402_RES,"R2, R3",0402 Resistor,RHM10.0KCDCT-ND,, 13 | 1,LPS331APQFN,LPS331APQFN,HCLGA-16L,U1,LPS331AP pressure sensor,,,52X6707 14 | 1,TSL2561DFN,TSL2561DFN,DFN2,U2,TSL2561 light to digital converter,TSL2561-FNDKR-ND,, 15 | 1,Si7021,Si7021,DFN,U3,Si7021 temperature/humidity sensor,336-2542-1-ND,, 16 | 1,ADXL362,ADXL362,ADXL362,U4,Micropower 3-axis accelerometer,ADXL362BCCZ-R2DKR-ND,, 17 | -------------------------------------------------------------------------------- /hardware/rev_c/squall-blees-board_bom.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_c/squall-blees-board_bom.xlsx -------------------------------------------------------------------------------- /hardware/rev_d/blees_panel_d_2016-03-13.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_d/blees_panel_d_2016-03-13.zip -------------------------------------------------------------------------------- /hardware/rev_d/blees_panel_d_to_assembler_2016-03-13.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_d/blees_panel_d_to_assembler_2016-03-13.zip -------------------------------------------------------------------------------- /hardware/rev_d/blees_panel_d_to_fab_2016-03-13.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_d/blees_panel_d_to_fab_2016-03-13.zip -------------------------------------------------------------------------------- /hardware/rev_d/squall-blees-board_bom.csv: -------------------------------------------------------------------------------- 1 | Qty,Value,Device,Package,Parts,Description,DIGIKEY,MOUSER,NEWARK 2 | 5,100nF,CAPACITOR,0402_CAP,"C1, C2, C3, C4, C5",0402 Capacitor,1276-1442-6-ND,, 3 | 1,10uF,CAPACITOR0603_CAP,0603_CAP,C6,0603 Capacitor,1276-1119-6-ND,, 4 | 1,BLUE,LED0603,LED-0603,D1,LEDs,160-1647-1-ND,, 5 | 2,SQUALL_HEADER,SQUALL_HEADER,SQUALL_HEADER,J1,Header for a sensor board on top of the Squall BLE tag board.,H11617CT-ND,, 6 | 2,HIROSE-DF40C-10DP-0.4V,HIROSE-DF40C-10DP-0.4V,2X5/SMD/0.4MM,"J2, J3",DF40 Series Header - 0.4MM Pitch,H11616CT-ND,798-DF40C10DP0.4V51,68X2585 7 | 1,1k,RESISTOR0402_RES,0402_RES,R1,0402 Resistor,RHM1.0KCECT-ND,, 8 | 2,10k,RESISTOR0402_RES,0402_RES,"R2, R3",0402 Resistor,RHM10.0KCDCT-ND,, 9 | 1,LPS331APQFN,LPS331APQFN,HCLGA-16L,U1,LPS331AP pressure sensor,,,52X6707 10 | 1,TSL2561DFN,TSL2561DFN,DFN2,U2,TSL2561 light to digital converter,TSL2561-FNDKR-ND,, 11 | 1,Si7021,Si7021,DFN,U3,Si7021 temperature/humidity sensor,336-2542-1-ND,, 12 | 1,ADXL362,ADXL362,ADXL362,U4,Micropower 3-axis accelerometer,ADXL362BCCZ-R2DKR-ND,, 13 | -------------------------------------------------------------------------------- /hardware/rev_d/squall-blees-board_bom.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/hardware/rev_d/squall-blees-board_bom.xlsx -------------------------------------------------------------------------------- /media/airplane_environmental_sensing.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/airplane_environmental_sensing.xlsx -------------------------------------------------------------------------------- /media/blees.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/blees.png -------------------------------------------------------------------------------- /media/blees_750x738.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/blees_750x738.jpg -------------------------------------------------------------------------------- /media/blink_large_1000x790.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/blink_large_1000x790.jpg -------------------------------------------------------------------------------- /media/blink_small_1000x994.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/blink_small_1000x994.jpg -------------------------------------------------------------------------------- /media/blink_small_case_1000x992.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/blink_small_case_1000x992.jpg -------------------------------------------------------------------------------- /media/current_trace/.gitignore: -------------------------------------------------------------------------------- 1 | *.eps 2 | -------------------------------------------------------------------------------- /media/current_trace/blees_current_trace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/current_trace/blees_current_trace.png -------------------------------------------------------------------------------- /media/current_trace/blees_plot.gnuplot: -------------------------------------------------------------------------------- 1 | set terminal postscript enhanced eps color font "Helvetica,16" size 6in,4in 2 | 3 | set datafile separator "," 4 | set output "blees_current_trace.eps" 5 | 6 | set style line 1 lt 1 ps 1.5 pt 7 lw 5 lc rgb "#d7191c" 7 | set style line 2 lt 1 ps 1.0 pt 7 lw 5 lc rgb "#fdae61" 8 | set style line 3 lt 1 ps 1.2 pt 7 lw 5 lc rgb "#abdda4" 9 | set style line 4 lt 1 ps 1.0 pt 7 lw 3 lc rgb "#2b83ba" 10 | set style line 5 lt 3 ps 1.2 pt 7 lw 3 lc rgb "#000000" 11 | set style line 6 lt 3 ps 1.0 pt 7 lw 3 lc rgb "#888888" 12 | 13 | set border 3 14 | 15 | set xlabel "Time (s)" 16 | set xtics nomirror 17 | set xrange [0:5] 18 | 19 | set ylabel "Current Draw (mA)" 20 | set ytics nomirror 21 | set yrange [0:10] 22 | 23 | unset key 24 | 25 | # label advertisements 26 | set label at 0.5,9.5 "Advertisements" 27 | set arrow from 0.8,9.3 to 0.9,8.0 ls 6 28 | set arrow from 0.8,9.3 to 1.9,8.0 ls 6 29 | set arrow from 0.8,9.3 to 2.9,8.0 ls 6 30 | set arrow from 0.8,9.3 to 3.9,8.0 ls 6 31 | 32 | # label sensor data collection 33 | set label at 1.03,4 "Sensor Sampling" 34 | set arrow from 1.33,3.8 to 1.85,1.0 ls 6 35 | set arrow from 1.33,3.8 to 4.85,1.0 ls 6 36 | 37 | plot 'blees_current_trace.csv' u ($1):($2) w l ls 4 38 | 39 | -------------------------------------------------------------------------------- /media/info_sign.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/info_sign.pptx -------------------------------------------------------------------------------- /media/logo_v1.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/logo_v1.ai -------------------------------------------------------------------------------- /media/qrcode_summon_app.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/qrcode_summon_app.pdf -------------------------------------------------------------------------------- /media/summon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/media/summon.png -------------------------------------------------------------------------------- /software/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile.include 2 | -------------------------------------------------------------------------------- /software/apps/.gitignore: -------------------------------------------------------------------------------- 1 | _build 2 | node_modules 3 | *.jlink 4 | .gdbinit 5 | -------------------------------------------------------------------------------- /software/apps/blees-db/README.md: -------------------------------------------------------------------------------- 1 | BLEES App 2 | ========= 3 | 4 | This app provides the Environmental Sensing Service for BLEES. 5 | It also incorporates the LittleD database to store the sensor 6 | readings. 7 | 8 | Programming 9 | ----------- 10 | 11 | make flash ID=c0:98:e5:30:00:01 12 | 13 | Advertisement 14 | ------------- 15 | 16 | BLEES alternates between advertising environmental data and the 17 | [Eddystone protocol](https://github.com/google/eddystone). It works with the 18 | [Summon](https://github.com/lab11/summon) project that provides a browser-based 19 | UI for BLE devices. 20 | 21 | ### Eddystone URL 22 | 23 | Change the `PHYSWEB_URL` define to change where the BLEES Eddystone URL points to. 24 | 25 | Services 26 | -------- 27 | 28 | Standard environmental sensing service [ESS](https://www.bluetooth.org/en-us/specification/assigned-numbers/environmental-sensing-service-characteristics) 29 | 30 | -------------------------------------------------------------------------------- /software/apps/blees/Makefile: -------------------------------------------------------------------------------- 1 | PROJECT_NAME = $(shell basename "$(realpath ./)") 2 | 3 | APPLICATION_SRCS = $(notdir $(wildcard ./*.c)) 4 | APPLICATION_SRCS += softdevice_handler.c 5 | APPLICATION_SRCS += ble_advdata.c 6 | APPLICATION_SRCS += ble_conn_params.c 7 | APPLICATION_SRCS += ble_debug_assert_handler.c 8 | APPLICATION_SRCS += ble_srv_common.c 9 | 10 | APPLICATION_SRCS += nrf_delay.c 11 | APPLICATION_SRCS += nrf_drv_common.c 12 | APPLICATION_SRCS += nrf_drv_twi.c 13 | APPLICATION_SRCS += nrf_drv_gpiote.c 14 | 15 | APPLICATION_SRCS += app_timer.c 16 | APPLICATION_SRCS += app_util_platform.c 17 | APPLICATION_SRCS += app_gpiote.c 18 | 19 | APPLICATION_SRCS += led.c 20 | 21 | APPLICATION_SRCS += simple_ble.c 22 | APPLICATION_SRCS += eddystone.c 23 | APPLICATION_SRCS += simple_adv.c 24 | APPLICATION_SRCS += multi_adv.c 25 | 26 | APPLICATION_SRCS += adxl362.c 27 | APPLICATION_SRCS += lps331ap.c 28 | APPLICATION_SRCS += si7021.c 29 | APPLICATION_SRCS += tsl2561.c 30 | APPLICATION_SRCS += spi_driver.c 31 | 32 | LIBRARY_PATHS += ./ ../../platform/ ../../chips 33 | SOURCE_PATHS += ../../platform/ ../../chips/ 34 | 35 | ENABLE_WIRELESS_DFU = 1 36 | 37 | SOFTDEVICE_MODEL = s110 38 | RAM_KB = 32 39 | FLASH_KB = 256 40 | 41 | HW_REVISION = 2.1.0 42 | FW_REVISION = 2.0.0 43 | 44 | NRF_BASE_PATH ?= ../../nrf5x-base/ 45 | include $(NRF_BASE_PATH)/make/Makefile 46 | -------------------------------------------------------------------------------- /software/apps/blink/Makefile: -------------------------------------------------------------------------------- 1 | PROJECT_NAME = $(shell basename "$(realpath ./)") 2 | 3 | APPLICATION_SRCS = $(notdir $(wildcard ./*.c)) 4 | APPLICATION_SRCS += softdevice_handler.c 5 | APPLICATION_SRCS += ble_advdata.c 6 | APPLICATION_SRCS += ble_conn_params.c 7 | 8 | APPLICATION_SRCS += nrf_drv_common.c 9 | APPLICATION_SRCS += nrf_drv_gpiote.c 10 | APPLICATION_SRCS += app_gpiote.c 11 | APPLICATION_SRCS += app_timer.c 12 | 13 | APPLICATION_SRCS += led.c 14 | 15 | APPLICATION_SRCS += simple_ble.c 16 | APPLICATION_SRCS += eddystone.c 17 | APPLICATION_SRCS += simple_adv.c 18 | APPLICATION_SRCS += multi_adv.c 19 | 20 | LIBRARY_PATHS += . ../../include 21 | SOURCE_PATHS += ../../src 22 | 23 | SOFTDEVICE_MODEL = s110 24 | RAM_KB = 32 25 | FLASH_KB = 256 26 | 27 | ENABLE_WIRELESS_DFU = 1 28 | 29 | NRF_BASE_PATH ?= ../../nrf5x-base 30 | include $(NRF_BASE_PATH)/make/Makefile 31 | -------------------------------------------------------------------------------- /software/chips/si7021.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define FIRMWARE_REV 1.0 // A10 4 | 5 | typedef enum { 6 | si7021_MODE0, // RH = 12 bit, Temp = 14 bit 7 | si7021_MODE1, // RH = 8 bit, Temp = 12 bit 8 | si7021_MODE2, // RH = 10 bit, Temp = 13 bit 9 | so7021_MODE3 // RH = 11 bit, Temp = 11 bit 10 | } si7021_meas_res_t; //Measurement Resolution 11 | 12 | void si7021_reset(); 13 | 14 | void si7021_init(nrf_drv_twi_t * p_instance); 15 | void si7021_config(si7021_meas_res_t res_mode); 16 | 17 | void si7021_read_temp_hold(float* temp); 18 | void si7021_read_temp(float* temp); 19 | void si7021_read_RH_hold(float* hum); 20 | void si7021_read_RH(float* hum); 21 | void si7021_read_temp_after_RH(float* temp); 22 | void si7021_read_temp_and_RH(float* temp, float* hum); 23 | 24 | void si7021_read_user_reg(uint8_t* reg_status); 25 | void si7021_read_firmware_rev(uint8_t* buf); 26 | 27 | void si7021_heater_on(); 28 | void si7021_heater_off(); 29 | -------------------------------------------------------------------------------- /software/chips/tsl2561.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | typedef enum { 5 | tsl2561_GAIN_HIGH = 0x10, 6 | tsl2561_GAIN_LOW = 0x00 7 | } tsl2561_gain_mode_t; 8 | 9 | typedef enum { 10 | tsl2561_INTEGRATION_13p7MS = 0x00, 11 | tsl2561_INTEGRATION_101MS = 0x01, 12 | tsl2561_INTEGRATION_402MS = 0x02 13 | } tsl2561_integration_time_mode_t; 14 | 15 | typedef enum { 16 | tsl2561_PACKAGE_TFNCL = 0x00, 17 | tsl2561_PACKAGE_CS = 0x01, 18 | } tsl2561_package_type_t; 19 | 20 | void tsl2561_driver_init(nrf_drv_twi_t* p_instance, uint8_t i2c_addr); 21 | 22 | void tsl2561_on(void); 23 | void tsl2561_off(void); // turned sensor off. reading lux data after this will return a zero 24 | 25 | void tsl2561_config(tsl2561_gain_mode_t mode_gain, tsl2561_integration_time_mode_t mode_time); 26 | 27 | uint32_t tsl2561_read_lux(); 28 | 29 | void tsl2561_interrupt_enable(void); 30 | void tsl2561_interrupt_disable(void); 31 | -------------------------------------------------------------------------------- /software/platform/blees.c: -------------------------------------------------------------------------------- 1 | 2 | #include "blees.h" 3 | 4 | -------------------------------------------------------------------------------- /software/platform/blees.h: -------------------------------------------------------------------------------- 1 | #ifndef BLEES_H 2 | #define BLEES_H 3 | 4 | #ifndef DEVICE_NAME 5 | #define DEVICE_NAME "BLEES" 6 | #endif /*DEVICE_NAME*/ 7 | 8 | #include 9 | 10 | #define PLATFORM_ID_BYTE 0x30 11 | 12 | // Address is written here in flash if the ID command is used 13 | #define ADDRESS_FLASH_LOCATION 0x0003fff8 14 | 15 | // FTDI chip for bootloader 16 | #define BOOTLOADER_CTRL_PIN 3 17 | #define BOOTLOADER_CTRL_PULL NRF_GPIO_PIN_PULLUP 18 | #define BOOTLOADER_RX_PIN 28 19 | #define BOOTLOADER_TX_PIN 29 20 | 21 | // Blue led on squall 22 | #define SQUALL_LED_PIN 13 23 | 24 | // Blue led on BLEES 25 | #define BLEES_LED_PIN 25 26 | 27 | // UART on squall 28 | #define UART_RX_PIN 28 29 | #define UART_TX_PIN 29 30 | 31 | // I2C through headers 32 | #define I2C_SCL_PIN 7 33 | #define I2C_SDA_PIN 8 34 | 35 | // SPI through headers 36 | #define SPI_SCLK_PIN 9 37 | #define SPI_MISO_PIN 10 38 | #define SPI_MOSI_PIN 11 39 | 40 | // Light sensor 41 | #define TSL2560_IRQ_PIN 22 42 | 43 | // Pressure sensor 44 | #define LPS331AP_IRQ1_PIN 24 45 | #define LPS331AP_IRQ2_PIN 23 46 | 47 | // Accelerometer 48 | #define ADXL362_CS_PIN 4 49 | #define ADXL362_IRQ1_PIN 6 50 | #define ADXL362_IRQ2_PIN 5 51 | 52 | #endif /*BLEES_H*/ 53 | 54 | -------------------------------------------------------------------------------- /software/platform/spi_driver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Pin selections 4 | #define SPI_SCK_PIN 9 5 | #define SPI_MISO_PIN 10 6 | #define SPI_MOSI_PIN 11 7 | #define SPI_SS_PIN 4 8 | #define NRF_SPI NRF_SPI0 9 | 10 | //Initializes and enables spi 11 | void spi_init(); 12 | void spi_write(uint8_t buf); 13 | void spi_read(uint8_t* buf); 14 | void spi_write_reg(uint8_t reg_addr, uint8_t * data, uint8_t num_bytes); 15 | void spi_read_reg(uint8_t reg_addr, uint8_t * data, uint8_t num_bytes); 16 | void spi_disable(); 17 | void spi_enable(); 18 | -------------------------------------------------------------------------------- /software/revised_chips/si7021.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Libraries 4 | #include 5 | #include "app_twi.h" 6 | 7 | // Functions 8 | void si7021_init(app_twi_t* twi_instance, void(*callback)(void)); 9 | 10 | void si7021_reset(void (*callback)(void)); 11 | 12 | void si7021_read_temp(void (*callback)(int16_t temperature)); 13 | void si7021_read_humidity_and_temp(void (*callback)(uint16_t humidity, int16_t temperature)); 14 | 15 | -------------------------------------------------------------------------------- /summon/.gitignore: -------------------------------------------------------------------------------- 1 | _build/ 2 | -------------------------------------------------------------------------------- /summon/README.md: -------------------------------------------------------------------------------- 1 | Summon Apps 2 | =========== 3 | 4 | [Summon](https://github.com/lab11/summon) is a browser for physical things, 5 | and BLEES comes with HTML/JS applications that Summon supports. 6 | 7 | - `blees-app`: Full featured app for both reading and configuring BLEES devices. 8 | - `bless-demo`: Pared down version of the full app with less options. Designed 9 | for quicker viewing in a demo setting. 10 | 11 | ### Blink 12 | 13 | Blink also has a Summon app in the `squall-pir` folder. 14 | -------------------------------------------------------------------------------- /summon/blees-app/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | bleesApp 4 | 5 | A sample Apache Cordova application that responds to the deviceready event. 6 | 7 | 8 | Apache Cordova Team 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/.gitignore: -------------------------------------------------------------------------------- 1 | # Non-project-specific build files: 2 | build.xml 3 | local.properties 4 | /gradlew 5 | /gradlew.bat 6 | /gradle 7 | # Ant builds 8 | ant-build 9 | ant-gen 10 | # Eclipse builds 11 | gen 12 | out 13 | # Gradle builds 14 | /build 15 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/CordovaLib/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/CordovaLib/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Indicates whether an apk should be generated for each density. 11 | split.density=false 12 | # Project target. 13 | target=android-22 14 | apk-configurations= 15 | renderscript.opt.level=O0 16 | android.library=true 17 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fonticons (https://fonticons.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | .fa-icon-rotate(@degrees, @rotation) { 15 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation); 16 | -webkit-transform: rotate(@degrees); 17 | -ms-transform: rotate(@degrees); 18 | transform: rotate(@degrees); 19 | } 20 | 21 | .fa-icon-flip(@horiz, @vert, @rotation) { 22 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1); 23 | -webkit-transform: scale(@horiz, @vert); 24 | -ms-transform: scale(@horiz, @vert); 25 | transform: scale(@horiz, @vert); 26 | } 27 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | @mixin fa-icon-rotate($degrees, $rotation) { 15 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 16 | -webkit-transform: rotate($degrees); 17 | -ms-transform: rotate($degrees); 18 | transform: rotate($degrees); 19 | } 20 | 21 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 22 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 23 | -webkit-transform: scale($horiz, $vert); 24 | -ms-transform: scale($horiz, $vert); 25 | transform: scale($horiz, $vert); 26 | } 27 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/css/font-awesome-4.4.0/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/img/acceleration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/img/acceleration.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/img/blees2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/img/blees2.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/img/humidity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/img/humidity.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/img/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/img/light.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/img/pressure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/img/pressure.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/assets/www/img/temp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/assets/www/img/temp.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/android_sdk_version: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | var android_sdk_version = require('./lib/android_sdk_version'); 23 | 24 | android_sdk_version.run().done(null, function(err) { 25 | console.log(err); 26 | process.exit(2); 27 | }); 28 | 29 | 30 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/build.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0build" 20 | IF EXIST %script_path% ( 21 | node %script_path% %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'build' script in 'cordova' folder, aborting...>&2 25 | EXIT /B 1 26 | ) -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/check_reqs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | var check_reqs = require('./lib/check_reqs'); 23 | 24 | check_reqs.run().done( 25 | function success() { 26 | console.log('Looks like your environment fully supports cordova-android development!'); 27 | }, function fail(err) { 28 | console.log(err); 29 | process.exit(2); 30 | } 31 | ); 32 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/check_reqs.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0check_reqs" 20 | IF EXIST %script_path% ( 21 | node "%script_path%" %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'check_reqs' script in 'bin' folder, aborting...>&2 25 | EXIT /B 1 26 | ) 27 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/clean.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0clean" 20 | IF EXIST %script_path% ( 21 | node %script_path% %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'clean' script in 'cordova' folder, aborting...>&2 25 | EXIT /B 1 26 | ) -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/defaults.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/lib/install-device.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0install-device" 20 | IF EXIST %script_path% ( 21 | node "%script_path%" %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'install-device' script in 'cordova\lib' folder, aborting...>&2 25 | EXIT /B 1 26 | ) -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/lib/install-emulator.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0install-emulator" 20 | IF EXIST %script_path% ( 21 | node "%script_path%" %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'install-emulator' script in 'cordova\lib' folder, aborting...>&2 25 | EXIT /B 1 26 | ) -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/lib/list-devices.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0list-devices" 20 | IF EXIST %script_path% ( 21 | node "%script_path%" %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'list-devices' script in 'cordova\lib' folder, aborting...>&2 25 | EXIT /B 1 26 | ) -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/lib/list-emulator-images.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0list-emulator-images" 20 | IF EXIST %script_path% ( 21 | node "%script_path%" %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'list-emulator-images' script in 'cordova\lib' folder, aborting...>&2 25 | EXIT /B 1 26 | ) 27 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/lib/list-started-emulators.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0list-started-emulators" 20 | IF EXIST %script_path% ( 21 | node "%script_path%" %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'list-started-emulators' script in 'cordova\lib' folder, aborting...>&2 25 | EXIT /B 1 26 | ) -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/lib/start-emulator.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0start-emulator" 20 | IF EXIST %script_path% ( 21 | node "%script_path%" %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'start-emulator' script in 'cordova\lib' folder, aborting...>&2 25 | EXIT /B 1 26 | ) -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/log.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0log" 20 | IF EXIST %script_path% ( 21 | node %script_path% %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'log' script in 'cordova' folder, aborting...>&2 25 | EXIT /B 1 26 | ) -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/nopt/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009, 2010, 2011 Isaac Z. Schlueter. 2 | All rights reserved. 3 | 4 | Permission is hereby granted, free of charge, to any person 5 | obtaining a copy of this software and associated documentation 6 | files (the "Software"), to deal in the Software without 7 | restriction, including without limitation the rights to use, 8 | copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following 11 | conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23 | OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/nopt/node_modules/abbrev/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009, 2010, 2011 Isaac Z. Schlueter. 2 | All rights reserved. 3 | 4 | Permission is hereby granted, free of charge, to any person 5 | obtaining a copy of this software and associated documentation 6 | files (the "Software"), to deal in the Software without 7 | restriction, including without limitation the rights to use, 8 | copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following 11 | conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23 | OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/q/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Copyright 2009–2012 Kristopher Michael Kowal. All rights reserved. 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to 5 | deal in the Software without restriction, including without limitation the 6 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 7 | sell copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 19 | IN THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/q/benchmark/scenarios.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Q = require("../q"); 4 | 5 | suite("Chaining", function () { 6 | var numberToChain = 1000; 7 | 8 | bench("Chaining many already-fulfilled promises together", function (done) { 9 | var currentPromise = Q(); 10 | for (var i = 0; i < numberToChain; ++i) { 11 | currentPromise = currentPromise.then(function () { 12 | return Q(); 13 | }); 14 | } 15 | 16 | currentPromise.then(done); 17 | }); 18 | 19 | bench("Chaining and then fulfilling the end of the chain", function (done) { 20 | var deferred = Q.defer(); 21 | 22 | var currentPromise = deferred.promise; 23 | for (var i = 0; i < numberToChain; ++i) { 24 | (function () { 25 | var promiseToReturn = currentPromise; 26 | currentPromise = Q().then(function () { 27 | return promiseToReturn; 28 | }); 29 | }()); 30 | } 31 | 32 | currentPromise.then(done); 33 | 34 | deferred.resolve(); 35 | }); 36 | }); 37 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/q/queue.js: -------------------------------------------------------------------------------- 1 | 2 | var Q = require("./q"); 3 | 4 | module.exports = Queue; 5 | function Queue() { 6 | var ends = Q.defer(); 7 | var closed = Q.defer(); 8 | return { 9 | put: function (value) { 10 | var next = Q.defer(); 11 | ends.resolve({ 12 | head: value, 13 | tail: next.promise 14 | }); 15 | ends.resolve = next.resolve; 16 | }, 17 | get: function () { 18 | var result = ends.promise.get("head"); 19 | ends.promise = ends.promise.get("tail"); 20 | return result.fail(function (error) { 21 | closed.resolve(error); 22 | throw error; 23 | }); 24 | }, 25 | closed: closed.promise, 26 | close: function (error) { 27 | error = error || new Error("Can't get value from closed queue"); 28 | var end = {head: Q.reject(error)}; 29 | end.tail = end; 30 | ends.resolve(end); 31 | return closed.promise; 32 | } 33 | }; 34 | } 35 | 36 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/.documentup.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ShellJS", 3 | "twitter": [ 4 | "r2r" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "loopfunc": true, 3 | "sub": true, 4 | "undef": true, 5 | "unused": true, 6 | "node": true 7 | } -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | tmp/ -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/global.js: -------------------------------------------------------------------------------- 1 | var shell = require('./shell.js'); 2 | for (var cmd in shell) 3 | global[cmd] = shell[cmd]; 4 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/make.js: -------------------------------------------------------------------------------- 1 | require('./global'); 2 | 3 | global.config.fatal = true; 4 | global.target = {}; 5 | 6 | // This ensures we only execute the script targets after the entire script has 7 | // been evaluated 8 | var args = process.argv.slice(2); 9 | setTimeout(function() { 10 | var t; 11 | 12 | if (args.length === 1 && args[0] === '--help') { 13 | console.log('Available targets:'); 14 | for (t in global.target) 15 | console.log(' ' + t); 16 | return; 17 | } 18 | 19 | // Wrap targets to prevent duplicate execution 20 | for (t in global.target) { 21 | (function(t, oldTarget){ 22 | 23 | // Wrap it 24 | global.target[t] = function(force) { 25 | if (oldTarget.done && !force) 26 | return; 27 | oldTarget.done = true; 28 | return oldTarget.apply(oldTarget, arguments); 29 | }; 30 | 31 | })(t, global.target[t]); 32 | } 33 | 34 | // Execute desired targets 35 | if (args.length > 0) { 36 | args.forEach(function(arg) { 37 | if (arg in global.target) 38 | global.target[arg](); 39 | else { 40 | console.log('no such target: ' + arg); 41 | } 42 | }); 43 | } else if ('all' in global.target) { 44 | global.target.all(); 45 | } 46 | 47 | }, 0); 48 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/scripts/generate-docs.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../global'); 3 | 4 | echo('Appending docs to README.md'); 5 | 6 | cd(__dirname + '/..'); 7 | 8 | // Extract docs from shell.js 9 | var docs = grep('//@', 'shell.js'); 10 | 11 | docs = docs.replace(/\/\/\@include (.+)/g, function(match, path) { 12 | var file = path.match('.js$') ? path : path+'.js'; 13 | return grep('//@', file); 14 | }); 15 | 16 | // Remove '//@' 17 | docs = docs.replace(/\/\/\@ ?/g, ''); 18 | // Append docs to README 19 | sed('-i', /## Command reference(.|\n)*/, '## Command reference\n\n' + docs, 'README.md'); 20 | 21 | echo('All done.'); 22 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/scripts/run-tests.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../global'); 3 | 4 | var path = require('path'); 5 | 6 | var failed = false; 7 | 8 | // 9 | // Lint 10 | // 11 | JSHINT_BIN = './node_modules/jshint/bin/jshint'; 12 | cd(__dirname + '/..'); 13 | 14 | if (!test('-f', JSHINT_BIN)) { 15 | echo('JSHint not found. Run `npm install` in the root dir first.'); 16 | exit(1); 17 | } 18 | 19 | if (exec(JSHINT_BIN + ' *.js test/*.js').code !== 0) { 20 | failed = true; 21 | echo('*** JSHINT FAILED! (return code != 0)'); 22 | echo(); 23 | } else { 24 | echo('All JSHint tests passed'); 25 | echo(); 26 | } 27 | 28 | // 29 | // Unit tests 30 | // 31 | cd(__dirname + '/../test'); 32 | ls('*.js').forEach(function(file) { 33 | echo('Running test:', file); 34 | if (exec('node ' + file).code !== 123) { // 123 avoids false positives (e.g. premature exit) 35 | failed = true; 36 | echo('*** TEST FAILED! (missing exit code "123")'); 37 | echo(); 38 | } 39 | }); 40 | 41 | if (failed) { 42 | echo(); 43 | echo('*******************************************************'); 44 | echo('WARNING: Some tests did not pass!'); 45 | echo('*******************************************************'); 46 | exit(1); 47 | } else { 48 | echo(); 49 | echo('All tests passed.'); 50 | } 51 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/src/cat.js: -------------------------------------------------------------------------------- 1 | var common = require('./common'); 2 | var fs = require('fs'); 3 | 4 | //@ 5 | //@ ### cat(file [, file ...]) 6 | //@ ### cat(file_array) 7 | //@ 8 | //@ Examples: 9 | //@ 10 | //@ ```javascript 11 | //@ var str = cat('file*.txt'); 12 | //@ var str = cat('file1', 'file2'); 13 | //@ var str = cat(['file1', 'file2']); // same as above 14 | //@ ``` 15 | //@ 16 | //@ Returns a string containing the given file, or a concatenated string 17 | //@ containing the files if more than one file is given (a new line character is 18 | //@ introduced between each file). Wildcard `*` accepted. 19 | function _cat(options, files) { 20 | var cat = ''; 21 | 22 | if (!files) 23 | common.error('no paths given'); 24 | 25 | if (typeof files === 'string') 26 | files = [].slice.call(arguments, 1); 27 | // if it's array leave it as it is 28 | 29 | files = common.expand(files); 30 | 31 | files.forEach(function(file) { 32 | if (!fs.existsSync(file)) 33 | common.error('no such file or directory: ' + file); 34 | 35 | cat += fs.readFileSync(file, 'utf8') + '\n'; 36 | }); 37 | 38 | if (cat[cat.length-1] === '\n') 39 | cat = cat.substring(0, cat.length-1); 40 | 41 | return common.ShellString(cat); 42 | } 43 | module.exports = _cat; 44 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/src/cd.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | var common = require('./common'); 3 | 4 | //@ 5 | //@ ### cd('dir') 6 | //@ Changes to directory `dir` for the duration of the script 7 | function _cd(options, dir) { 8 | if (!dir) 9 | common.error('directory not specified'); 10 | 11 | if (!fs.existsSync(dir)) 12 | common.error('no such file or directory: ' + dir); 13 | 14 | if (!fs.statSync(dir).isDirectory()) 15 | common.error('not a directory: ' + dir); 16 | 17 | process.chdir(dir); 18 | } 19 | module.exports = _cd; 20 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/src/echo.js: -------------------------------------------------------------------------------- 1 | var common = require('./common'); 2 | 3 | //@ 4 | //@ ### echo(string [,string ...]) 5 | //@ 6 | //@ Examples: 7 | //@ 8 | //@ ```javascript 9 | //@ echo('hello world'); 10 | //@ var str = echo('hello world'); 11 | //@ ``` 12 | //@ 13 | //@ Prints string to stdout, and returns string with additional utility methods 14 | //@ like `.to()`. 15 | function _echo() { 16 | var messages = [].slice.call(arguments, 0); 17 | console.log.apply(this, messages); 18 | return common.ShellString(messages.join(' ')); 19 | } 20 | module.exports = _echo; 21 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/src/error.js: -------------------------------------------------------------------------------- 1 | var common = require('./common'); 2 | 3 | //@ 4 | //@ ### error() 5 | //@ Tests if error occurred in the last command. Returns `null` if no error occurred, 6 | //@ otherwise returns string explaining the error 7 | function error() { 8 | return common.state.error; 9 | }; 10 | module.exports = error; 11 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/src/popd.js: -------------------------------------------------------------------------------- 1 | // see dirs.js -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/src/pushd.js: -------------------------------------------------------------------------------- 1 | // see dirs.js -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/src/pwd.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var common = require('./common'); 3 | 4 | //@ 5 | //@ ### pwd() 6 | //@ Returns the current directory. 7 | function _pwd(options) { 8 | var pwd = path.resolve(process.cwd()); 9 | return common.ShellString(pwd); 10 | } 11 | module.exports = _pwd; 12 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/src/to.js: -------------------------------------------------------------------------------- 1 | var common = require('./common'); 2 | var fs = require('fs'); 3 | var path = require('path'); 4 | 5 | //@ 6 | //@ ### 'string'.to(file) 7 | //@ 8 | //@ Examples: 9 | //@ 10 | //@ ```javascript 11 | //@ cat('input.txt').to('output.txt'); 12 | //@ ``` 13 | //@ 14 | //@ Analogous to the redirection operator `>` in Unix, but works with JavaScript strings (such as 15 | //@ those returned by `cat`, `grep`, etc). _Like Unix redirections, `to()` will overwrite any existing file!_ 16 | function _to(options, file) { 17 | if (!file) 18 | common.error('wrong arguments'); 19 | 20 | if (!fs.existsSync( path.dirname(file) )) 21 | common.error('no such file or directory: ' + path.dirname(file)); 22 | 23 | try { 24 | fs.writeFileSync(file, this.toString(), 'utf8'); 25 | } catch(e) { 26 | common.error('could not write to file (code '+e.code+'): '+file, true); 27 | } 28 | } 29 | module.exports = _to; 30 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/shelljs/src/toEnd.js: -------------------------------------------------------------------------------- 1 | var common = require('./common'); 2 | var fs = require('fs'); 3 | var path = require('path'); 4 | 5 | //@ 6 | //@ ### 'string'.toEnd(file) 7 | //@ 8 | //@ Examples: 9 | //@ 10 | //@ ```javascript 11 | //@ cat('input.txt').toEnd('output.txt'); 12 | //@ ``` 13 | //@ 14 | //@ Analogous to the redirect-and-append operator `>>` in Unix, but works with JavaScript strings (such as 15 | //@ those returned by `cat`, `grep`, etc). 16 | function _toEnd(options, file) { 17 | if (!file) 18 | common.error('wrong arguments'); 19 | 20 | if (!fs.existsSync( path.dirname(file) )) 21 | common.error('no such file or directory: ' + path.dirname(file)); 22 | 23 | try { 24 | fs.appendFileSync(file, this.toString(), 'utf8'); 25 | } catch(e) { 26 | common.error('could not append to file (code '+e.code+'): '+file, true); 27 | } 28 | } 29 | module.exports = _toEnd; 30 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/which/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009, 2010, 2011 Isaac Z. Schlueter. 2 | All rights reserved. 3 | 4 | Permission is hereby granted, free of charge, to any person 5 | obtaining a copy of this software and associated documentation 6 | files (the "Software"), to deal in the Software without 7 | restriction, including without limitation the rights to use, 8 | copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following 11 | conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23 | OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/which/README.md: -------------------------------------------------------------------------------- 1 | The "which" util from npm's guts. 2 | 3 | Finds the first instance of a specified executable in the PATH 4 | environment variable. Does not cache the results, so `hash -r` is not 5 | needed when the PATH changes. 6 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/node_modules/which/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": { 3 | "name": "Isaac Z. Schlueter", 4 | "email": "i@izs.me", 5 | "url": "http://blog.izs.me" 6 | }, 7 | "name": "which", 8 | "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.", 9 | "version": "1.0.5", 10 | "repository": { 11 | "type": "git", 12 | "url": "git://github.com/isaacs/node-which.git" 13 | }, 14 | "main": "which.js", 15 | "bin": { 16 | "which": "./bin/which" 17 | }, 18 | "engines": { 19 | "node": "*" 20 | }, 21 | "dependencies": {}, 22 | "devDependencies": {}, 23 | "readme": "The \"which\" util from npm's guts.\n\nFinds the first instance of a specified executable in the PATH\nenvironment variable. Does not cache the results, so `hash -r` is not\nneeded when the PATH changes.\n", 24 | "readmeFilename": "README.md", 25 | "bugs": { 26 | "url": "https://github.com/isaacs/node-which/issues" 27 | }, 28 | "homepage": "https://github.com/isaacs/node-which", 29 | "_id": "which@1.0.5", 30 | "_from": "which@" 31 | } 32 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/run.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0run" 20 | IF EXIST %script_path% ( 21 | node %script_path% %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'run' script in 'cordova' folder, aborting...>&2 25 | EXIT /B 1 26 | ) -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/version: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | // Coho updates this line: 23 | var VERSION = "4.1.1"; 24 | 25 | console.log(VERSION); 26 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/cordova/version.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script_path="%~dp0version" 20 | IF EXIST %script_path% ( 21 | node %script_path% %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'version' script in 'cordova' folder, aborting...>&2 25 | EXIT /B 1 26 | ) 27 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | # Project target. 13 | target=android-22 14 | android.library.reference.1=CordovaLib 15 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-land-hdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-land-hdpi/screen.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-land-ldpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-land-ldpi/screen.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-land-mdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-land-mdpi/screen.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-land-xhdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-land-xhdpi/screen.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-port-hdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-port-hdpi/screen.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-port-ldpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-port-ldpi/screen.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-port-mdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-port-mdpi/screen.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-port-xhdpi/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-port-xhdpi/screen.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/platforms/android/res/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | bleesApp 4 | @string/app_name 5 | @string/launcher_name 6 | 7 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/android/settings.gradle: -------------------------------------------------------------------------------- 1 | // GENERATED FILE - DO NOT EDIT 2 | include ":" 3 | include ":CordovaLib" 4 | -------------------------------------------------------------------------------- /summon/blees-app/platforms/platforms.json: -------------------------------------------------------------------------------- 1 | { 2 | "android": "4.1.1" 3 | } -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2014 Don Coleman 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/battery/.npmignore: -------------------------------------------------------------------------------- 1 | platforms 2 | plugins 3 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/battery/README.md: -------------------------------------------------------------------------------- 1 | ## Battery 2 | 3 | Read the Battery Level from the [Battery Service 0x180](https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.battery_service.xml) 4 | 5 | * Read Battery Level 6 | 7 | Hardware 8 | 9 | * Any peripheral with Battery Service 10 | 11 | Install 12 | 13 | $ cordova platform add android ios 14 | $ cordova plugin add com.megster.cordova.ble 15 | $ cordova run 16 | 17 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/battery/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Battery Test 4 | 5 | Cordova Bluetooth Plugin to read Battery Service 6 | 7 | 8 | Don Coleman 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/battery/www/css/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: "Helvetica Neue"; 3 | font-weight: lighter; 4 | color: #2a2a2a; 5 | background-color: #f0f0ff; 6 | 7 | -webkit-appearance: none; 8 | -webkit-touch-callout: none; 9 | -webkit-tap-highlight-color: rgba(0,0,0,0); 10 | 11 | -webkit-touch-callout: none; -webkit-user-select: none; 12 | } 13 | 14 | h1 { 15 | text-align: center; 16 | } 17 | 18 | button { 19 | margin: 15px; 20 | -webkit-appearance:none; 21 | font-size: 1.2em; 22 | } 23 | 24 | #mainPage { 25 | text-align:center; 26 | } 27 | 28 | #detailPage { 29 | text-align:center; 30 | font-size: 2em; 31 | } 32 | 33 | #detailPage div { 34 | margin: 20px; 35 | } 36 | 37 | #detailPage button { 38 | margin-top: 40px; 39 | font-size: 0.6em; /* undo 2em from parent */ 40 | } 41 | 42 | ul { 43 | list-style: none; 44 | border-bottom: 1px solid #d3d3d3; 45 | text-align: left; 46 | } 47 | 48 | li { 49 | margin-left: -40px; 50 | padding: 5px; 51 | padding-top: 10px; 52 | min-height: 50px; 53 | border-top: 1px solid #d3d3d3; 54 | font-size: 0.9em; 55 | } 56 | 57 | button { 58 | -webkit-appearance: none; 59 | font-size: 1.5em; 60 | border-radius: 0; 61 | } -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/bluefruitle/.npmignore: -------------------------------------------------------------------------------- 1 | platforms 2 | plugins 3 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/bluefruitle/README.md: -------------------------------------------------------------------------------- 1 | ## Adafruit UART 2 | 3 | UART example using an Arduino and [Adafruit's Bluefruit LE](http://www.adafruit.com/products/1697) breakout board. 4 | 5 | Use the [callbackEcho sketch](https://github.com/adafruit/Adafruit_nRF8001/blob/master/examples/callbackEcho/callbackEcho.ino) and see [Adafruit's tutorial](https://learn.adafruit.com/getting-started-with-the-nrf8001-bluefruit-le-breakout/software-uart-service) for setting up the hardware and Arduino code. 6 | 7 | Hardware 8 | 9 | * [Arduino](http://www.adafruit.com/products/50) 10 | * [BluefruitLE](http://www.adafruit.com/products/1697) 11 | 12 | This example will also connect to the [Adafruit Bluefruit LE Friend](https://www.adafruit.com/products/2267). 13 | 14 | Install 15 | 16 | $ cordova platform add android ios 17 | $ cordova plugin add com.megster.cordova.ble 18 | $ cordova run 19 | 20 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/bluefruitle/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | BluefruitLE 4 | 5 | A sample Apache Cordova application that responds to the deviceready event. 6 | 7 | 8 | Apache Cordova Team 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/heartrate/README.md: -------------------------------------------------------------------------------- 1 | BLE Heart Rate Demo 2 | 3 | Connects to a peripherial providing the [Heart Rate Service](http://goo.gl/wKH3X7). 4 | 5 | Works with iOS or Android 4.3+. 6 | 7 | $ cordova platform add android 8 | $ cordova plugin add com.megster.cordova.ble 9 | $ cordova run 10 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/heartrate/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | HeartRate 4 | 5 | BLE Heart Rate Monitor Demo 6 | 7 | 8 | Don Coleman 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/heartrate/www/css/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ 3 | } 4 | 5 | body { 6 | -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ 7 | -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ 8 | -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ 9 | font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif; 10 | height:100%; 11 | margin:0px; 12 | padding:0px; 13 | width:100%; 14 | text-align: center; 15 | } 16 | 17 | div { 18 | padding: 20px; 19 | } 20 | 21 | h1 { 22 | font-size:3em; 23 | } 24 | 25 | h2 { 26 | font-size:2em; 27 | } 28 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/heartrate/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Heart Rate 10 | 11 | 12 |
13 |

BLE Heart Rate Demo

14 |

...

15 |
16 |
17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/metawear/.npmignore: -------------------------------------------------------------------------------- 1 | platforms 2 | plugins 3 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/metawear/README.md: -------------------------------------------------------------------------------- 1 | ## MetaWare 2 | 3 | Example using mbientlab's [MetaWare](http://mbientlab.com/product/). 4 | 5 | Read values from the button press on the MetaWear. 6 | 7 | Operate the Motor and Buzzer on the MetaWare. 8 | 9 | Hardware 10 | 11 | * [MetaWare](http://mbientlab.com/product/) 12 | 13 | Install 14 | 15 | $ cordova platform add android ios 16 | $ cordova plugin add com.megster.cordova.ble 17 | $ cordova run 18 | 19 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/metawear/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | MetaWear 4 | 5 | A sample Apache Cordova application that connects to mbientlab's MetaWear. 6 | 7 | 8 | Don Coleman 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/redbearlab/.npmignore: -------------------------------------------------------------------------------- 1 | platforms 2 | plugins 3 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/redbearlab/README.md: -------------------------------------------------------------------------------- 1 | ## RedBearLab UART 2 | 3 | UART example using an Arduino and [RedBear Lab's Bluetooth Shield](http://redbearlab.com/bleshield/) or any of the RedBear Lab boards: [Blend](http://redbearlab.com/blend/), [Blend Micro](http://redbearlab.com/blendmicro/), [nRF51822](http://redbearlab.com/redbearlab-nrf51822/), or [BLE Nano](http://redbearlab.com/blenano/). 4 | 5 | Use the [SimpleChat sketch](https://codebender.cc/sketch:37518) on your Arduino hardware. 6 | 7 | Hardware 8 | 9 | * [Arduino Uno](http://www.makershed.com/products/arduino-uno-revision-3) 10 | * [BLE Shield](http://www.makershed.com/products/bluetooth-low-energy-ble-shield-for-arduino-2-0) 11 | 12 | Install 13 | 14 | $ cordova platform add android ios 15 | $ cordova plugin add com.megster.cordova.ble 16 | $ cordova run 17 | 18 | Once the app is running. Open the serial console to your Arduino. Data sent from the phone will show up in the serial console. Data sent from the Arduino will show up in on the phone. 19 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/redbearlab/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | RedBear Chat 4 | 5 | A sample app from a phone to RedBear Labs BLE hardware. 6 | 7 | 8 | Don Coleman 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/rfduinoLedButton/.npmignore: -------------------------------------------------------------------------------- 1 | platforms 2 | plugins 3 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/rfduinoLedButton/README.md: -------------------------------------------------------------------------------- 1 | ## RFduino LED Button 2 | 3 | Requires an [RFduino](http://rfudino.com) running the [LED Button sketch](https://github.com/RFduino/RFduino/blob/cfe1a448524f2dafc25f62cccd900484925bba8a/libraries/RFduinoBLE/examples/LedButton/LedButton.ino). 4 | 5 | Hardware 6 | 7 | * [RFduino](http://www.rfduino.com/product/rfd22102-rfduino-dip/) 8 | * [Button Shield](http://www.rfduino.com/product/rfd22122-rgb-button-shield-for-rfduino/) 9 | * [USB Shield](http://www.rfduino.com/product/rfd22124-pcb-usb-shield-for-rfduino/) 10 | 11 | 12 | Install 13 | 14 | $ cordova platform add android ios 15 | $ cordova plugin add com.megster.cordova.ble 16 | $ cordova run 17 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/rfduinoLedButton/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | RFduinoLedButton 4 | 5 | Use Cordova Bluetooth Plugin to control RFduino LED Button Sketch 6 | 7 | 8 | Don Coleman 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/rfduinoLedButton/www/css/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: "Helvetica Neue"; 3 | font-weight: lighter; 4 | color: #2a2a2a; 5 | background-color: #f0f0ff; 6 | 7 | -webkit-appearance: none; 8 | -webkit-touch-callout: none; 9 | -webkit-tap-highlight-color: rgba(0,0,0,0); 10 | 11 | -webkit-touch-callout: none; -webkit-user-select: none; 12 | } 13 | 14 | h1 { 15 | text-align: center; 16 | } 17 | 18 | button { 19 | margin: 15px; 20 | -webkit-appearance:none; 21 | font-size: 1.2em; 22 | } 23 | 24 | #mainPage { 25 | text-align:center; 26 | } 27 | 28 | #detailPage { 29 | text-align:center; 30 | font-size: 2em; 31 | } 32 | 33 | #detailPage div { 34 | margin: 20px; 35 | } 36 | 37 | #detailPage button { 38 | margin-top: 40px; 39 | font-size: 0.6em; /* undo 2em from parent */ 40 | } 41 | 42 | ul { 43 | list-style: none; 44 | border-bottom: 1px solid #d3d3d3; 45 | text-align: left; 46 | } 47 | 48 | li { 49 | margin-left: -40px; 50 | padding: 5px; 51 | padding-top: 10px; 52 | min-height: 50px; 53 | border-top: 1px solid #d3d3d3; 54 | font-size: 0.9em; 55 | } 56 | 57 | button { 58 | -webkit-appearance: none; 59 | font-size: 1.5em; 60 | border-radius: 0; 61 | } -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/robosmart/.npmignore: -------------------------------------------------------------------------------- 1 | platforms 2 | plugins 3 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/robosmart/README.md: -------------------------------------------------------------------------------- 1 | # RoboSmart 2 | 3 | Control a [SmartBotics](http://www.smartbotics.com/) RoboSmart Lightbulb from your phone. 4 | 5 | Hardware 6 | 7 | * [RoboSmart Lightbulb](http://www.smartbotics.com/#!where-to-buy/c1kf9) 8 | 9 | Install 10 | 11 | $ cordova platform add android ios 12 | $ cordova plugin add com.megster.cordova.ble 13 | $ cordova run 14 | 15 | 16 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/robosmart/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | RoboSmart 4 | 5 | Use Cordova Bluetooth Plugin to control Smartbotics RoboSmart lightbulb 6 | 7 | 8 | Don Coleman 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/sensortag/.npmignore: -------------------------------------------------------------------------------- 1 | platforms 2 | plugins 3 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/sensortag/README.md: -------------------------------------------------------------------------------- 1 | ## SensorTag 2 | 3 | Interact with the [TI SensorTag](http://www.ti.com/tool/cc2541dk-sensor) 4 | 5 | * Read Button Presses 6 | * Read Accelerometer Data 7 | 8 | Hardware 9 | 10 | * [TI SensorTag](http://www.ti.com/tool/cc2541dk-sensor) 11 | 12 | Install 13 | 14 | $ cordova platform add android ios 15 | $ cordova plugin add com.megster.cordova.ble 16 | $ cordova run 17 | 18 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/sensortag/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SensorTag 4 | 5 | Use Cordova Bluetooth Plugin to read values from TI SensorTag 6 | 7 | 8 | Don Coleman 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/sensortag/www/css/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: "Helvetica Neue"; 3 | font-weight: lighter; 4 | color: #2a2a2a; 5 | background-color: #f0f0ff; 6 | 7 | -webkit-appearance: none; 8 | -webkit-touch-callout: none; 9 | -webkit-tap-highlight-color: rgba(0,0,0,0); 10 | 11 | -webkit-touch-callout: none; -webkit-user-select: none; 12 | } 13 | 14 | h1 { 15 | text-align: center; 16 | } 17 | 18 | button { 19 | margin: 15px; 20 | -webkit-appearance:none; 21 | font-size: 1.2em; 22 | } 23 | 24 | #mainPage { 25 | text-align:center; 26 | } 27 | 28 | #detailPage { 29 | text-align:center; 30 | font-size: 2em; 31 | } 32 | 33 | #detailPage div { 34 | margin: 20px; 35 | } 36 | 37 | #detailPage button { 38 | margin-top: 40px; 39 | font-size: 0.6em; /* undo 2em from parent */ 40 | } 41 | 42 | ul { 43 | list-style: none; 44 | border-bottom: 1px solid #d3d3d3; 45 | text-align: left; 46 | } 47 | 48 | li { 49 | margin-left: -40px; 50 | padding: 5px; 51 | padding-top: 10px; 52 | min-height: 50px; 53 | border-top: 1px solid #d3d3d3; 54 | font-size: 0.9em; 55 | } 56 | 57 | button { 58 | -webkit-appearance: none; 59 | font-size: 1.5em; 60 | border-radius: 0; 61 | } -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/examples/sensortag/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | SensorTag 10 | 11 | 12 |
13 |

SensorTag

14 |
15 |
    16 |
17 | 18 |
19 |
20 |
waiting...
21 |
22 | 23 |
24 |
25 | 26 | 27 | 30 | 31 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.9", 3 | "name": "com.megster.cordova.ble", 4 | "cordova_name": "BLE", 5 | "description": "Bluetooth Low Energy (BLE) Central Plugin", 6 | "license": "Apache 2.0", 7 | "repo": "https://github.com/don/cordova-plugin-ble-central.git", 8 | "issue": "https://github.com/don/cordova-plugin-ble-central/issues", 9 | "keywords": [ 10 | "bluetooth", 11 | "BLE", 12 | "bluetooth low energy" 13 | ], 14 | "platforms": [ 15 | "ios", 16 | "android", 17 | "wp8" 18 | ], 19 | "engines": [ 20 | { 21 | "name": "cordova", 22 | "version": ">=3.1.0" 23 | } 24 | ] 25 | } -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/src/ios/CBPeripheral+Extensions.h: -------------------------------------------------------------------------------- 1 | // 2 | // CBPeripheral+Extensions.h 3 | // BLE Central Cordova Plugin 4 | // 5 | // (c) 2104 Don Coleman 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | #import 20 | #import 21 | #import 22 | #import 23 | 24 | 25 | @interface CBPeripheral(com_megster_ble_extension) 26 | 27 | @property (nonatomic, retain) NSDictionary *advertising; 28 | @property (nonatomic, retain) NSNumber *advertisementRSSI; 29 | 30 | -(void)setAdvertisementData:(NSDictionary *)advertisementData RSSI:(NSNumber*)rssi; 31 | -(NSDictionary *)asDictionary; 32 | -(NSString *)uuidAsString; 33 | 34 | @end 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/src/ios/Foo.h: -------------------------------------------------------------------------------- 1 | // 2 | // Foo.h 3 | // Holds peripherial, service and characteristic 4 | // TODO rename 5 | // 6 | 7 | #import 8 | #import 9 | 10 | @interface Foo : NSObject 11 | 12 | @property CBPeripheral *peripheral; 13 | @property CBService *service; 14 | @property CBCharacteristic *characteristic; 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/src/ios/Foo.m: -------------------------------------------------------------------------------- 1 | // 2 | // Foo.m 3 | // Holds peripherial, service and characteristic 4 | // TODO rename 5 | // 6 | 7 | #import "Foo.h" 8 | 9 | @implementation Foo 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.megster.cordova.ble/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 6 | Bluetooth Low Energy Plugin Tests 7 | Apache 2.0 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/com.randdusing.bluetoothle/example/www/css/index.css: -------------------------------------------------------------------------------- 1 | /*Reset*/ 2 | html{color:#000;background:#fff}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;font-size:100%}legend{color:#000} 3 | 4 | /*General*/ 5 | h2 { margin-bottom: .25em; } 6 | a { margin-bottom: .5em; } 7 | .ui-content { padding: .5em; } 8 | 9 | /*Lists*/ 10 | li { border: 1px solid #666; padding: .25em; } 11 | 12 | /*Toggle*/ 13 | .toggle { font-weight: bold; padding: .25em; } 14 | .toggle:after { content: " +"; } 15 | .toggle + ul { display: none; } 16 | .toggle.active:after { content: " -"; } 17 | .toggle.active + ul { display: block; } -------------------------------------------------------------------------------- /summon/blees-app/plugins/cordova-plugin-console/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/cordova-plugin-console/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-console", 3 | "version": "1.0.1", 4 | "description": "Cordova Console Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-console", 7 | "platforms": [ 8 | "ios", 9 | "ubuntu", 10 | "wp7", 11 | "wp8", 12 | "windows8", 13 | "windows" 14 | ] 15 | }, 16 | "repository": { 17 | "type": "git", 18 | "url": "https://github.com/apache/cordova-plugin-console" 19 | }, 20 | "keywords": [ 21 | "cordova", 22 | "console", 23 | "ecosystem:cordova", 24 | "cordova-ios", 25 | "cordova-ubuntu", 26 | "cordova-wp7", 27 | "cordova-wp8", 28 | "cordova-windows8", 29 | "cordova-windows" 30 | ], 31 | "author": "Apache Software Foundation", 32 | "license": "Apache 2.0" 33 | } 34 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/cordova-plugin-console/src/ios/CDVLogger.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVLogger : CDVPlugin 23 | 24 | - (void)logLevel:(CDVInvokedUrlCommand*)command; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/cordova-plugin-console/src/ubuntu/console.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed under the Apache License, Version 2.0 (the "License"); 3 | * you may not use this file except in compliance with the License. 4 | * You may obtain a copy of the License at 5 | * 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Unless required by applicable law or agreed to in writing, software 9 | * distributed under the License is distributed on an "AS IS" BASIS, 10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | * See the License for the specific language governing permissions and 12 | * limitations under the License. 13 | */ 14 | 15 | #include "console.h" 16 | 17 | #include 18 | 19 | Console::Console(Cordova *cordova) : CPlugin(cordova) { 20 | } 21 | 22 | void Console::logLevel(int scId, int ecId, QString level, QString message) { 23 | Q_UNUSED(scId) 24 | Q_UNUSED(ecId) 25 | 26 | if (level != "LOG") 27 | std::cout << "[" << level.toStdString() << "] "; 28 | std::cout << message.toStdString() << std::endl; 29 | } 30 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/cordova-plugin-console/src/ubuntu/console.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed under the Apache License, Version 2.0 (the "License"); 3 | * you may not use this file except in compliance with the License. 4 | * You may obtain a copy of the License at 5 | * 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Unless required by applicable law or agreed to in writing, software 9 | * distributed under the License is distributed on an "AS IS" BASIS, 10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | * See the License for the specific language governing permissions and 12 | * limitations under the License. 13 | */ 14 | 15 | #ifndef CONSOLE_H_FDSVCXGFRS 16 | #define CONSOLE_H_FDSVCXGFRS 17 | 18 | #include 19 | 20 | #include 21 | 22 | class Console : public CPlugin { 23 | Q_OBJECT 24 | public: 25 | explicit Console(Cordova *cordova); 26 | 27 | virtual const QString fullName() override { 28 | return Console::fullID(); 29 | } 30 | 31 | virtual const QString shortName() override { 32 | return "Console"; 33 | } 34 | 35 | static const QString fullID() { 36 | return "Console"; 37 | } 38 | 39 | public slots: 40 | void logLevel(int scId, int ecId, QString level, QString message); 41 | }; 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/cordova-plugin-whitelist/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/cordova-plugin-whitelist/RELEASENOTES.md: -------------------------------------------------------------------------------- 1 | 21 | # Release Notes 22 | 23 | ### 1.0.0 (Mar 25, 2015) 24 | * CB-8739 added missing license headers 25 | * Add @Override to CustomConfigXmlParser methods 26 | * Change ID to cordova-plugin-whitelist rather than reverse-DNS-style 27 | * Tweak CSP examples in README 28 | * CB-8660 remove extra commas from package.json 29 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/cordova-plugin-whitelist/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-whitelist", 3 | "version": "1.0.0", 4 | "description": "Cordova Whitelist Plugin", 5 | "cordova": { 6 | "platforms": [ 7 | "android", 8 | "ios" 9 | ] 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "https://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist.git" 14 | }, 15 | "keywords": [ 16 | "cordova", 17 | "whitelist", 18 | "ecosystem:cordova", 19 | "cordova-android", 20 | "cordova-ios" 21 | ], 22 | "engines": [ 23 | { 24 | "name": "cordova-android", 25 | "version": ">=4.0.0-dev" 26 | }, 27 | { 28 | "name": "cordova-ios", 29 | "version": ">=4.0.0-dev" 30 | } 31 | ], 32 | "author": "Apache Software Foundation", 33 | "license": "Apache 2.0" 34 | } 35 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/cordova-plugin-whitelist/src/ios/CDVNavigationWhitelistPlugin.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | #import 23 | 24 | @interface CDVNavigationWhitelistPlugin : CDVPlugin {} 25 | 26 | @property (nonatomic, readonly, strong) CDVWhitelist* whitelist; // readonly for public 27 | 28 | - (BOOL)shouldAllowNavigationToURL:(NSURL *)url; 29 | - (BOOL)shouldAllowRequestForURL:(NSURL *)url; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /summon/blees-app/plugins/cordova-plugin-whitelist/whitelist.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | * 19 | */ 20 | 21 | if (!document.querySelector('meta[http-equiv=Content-Security-Policy]')) { 22 | var msg = 'No Content-Security-Policy meta tag found. Please add one when using the cordova-plugin-whitelist plugin.'; 23 | console.error(msg); 24 | setInterval(function() { 25 | console.warn(msg); 26 | }, 10000); 27 | } 28 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fonticons (https://fonticons.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/css/font-awesome-4.4.0/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | .fa-icon-rotate(@degrees, @rotation) { 15 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation); 16 | -webkit-transform: rotate(@degrees); 17 | -ms-transform: rotate(@degrees); 18 | transform: rotate(@degrees); 19 | } 20 | 21 | .fa-icon-flip(@horiz, @vert, @rotation) { 22 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1); 23 | -webkit-transform: scale(@horiz, @vert); 24 | -ms-transform: scale(@horiz, @vert); 25 | transform: scale(@horiz, @vert); 26 | } 27 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | @mixin fa-icon-rotate($degrees, $rotation) { 15 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 16 | -webkit-transform: rotate($degrees); 17 | -ms-transform: rotate($degrees); 18 | transform: rotate($degrees); 19 | } 20 | 21 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 22 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 23 | -webkit-transform: scale($horiz, $vert); 24 | -ms-transform: scale($horiz, $vert); 25 | transform: scale($horiz, $vert); 26 | } 27 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /summon/blees-app/www/css/font-awesome-4.4.0/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | -------------------------------------------------------------------------------- /summon/blees-app/www/img/acceleration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/img/acceleration.png -------------------------------------------------------------------------------- /summon/blees-app/www/img/blees2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/img/blees2.png -------------------------------------------------------------------------------- /summon/blees-app/www/img/humidity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/img/humidity.png -------------------------------------------------------------------------------- /summon/blees-app/www/img/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/img/light.png -------------------------------------------------------------------------------- /summon/blees-app/www/img/pressure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/img/pressure.png -------------------------------------------------------------------------------- /summon/blees-app/www/img/temp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-app/www/img/temp.png -------------------------------------------------------------------------------- /summon/blees-demo/cordova.js: -------------------------------------------------------------------------------- 1 | // select which cordova_*.js to load based on the platform 2 | if (navigator.platform.startsWith("iP")) { 3 | // iOS (iPhone, iPad, iPod) 4 | console.log("Loading iOS-specific cordova"); 5 | $.getScript('cordova_ios.js', load_after) 6 | .fail(function(jqxhr, settings, exception) { 7 | console.log("Failed to load"); 8 | console.log("Exception: " + exception); 9 | console.log("Attempting to power through"); 10 | load_after(); 11 | }); 12 | } else { 13 | // android or bust 14 | console.log("Loading android-specific cordova"); 15 | $.getScript('cordova_android.js', load_after) 16 | .fail(function(jqxhr, settings, exception) { 17 | console.log("Failed to load"); 18 | console.log("Exception: " + exception); 19 | console.log("Attempting to power through"); 20 | load_after(); 21 | }); 22 | } 23 | 24 | // don't load the user's index.js until cordova is loaded 25 | function load_after () { 26 | console.log("Loading user's index.js file"); 27 | $.getScript('js/index.js'); 28 | } 29 | 30 | -------------------------------------------------------------------------------- /summon/blees-demo/cordova_plugins.js: -------------------------------------------------------------------------------- 1 | cordova.define('cordova/plugin_list', function(require, exports, module) { 2 | module.exports = [ 3 | { 4 | "file": "plugins/cordova-plugin-whitelist/whitelist.js", 5 | "id": "cordova-plugin-whitelist.whitelist", 6 | "runs": true 7 | }, 8 | { 9 | "file": "plugins/cordova-plugin-console/www/logger.js", 10 | "id": "cordova-plugin-console.logger", 11 | "clobbers": [ 12 | "cordova.logger" 13 | ] 14 | }, 15 | { 16 | "file": "plugins/cordova-plugin-console/www/console-via-logger.js", 17 | "id": "cordova-plugin-console.console", 18 | "clobbers": [ 19 | "console" 20 | ] 21 | }, 22 | { 23 | "file": "plugins/cordova-plugin-ble-central/www/ble.js", 24 | "id": "cordova-plugin-ble-central.ble", 25 | "clobbers": [ 26 | "ble" 27 | ] 28 | } 29 | ]; 30 | module.exports.metadata = 31 | // TOP OF METADATA 32 | { 33 | "cordova-plugin-whitelist": "1.0.0", 34 | "cordova-plugin-console": "1.0.1", 35 | "cordova-plugin-ble-central": "1.0.1" 36 | } 37 | // BOTTOM OF METADATA 38 | }); 39 | 40 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fonticons (https://fonticons.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/css/font-awesome-4.4.0/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/css/font-awesome-4.4.0/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/css/font-awesome-4.4.0/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | .fa-icon-rotate(@degrees, @rotation) { 15 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation); 16 | -webkit-transform: rotate(@degrees); 17 | -ms-transform: rotate(@degrees); 18 | transform: rotate(@degrees); 19 | } 20 | 21 | .fa-icon-flip(@horiz, @vert, @rotation) { 22 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1); 23 | -webkit-transform: scale(@horiz, @vert); 24 | -ms-transform: scale(@horiz, @vert); 25 | transform: scale(@horiz, @vert); 26 | } 27 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | @mixin fa-icon-rotate($degrees, $rotation) { 15 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 16 | -webkit-transform: rotate($degrees); 17 | -ms-transform: rotate($degrees); 18 | transform: rotate($degrees); 19 | } 20 | 21 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 22 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 23 | -webkit-transform: scale($horiz, $vert); 24 | -ms-transform: scale($horiz, $vert); 25 | transform: scale($horiz, $vert); 26 | } 27 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /summon/blees-demo/css/font-awesome-4.4.0/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | -------------------------------------------------------------------------------- /summon/blees-demo/img/acceleration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/img/acceleration.png -------------------------------------------------------------------------------- /summon/blees-demo/img/blees.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/img/blees.ico -------------------------------------------------------------------------------- /summon/blees-demo/img/blees2-sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/img/blees2-sm.png -------------------------------------------------------------------------------- /summon/blees-demo/img/blees2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/img/blees2.png -------------------------------------------------------------------------------- /summon/blees-demo/img/humidity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/img/humidity.png -------------------------------------------------------------------------------- /summon/blees-demo/img/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/img/light.png -------------------------------------------------------------------------------- /summon/blees-demo/img/pressure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/img/pressure.png -------------------------------------------------------------------------------- /summon/blees-demo/img/temp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/blees-demo/img/temp.png -------------------------------------------------------------------------------- /summon/blees-demo/init_cordova.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | rm -fr _build 4 | 5 | cordova create _build edu.umich.eecs.lab11.blees.demo Blees-demo 6 | pushd _build 7 | cordova platform add android 8 | cordova plugin add cordova-plugin-whitelist 9 | cordova plugin add cordova-plugin-console 10 | cordova plugin add cordova-plugin-ble-central 11 | 12 | pushd www 13 | 14 | rm -r css 15 | rm -r img 16 | rm -r js 17 | rm index.html 18 | 19 | ln -s ../../css . 20 | ln -s ../../js . 21 | ln -s ../../img . 22 | ln -s ../../index.html . 23 | ln -s ../../cordova_android.js . 24 | ln -s ../../cordova_ios.js . 25 | ln -s ../../cordova_plugins.js . 26 | ln -s ../../cordova.js cordova_test.js 27 | 28 | popd 29 | 30 | cordova build 31 | 32 | popd 33 | -------------------------------------------------------------------------------- /summon/squall-pir/cordova.js: -------------------------------------------------------------------------------- 1 | // select which cordova_*.js to load based on the platform 2 | if (navigator.platform.startsWith("iP")) { 3 | // iOS (iPhone, iPad, iPod) 4 | console.log("Loading iOS-specific cordova"); 5 | $.getScript('cordova_ios.js', load_after) 6 | .fail(function(jqxhr, settings, exception) { 7 | console.log("Failed to load"); 8 | console.log("Exception: " + exception); 9 | console.log("Attempting to power through"); 10 | load_after(); 11 | }); 12 | } else { 13 | // android or bust 14 | console.log("Loading android-specific cordova"); 15 | $.getScript('cordova_android.js', load_after) 16 | .fail(function(jqxhr, settings, exception) { 17 | console.log("Failed to load"); 18 | console.log("Exception: " + exception); 19 | console.log("Attempting to power through"); 20 | load_after(); 21 | }); 22 | } 23 | 24 | // don't load the user's index.js until cordova is loaded 25 | function load_after () { 26 | console.log("Loading user's index.js file"); 27 | $.getScript('js/index.js'); 28 | } 29 | 30 | -------------------------------------------------------------------------------- /summon/squall-pir/cordova_plugins.js: -------------------------------------------------------------------------------- 1 | cordova.define('cordova/plugin_list', function(require, exports, module) { 2 | module.exports = [ 3 | { 4 | "file": "plugins/cordova-plugin-whitelist/whitelist.js", 5 | "id": "cordova-plugin-whitelist.whitelist", 6 | "runs": true 7 | }, 8 | { 9 | "file": "plugins/cordova-plugin-console/www/logger.js", 10 | "id": "cordova-plugin-console.logger", 11 | "clobbers": [ 12 | "cordova.logger" 13 | ] 14 | }, 15 | { 16 | "file": "plugins/cordova-plugin-console/www/console-via-logger.js", 17 | "id": "cordova-plugin-console.console", 18 | "clobbers": [ 19 | "console" 20 | ] 21 | }, 22 | { 23 | "file": "plugins/cordova-plugin-ble-central/www/ble.js", 24 | "id": "cordova-plugin-ble-central.ble", 25 | "clobbers": [ 26 | "ble" 27 | ] 28 | } 29 | ]; 30 | module.exports.metadata = 31 | // TOP OF METADATA 32 | { 33 | "cordova-plugin-whitelist": "1.0.0", 34 | "cordova-plugin-console": "1.0.1", 35 | "cordova-plugin-ble-central": "1.0.1" 36 | } 37 | // BOTTOM OF METADATA 38 | }); 39 | 40 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fonticons (https://fonticons.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/squall-pir/css/font-awesome-4.4.0/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/squall-pir/css/font-awesome-4.4.0/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/squall-pir/css/font-awesome-4.4.0/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/squall-pir/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/squall-pir/css/font-awesome-4.4.0/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | .fa-icon-rotate(@degrees, @rotation) { 15 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation); 16 | -webkit-transform: rotate(@degrees); 17 | -ms-transform: rotate(@degrees); 18 | transform: rotate(@degrees); 19 | } 20 | 21 | .fa-icon-flip(@horiz, @vert, @rotation) { 22 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1); 23 | -webkit-transform: scale(@horiz, @vert); 24 | -ms-transform: scale(@horiz, @vert); 25 | transform: scale(@horiz, @vert); 26 | } 27 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | 14 | @mixin fa-icon-rotate($degrees, $rotation) { 15 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 16 | -webkit-transform: rotate($degrees); 17 | -ms-transform: rotate($degrees); 18 | transform: rotate($degrees); 19 | } 20 | 21 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 22 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 23 | -webkit-transform: scale($horiz, $vert); 24 | -ms-transform: scale($horiz, $vert); 25 | transform: scale($horiz, $vert); 26 | } 27 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /summon/squall-pir/css/font-awesome-4.4.0/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | -------------------------------------------------------------------------------- /summon/squall-pir/img/blink.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/squall-pir/img/blink.ico -------------------------------------------------------------------------------- /summon/squall-pir/img/blink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lab11/blees/635c66da59604ba4c666ec7ffba5e35d0cb44e2b/summon/squall-pir/img/blink.png -------------------------------------------------------------------------------- /summon/squall-pir/init_cordova.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | rm -fr _build 4 | 5 | cordova create _build edu.umich.eecs.lab11.blink.demo Blink 6 | pushd _build 7 | cordova platform add android 8 | cordova plugin add cordova-plugin-whitelist 9 | cordova plugin add cordova-plugin-console 10 | cordova plugin add cordova-plugin-ble-central 11 | 12 | pushd www 13 | 14 | rm -r css 15 | rm -r img 16 | rm -r js 17 | rm index.html 18 | 19 | ln -s ../../css . 20 | ln -s ../../js . 21 | ln -s ../../index.html . 22 | ln -s ../../index.html . 23 | ln -s ../../cordova_android.js . 24 | ln -s ../../cordova_ios.js . 25 | ln -s ../../cordova_plugins.js . 26 | ln -s ../../cordova.js cordova_test.js 27 | 28 | popd 29 | 30 | cordova build 31 | 32 | popd 33 | -------------------------------------------------------------------------------- /summon/squall-pir/publish.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | scp -r cordova.js cordova_plugins.js css img index.html js plugins nuclear.eecs.umich.edu:/opt/public/ble/blees-demo/ 4 | 5 | --------------------------------------------------------------------------------