Commit graph

9 commits

Author SHA1 Message Date
bunnie
9c49940e1d add callback test back into shellchat 2021-03-18 04:22:17 +08:00
bunnie
eda33b5de7 factor out the shellchat callback, which mysterious breaks things 2021-03-16 18:03:12 +08:00
bunnie
2f71f2a1f5 add/test facility for handling async callbacks from shell commands 2021-03-14 00:39:27 +08:00
bunnie
4006df3c4f add instructions on how to make commands 2021-03-11 22:54:24 +08:00
bunnie
ae418f5718 refactor shellchat API to have less repeated code 2021-03-11 22:31:38 +08:00
bunnie
4baaec61d2 add sensors command to read ADC values 2021-03-11 02:57:58 +08:00
bunnie
2b66ab1db0 refactor to put commands in static storage
so that state can actually persist across multiple calls
2021-03-11 01:45:02 +08:00
bunnie
9566355f9a refactor command API
should be a bit more convenient now to add/modify command
lists as time goes on
2021-03-10 22:59:52 +08:00
bunnie
e829c0bd06 add framework for modular commands
I am not happy with this. I think the framework could be better
but I also can't figure out how.
2021-03-10 04:18:57 +08:00