mershon-enterprises / wh-hero

Interactive data collection and visualization of WirelessHART mesh data
https://mershon.enterprises
GNU General Public License v3.0
0 stars 0 forks source link

Create sample methods for Wifi, bluetooth functions. #20

Open cpascua opened 9 years ago

cpascua commented 9 years ago

Plugins

https://github.com/parsonsmatt/WifiWizard https://github.com/evothings/phonegap-estimotebeacons https://github.com/katzer/cordova-plugin-background-mode#receive-if-the-background-mode-is-active https://github.com/katzer/cordova-plugin-local-notifications

Wifi

kevinmershon commented 9 years ago

@cpascua You don't need worry about collecting the WirelessHART Gateway data. That's already implemented on my feature branch. Just define points in your code for calling window.parser.enablePolling() and window.parser.disablePolling().

kevinmershon commented 9 years ago

Also, we only need to worry about enabling Bluetooth if it's off when the app launches.

kevinmershon commented 9 years ago

I recommend implementing everything as a cordova plugin that you add to the parent project, in this folder: https://github.com/mershon-enterprises/hydra-wirelesshart-mobile-app/tree/feature-wireless-gateway-plugin/plugins

You can add the plugin to your development version of the app with ionic plugin add --link ../plugins/<plugin-folder>