mmcwilliams
|
bcc29424da
|
Caught mixed usage, use .find() not .filter() to locate a single entry. Test exising methods now.
|
2018-01-01 00:10:50 -05:00 |
mmcwilliams
|
7e58ac40aa
|
If entry is for an SSID that exists, replace old with new. If entry is for SSID that doesn't exist, add to file.
|
2018-01-01 00:04:49 -05:00 |
mmcwilliams
|
781f6046e5
|
parseConfig moved out of class
|
2017-12-31 23:52:00 -05:00 |
mmcwilliams
|
15ded20735
|
Parse wpa_supplicant file
|
2017-12-31 23:45:40 -05:00 |
mmcwilliams
|
2c3b4408fb
|
Log excessively and use info to build parseConfig function
|
2017-12-31 23:16:01 -05:00 |
mmcwilliams
|
9896bf1ad5
|
Array output must be let, not const, to filter before sending to device.
|
2017-12-31 22:27:02 -05:00 |
mmcwilliams
|
89199a5095
|
Remove blank responses in wifi access point listing
|
2017-12-31 22:03:42 -05:00 |
mmcwilliams
|
0064f75e3b
|
List wifi APs and log when process is starting
|
2017-12-31 21:41:18 -05:00 |
mmcwilliams
|
5b3d1ff2b3
|
Update write characteristic to use hash function, making createPSK public function
|
2017-12-31 21:32:09 -05:00 |
mmcwilliams
|
43f62e4885
|
wifi read characteristic in bleno and get network SSID on startup
|
2017-12-31 21:23:31 -05:00 |
mmcwilliams
|
488b614e16
|
Parse out hash and passphrase, mask passphrase when creating a record
|
2017-12-31 21:06:42 -05:00 |
mmcwilliams
|
d3a7a97c78
|
Wifi module test. Use wpa_passphrase to generate a safe password hash
|
2017-12-31 20:55:54 -05:00 |
mmcw-dev
|
bb41526516
|
Intval.reset() instead of intval._setState()
|
2017-12-22 15:28:47 -05:00 |
mmcw-dev
|
e1a54c10e0
|
Prevent sequence from starting if already started. Add an id to the sequence, for logging (though the doubling up should discontinue).
|
2017-12-20 23:29:08 -05:00 |
mmcw-dev
|
8333f451f8
|
Post sequence callbacks are not firing. Skip for now and just call back immediately
|
2017-12-20 22:39:20 -05:00 |
mmcw-dev
|
0b48dc87b4
|
use the microdelay to prevent multiple frames
|
2017-12-20 22:30:48 -05:00 |
mmcw-dev
|
a7bcb0a87b
|
Combine sequence and intval functionality
|
2017-12-20 22:10:36 -05:00 |
mmcw-dev
|
19815dbb4d
|
Log step sequence to keep track during tests. OFF BY ONE! OFF BY ONE!
|
2017-12-20 21:59:30 -05:00 |
mmcw-dev
|
11bf8b95f8
|
flag the start of a sequence and stop it.
|
2017-12-20 21:49:26 -05:00 |
mmcw-dev
|
b1085cb77c
|
Need to declare pins even during state restore failure.
|
2017-12-20 21:41:41 -05:00 |
mmcw-dev
|
64440f7c1c
|
Set state if invalid. Hopefully it overwrites?
|
2017-12-20 21:39:17 -05:00 |
mmcw-dev
|
ec156fc8b6
|
Log output of removing state directory
|
2017-12-20 21:34:00 -05:00 |
mmcw-dev
|
b605f875bc
|
Declare intval object variables before init function
|
2017-12-20 21:32:07 -05:00 |
mmcw-dev
|
a039e8f616
|
Do NOT use maximum loop logic when steppign throuhg a sequence without a max loop
|
2017-12-20 21:26:59 -05:00 |
mmcw-dev
|
64b0244972
|
Store callback to invoke at the end of a sequence
|
2017-12-20 21:24:51 -05:00 |
mmcw-dev
|
66ac78fee0
|
If state is malformed, quit and restart app
|
2017-12-20 21:03:57 -05:00 |
mmcw-dev
|
dbf641ef69
|
See how sequence.stop is being called, using console.trace
|
2017-12-20 20:59:52 -05:00 |
mmcw-dev
|
0668d856be
|
Errored out trying a stop function
|
2017-12-20 20:57:02 -05:00 |
mmcw-dev
|
573287384d
|
Actually call next step when running a loop
|
2017-12-20 20:53:21 -05:00 |
mmcw-dev
|
0a3add86cb
|
Only log stop function
|
2017-12-20 20:46:53 -05:00 |
mmcw-dev
|
e6070465e5
|
Sequence logic ready for testing
|
2017-12-20 18:40:51 -05:00 |
mmcwilliams
|
22d497b464
|
BLE features are working, minus the wifi feature. Good work today.
|
2017-12-13 18:40:14 -05:00 |
mmcwilliams
|
57efee6d7f
|
os module needs to be required first
|
2017-12-13 18:35:59 -05:00 |
mmcwilliams
|
35feed7775
|
Require bleno AFTER unique name is applied (this was messing up)
|
2017-12-13 18:34:00 -05:00 |
mmcwilliams
|
6cabd0e926
|
Use a better device id
|
2017-12-13 18:31:59 -05:00 |
mmcwilliams
|
567b1bb55d
|
Advertisement length error, try with char_id, not both ids
|
2017-12-13 18:25:02 -05:00 |
mmcwilliams
|
47c75f5ba9
|
Name and advertise properly
|
2017-12-13 18:22:32 -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
|
601d0cf581
|
Send a buffer of a string, not the entire string.
|
2017-12-12 13:24:26 -05:00 |
mmcwilliams
|
4aadc5a9df
|
Use callback model for bluetooth write events.
|
2017-12-12 13:09:13 -05:00 |
mmcwilliams
|
f74465cbbc
|
utf8 not uft8. I am a freaking dumbass.
|
2017-12-12 11:57:04 -05:00 |
mmcwilliams
|
05a69e5512
|
Do not log getState data, but do log utf8 string and parsed object onWrite
|
2017-12-12 11:54:43 -05:00 |
mmcwilliams
|
5f61865366
|
No need to log state
|
2017-12-12 11:38:48 -05:00 |
mmcwilliams
|
76fcc95327
|
See what state is before sending
|
2017-12-11 14:47:05 -05:00 |
mmcwilliams
|
5f97c7a4de
|
Pass back actual state object.
|
2017-12-11 14:44:27 -05:00 |
mmcwilliams
|
1fef6d6925
|
Pass an intval.state object into ble lib
|
2017-12-11 14:38:46 -05:00 |
mmcwilliams
|
a71deca9e3
|
INTBAL??????
|
2017-11-23 09:52:49 -05:00 |
mmcwilliams
|
6ce6af3abe
|
Log whether or not frame is part of a sequence.
|
2017-11-23 09:46:18 -05:00 |
mmcwilliams
|
6ee022a2a4
|
Had not declared query const properly. Fixed.
|
2017-11-23 09:35:47 -05:00 |
mmcwilliams
|
64389ab954
|
Add feature to list all frames and another to find others with a WHERE statement.
|
2017-11-23 09:34:24 -05:00 |