Commit Graph

58 Commits

Author SHA1 Message Date
mmcwilliams 27f996684b Throw warning containing raw bluetooth response if JSON parser fails. 2020-05-18 21:45:20 -04:00
mmcwilliams 2e3cc409b0 PWA wifi functions were not attached to DOM elements, only mobile ones. getWifi, setWifi and editWifi bindings were added to both pwa.init and mobile.init functions and DOM elements were bound to the generic functions. Resolves #7 2020-05-15 23:06:57 -04:00
mmcwilliams 2dc24ce64e Caught issue where frame function doesn't work after sequence is run. 2020-05-15 21:26:04 -04:00
mmcwilliams 9fa6335c48 STATE.sequence is not being reset to false when over. UI issue #20 is appearing in web app as well as iOS app, so this problem is likely occuring in intval3.core.js or replicated in all apps. 2020-05-07 13:23:59 -04:00
litter d4f04ec9f1 Fix error message on app startup. Test to determine this doesn't break functionality with connected app. Must run "getState()" on wake as well as startup. 2020-01-02 12:40:40 -05:00
mmcwilliams 3634b580bc Change 630 default/min to 530ms in core app. 2019-10-11 17:57:29 -04:00
mmcwilliams 6f6dabca5b Created a PWA frontend. This marks a major milestone in the project, as I will be dropping support of the cordova mobile app and rely entirely on the PWA for bluetooth connectivity going forward. Can't afford an Apple dev license I'll never use and don't want the trouble of maintaining mobile apps on the stores that maybe a handful of people will use. Check intval.sixteenmillimeter.com for this site deployed as an app. 2019-06-19 19:23:20 -04:00
mmcwilliams 6557b48acc Comment out all ble methods, to be replaced with new Bluetooth API calls 2019-03-17 11:56:03 -04:00
mmcwilliams 6c3b263ac1 Started work on navitator.bluetooth version of the mobile app as a PWA. More on this to come. 2019-02-22 13:07:54 -05:00
mmcwilliams 9cdf497518 Uncheck direction checkbox when setting state 2018-02-12 17:48:38 -05:00
mmcwilliams d32cb83261 Use navigator.notification alerts, confirms and prompts from cordova-dialogs in the mobile app. 2018-02-12 17:48:13 -05:00
mmcwilliams 3331dc20ec Show text in spinner if defined in argument. 2018-02-12 15:42:48 -05:00
mmcwilliams 10e7b13707 Update the language on the webapp to use confirms to prevent errant clicks 2018-02-12 15:05:50 -05:00
mmcwilliams 45e427caf9 Reset state and then set newly reset state to web UI 2018-02-12 14:57:06 -05:00
mmcwilliams 1c14520c6a Add reset, update and restart actions to the web UI 2018-02-12 14:26:44 -05:00
mmcwilliams 7a98dc11ea Add new UI.spinner and UI.overlay usage in intval.mobile.js.
Fix reset, restart and update process over BLE.
Hide disconnection errors and instead automatically reset BLE UI when disconnect occurs.
2018-02-12 13:59:21 -05:00
mmcwilliams fd0ad6f063 Add global placeholders for reset, restart and update. 2018-02-12 13:58:00 -05:00
mmcwilliams 0ede651791 Install QUnit for testing 2018-02-10 12:07:24 -05:00
mmcwilliams 5f71e48c38 Restart, update and reset all have ble and restify endpoints 2018-02-08 15:31:48 -05:00
mmcwilliams b56afa3ba7 Add language "and clear counter" to reset confirmation dialog. 2018-02-08 11:51:43 -05:00
mmcwilliams a37c58d791 Add a reset feature to mobile app which allows the device to be reset to the default settings (direction forward, exposure 630 and delay 0). 2018-02-07 19:07:38 -05:00
mmcwilliams 42580c46b9 Sequence feature for bluetooth control does NOT need to be split (yet) into start and stop. intval.mobile.js was using the incorrect callback on the sequence characteristic and should be tested before changes are made. 2018-02-07 18:38:19 -05:00
mmcwilliams df578bb678 Make mobile.fnumber a global helper function fnumber() 2018-02-04 18:17:36 -05:00
mmcwilliams 29485137ca Store iso and fstop as they are set. 2018-02-03 16:50:14 -05:00
mmcwilliams 4b72c9eeed Camera exposure logic is in place. Will take a photo with the device camera and use the exif data to determine the correct exposure for the bolex.
- Determines # of stops between fstop of phone and set fstop of bolex
- Determines # of stops between iso of phone and set iso of bolex
- Compensates for the 0.8 prism constant
2018-02-03 16:49:37 -05:00
mmcwilliams 3abd68f5f3 Dump exif data after taking picture 2018-02-02 15:36:50 -05:00
mmcwilliams 4760c1e491 Sync camera settings between multiple inputs and write to settings 2018-02-02 15:36:28 -05:00
mmcwilliams fc4b180aa8 Fix logging in delayed state retreival for ble connections. 2018-01-17 17:20:48 -05:00
mmcwilliams b8787c0fac If exposure if over 5000ms, call back from ble service immediately and block UI until frame is done. 2018-01-17 15:58:55 -05:00
mmcwilliams 62769db3bf Add a state for the mobile app to trigger the camera and set Bolex camera values. 2018-01-09 00:06:17 -05:00
mmcwilliams b114ef8b0e Hide spinner after 5 seconds, show message if not connected. 2018-01-08 20:14:08 -05:00
mmcwilliams 6c28e729e1 Only add padding to top of app if in mobile version 2018-01-04 16:32:59 -05:00
mmcw-dev 34eefbd067 Hide and show IP address based on availability 2018-01-04 16:25:22 -05:00
mmcwilliams 7d5f6c6601 Mobile app now allows user to interact with wifi settings. Also (mostly) properly displays the state of a sequence. 2018-01-02 00:35:20 -05:00
mmcwilliams a26d73bece Fix intval button text changes 2017-12-29 22:42:49 -05:00
mmcwilliams f9f98ebc02 Fix direction label in mobile app (light up selected) 2017-12-29 22:05:00 -05:00
mmcw-dev 727ec7cae0 Set innerHTML of non-input elements, not value. This is why labels are not changing. 2017-12-23 22:30:17 -05:00
mmcw-dev 7ac6f89af9 Only set ble active flag if on ble 2017-12-23 22:22:36 -05:00
mmcw-dev 72b127f134 Change innerHTML, not innerText 2017-12-22 16:34:06 -05:00
mmcw-dev 58c01c4108 Change message on sequence button if running 2017-12-22 15:28:09 -05:00
mmcw-dev 30e1c52ab0 Remove extraneous DOM manipulation from the sequenceSuccess function 2017-12-21 00:17:19 -05:00
mmcw-dev fdc43fdc37 Get state after finishing sequence, to update UI 2017-12-21 00:15:55 -05:00
mmcw-dev 9e13e0fb96 Log state to see why there are false positives 2017-12-21 00:03:32 -05:00
mmcw-dev 782bf04714 Start and stop worked in web lib, but GUI didn't. This is a fix that shuts off the "sequence" button when sequence is stopped. 2017-12-20 23:59:36 -05:00
mmcw-dev 2545df2c38 Add events to the html and respective libraries, web, mobile and core 2017-12-20 23:49:51 -05:00
mmcw-dev e880e44a5c Control sequence with GUIs 2017-12-20 23:47:37 -05:00
mmcwilliams 22d497b464 BLE features are working, minus the wifi feature. Good work today. 2017-12-13 18:40:14 -05:00
mmcwilliams e5207a8474 App supports controlling intval with bluetooth 2017-12-13 17:52:25 -05:00
mmcwilliams 37326534ed Accidentally broke web while testing, add back. 2017-11-23 08:59:49 -05:00
mmcwilliams f428c72bdb Remove sequencer feature, too similar to the mcopy feature and not needed in a standalone intervalometer. 2017-11-22 20:05:19 -05:00