firmware/src
geeksville 2996c7c8e2 Make tcp API now work. Sample usage and caveats below:
Sample usage:

First configure device to use @mc-hamster's new wifi stuff:
meshtastic --set wifi_ssid mylanname --set wifi_password mylanpassword

Then reboot the device (so wifi starts up).

(assuming device was assigned addr 192.168.81.45)
meshtastic --info --host 192.168.81.45
(See the usual device info you previously had to get over USB)

Caveats:

* Currently we are limiting to one active TCP connection open at once, if
you open a new session the old one is closed automatically
* There are no access controls/authentication needed to open a TCP
connection to the device
* Currently main.cpp is kinda dumb about how we should schedule work and
we rely on too many helper loop() functions.  Very soon in my queue
(related to all the other cleanup) is to add a basic notion of coroutines,
so that we can get away from freertos threads and this old school arduino
loop function.  Once that cleanup happens we can the a) have much lower
battery consumption (always) and b) super fast response for all operations.
2020-09-25 16:18:30 -07:00
..
concurrency fix nrf52 build 2020-09-07 13:03:37 -07:00
cubecell
esp32 Make tcp API now work. Sample usage and caveats below: 2020-09-25 16:18:30 -07:00
gps Merge branch 'dev' 2020-09-17 11:20:41 -07:00
graphics shrink guard for channel settings lock 2020-09-25 12:52:26 -07:00
mesh move region into userpreferences, to end region specific firmwares 2020-09-25 12:52:08 -07:00
meshwifi Note not to file bugs 2020-09-24 11:07:30 -07:00
nimble Initial check-in of David's UI 2020-09-22 21:01:31 -07:00
nrf52 Add stubs so that portduino can build with wifi. cc @mc-hamster 2020-09-23 17:22:17 -07:00
portduino Add stubs so that portduino can build with wifi. cc @mc-hamster 2020-09-23 17:22:17 -07:00
.gitignore
BluetoothCommon.cpp nimble WIP - add advertising boilerplate 2020-07-22 09:51:57 -07:00
BluetoothCommon.h nimble WIP - add advertising boilerplate 2020-07-22 09:51:57 -07:00
commands.h
configuration.h Merge remote-tracking branch 'origin/dev-wifi' 2020-09-22 22:00:07 -07:00
error.h sometimes save config fails on ublox, don't cause a reboot for that 2020-07-22 10:45:38 -07:00
freertosinc.h Portduino WIP now compiles but does not link 2020-09-05 12:34:48 -07:00
GPSStatus.h
main.cpp Merge remote-tracking branch 'root/master' 2020-09-25 09:19:58 -07:00
main.h Merge remote-tracking branch 'origin/dev-wifi' 2020-09-22 22:00:07 -07:00
NodeStatus.h
Observer.cpp
Observer.h
OSTimer.cpp
OSTimer.h
Power.cpp fix #371 allow button while using API. also don't let tbeams sleep if they have USB power 2020-09-21 12:41:39 -07:00
power.h Add battery sensing (mostly) for TBEAM0.7 2020-08-12 17:03:36 -07:00
PowerFSM.cpp fix #371 allow button while using API. also don't let tbeams sleep if they have USB power 2020-09-21 12:41:39 -07:00
PowerFSM.h fix #371 allow button while using API. also don't let tbeams sleep if they have USB power 2020-09-21 12:41:39 -07:00
PowerStatus.h fix #336 don't send battery status on nodes without batteries 2020-08-25 13:00:55 -07:00
RedirectablePrint.cpp
RedirectablePrint.h
SerialConsole.cpp fix #371 allow button while using API. also don't let tbeams sleep if they have USB power 2020-09-21 12:41:39 -07:00
SerialConsole.h
sleep.cpp Merge remote-tracking branch 'root/master' into dev 2020-09-11 18:15:13 -07:00
sleep.h
SPILock.cpp If display is on on the @BigCorvus board and we xmit the board browns out? 2020-08-28 17:38:23 -07:00
SPILock.h If display is on on the @BigCorvus board and we xmit the board browns out? 2020-08-28 17:38:23 -07:00
Status.h this seems bad - this value was not inited if it wasn't in bss 2020-08-21 10:56:54 -07:00
StatusHandler.h
target_specific.h portduino now links! 2020-09-06 09:24:08 -07:00
utils.h