mmcwilliams
|
07229c7925
|
Refactored wifi and ble into typescript and converted logic to async/await for most methods. Compiles without errors ATM.
|
2019-11-26 22:10:59 -05:00 |
mmcwilliams
|
de481ee185
|
Add bleno types.
|
2019-11-26 21:16:13 -05:00 |
mmcwilliams
|
8986014a82
|
Refactor wifi lib into Typescript. Only used one "any" on a custom module require that I need to revisit. (log). Yeeha!
|
2019-11-26 11:41:15 -05:00 |
mmcwilliams
|
84ee49a71c
|
Compile ble and wifi as is.
|
2019-11-26 10:44:08 -05:00 |
mmcwilliams
|
839ff97f5a
|
Properly escape passwords and ssids
|
2019-10-31 01:16:01 -04:00 |
mmcwilliams
|
46c497bd54
|
Use ip instead of ifconfig, which is deprecated and breaks on the latest stretch, for me
|
2019-03-27 18:26:33 -04:00 |
mmcwilliams
|
3a4c076d82
|
Limit list to 20 wifi APs, not 5.
|
2019-03-26 16:08:16 -04:00 |
mmcwilliams
|
757e3dd86d
|
Only list top 5 wifi hotspots
|
2018-01-09 13:39:43 -05:00 |
mmcwilliams
|
0b5e4c47d3
|
parseConfig rejoins the class as _parseConfig
|
2018-01-01 00:38:08 -05:00 |
mmcwilliams
|
40a306c9e1
|
Callback reads _ssid not ssid
|
2018-01-01 00:37:00 -05:00 |
mmcwilliams
|
83ed21441c
|
Bind functions to this
|
2018-01-01 00:34:24 -05:00 |
mmcwilliams
|
4ce4ac2735
|
Restore wifi functionality for writing full config file.
|
2018-01-01 00:28:11 -05:00 |
mmcwilliams
|
5496881616
|
Improve parser to ignore stanzas that are commented out or not formatted by this program.
|
2018-01-01 00:19:07 -05:00 |
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
|
9302cf1b21
|
Force example frame before evaluating query and body of post for parameters
|
2017-10-21 12:10:16 -04:00 |
mmcwilliams
|
1b51b50185
|
Add log library
|
2017-09-24 22:27:53 -04:00 |
mmcwilliams
|
aadf6aef37
|
Remove extra function name from docs
jsdoc does this well enough without repeating. Does not actually
improve readability in code
|
2017-09-19 15:23:48 -04:00 |
mmcwilliams
|
b60334d4b7
|
Add documentation to wifi library
|
2017-09-17 15:50:14 -04:00 |
mmcwilliams
|
3057f95e97
|
Remove detritus from file this is derived from
|
2017-08-21 22:48:03 -04:00 |
mmcwilliams
|
3f9e2853b0
|
Start project with blootstrap (pre publishing)
|
2017-08-21 21:11:07 -04:00 |