Commit Graph

37 Commits

Author SHA1 Message Date
mmcwilliams 22d497b464 BLE features are working, minus the wifi feature. Good work today. 2017-12-13 18:40:14 -05:00
mmcwilliams 52194e0b41 Set counter via ble 2017-12-13 17:27:42 -05:00
mmcwilliams 2818bd1180 Respect exposure settings. 2017-12-13 17:01:22 -05:00
mmcwilliams 6b65168f03 Obj not req 2017-12-13 16:25:23 -05:00
mmcwilliams 2a28b622f0 Set delay from ble 2017-12-13 16:22:22 -05:00
mmcwilliams 7fc84a3f14 Set exposure with bluetooth app 2017-12-13 16:04:24 -05:00
mmcwilliams ae03b97f96 Set direction with bluetooth, also resolve an unfortunate bug where I repeatedly spelled "undefined" as "udnefined" 2017-12-12 14:23:14 -05:00
mmcwilliams d8e6a2206e OK! Cannot pass data back during a write event, BUUUT can respond asynchronously, and state can be read immediately after? Or should I cache a response? More on this later. 2017-12-12 13:37:36 -05:00
mmcwilliams 9d95ffa483 Was trying to console.log an undefined string. 2017-12-12 13:14:20 -05:00
mmcwilliams 4aadc5a9df Use callback model for bluetooth write events. 2017-12-12 13:09:13 -05:00
mmcwilliams 3e9f560db0 intval.status() not intval.state. 2017-12-11 14:57:01 -05:00
mmcwilliams 139c72caee ble needs to be constructed 2017-12-11 14:41:44 -05:00
mmcwilliams 1fef6d6925 Pass an intval.state object into ble lib 2017-12-11 14:38:46 -05:00
mmcwilliams f1a5ae5aff bluetooth on data event 2017-12-07 12:06:08 -05:00
mmcwilliams 9c5d429051 Use sequence module and begin fashioning requests around it. 2017-11-22 20:26:34 -05:00
mmcwilliams dd74ba7218 Res.send not req.send you absolute knucklehead. 2017-11-22 11:31:08 -05:00
mmcw-dev 0272ca21f6 Add bleno to main process by adding a module that gets incorporated into the same process running express. 2017-11-22 09:30:08 -05:00
mmcw-dev 67f864f975 rReset not rRest, gah 2017-10-23 20:29:52 -04:00
mmcw-dev f2f5d583ce Added /reset endpoint to reset device state. 2017-10-23 13:33:05 -04:00
mmcw-dev 65b1802390 If exposure is less than _frame.expected, set to 0 (default) 2017-10-23 00:37:44 -04:00
mmcw-dev a9e13ac2a6 Restore device state in app, set counter in webapp, 2017-10-22 19:59:38 -04:00
mmcw-dev d7ca2ebe46 All features added to /frame endpoint, can set direction independent of the state and can set the exposure as well. 2017-10-21 20:12:39 -04:00
mmcw-dev 0b245a00c4 Log after frame is complete 2017-10-21 12:21:15 -04:00
mmcw-dev 9302cf1b21 Force example frame before evaluating query and body of post for parameters 2017-10-21 12:10:16 -04:00
mmcw-dev 0848d5bfc0 Add logging to webapp and callback to frame function in intval 2017-10-21 12:08:12 -04:00
mmcw-dev 06bdb8b763 Need to initialize intval in server code. 2017-10-21 11:47:55 -04:00
mmcw-dev 186b8324d1 Manage state from the webapp. Build all features there before mobile. 2017-10-21 11:46:06 -04:00
mmcwilliams 7d9377e7ea Start fleshing out API for web/mobile 2017-10-20 13:58:01 -04:00
mmcwilliams 7f48045bbd Log with appropriate tagging 2017-09-25 23:25:34 -04:00
mmcwilliams 9eac1e0193 Install with latest node.js and latest npm
Create a sim library as a fallback for the on off module, for
development
2017-08-28 08:49:47 -04:00
mmcwilliams 1c53af9215 Add routes for basic app structure 2017-08-22 00:00:24 -04:00
mmcwilliams aca94c1ec9 Remove old clearPins function 2017-08-21 23:55:38 -04:00
mmcwilliams e77db95684 Require intval module at correct path 2017-08-21 23:54:38 -04:00
mmcwilliams 16cf29adbb Create an intval library for all the gpio logic 2017-08-21 23:52:27 -04:00
mmcwilliams 6716be882b Convert initial server code to intval3 basic structure 2017-08-21 22:59:44 -04:00
mmcwilliams 782484b7e9 Install winston for logging
Use winston to manage log structure and to make it easy to redirect
logs to different files
2017-08-21 21:23:48 -04:00
mmcwilliams 3f9e2853b0 Start project with blootstrap (pre publishing) 2017-08-21 21:11:07 -04:00