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 cubecell wip 2020-06-16 17:13:26 -07:00
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 stop explicitly using Serial.print for debug messages 2020-02-04 08:17:44 -08:00
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 just a cleanup of the graphics 2020-07-07 10:46:49 +02:00
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 Changed GPS DOP display to bars, added satellites display and compass rose 2020-07-03 02:53:56 -07:00
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 Added the option for forced NodeStatus updates on user change or text message, tweaked compass (#256) 2020-07-05 17:03:12 -07:00
Observer.cpp move bluetooth code into something that is architecture specific... 2020-04-10 12:18:48 -07:00
Observer.h misc NRF52 fixes 2020-04-23 12:47:41 -07:00
OSTimer.cpp use my Timer class on all platforms, it works better than the freertos version 2020-05-25 07:48:36 -07:00
OSTimer.h use my Timer class on all platforms, it works better than the freertos version 2020-05-25 07:48:36 -07:00
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 Create RedirectablePrint and NoopPrint for serial debug redirection 2020-04-27 09:01:25 -07:00
RedirectablePrint.h Create RedirectablePrint and NoopPrint for serial debug redirection 2020-04-27 09:01:25 -07:00
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 unify activity detection in PhoneAPI, turn off BLE API while serial API in use 2020-06-08 16:06:59 -07:00
sleep.cpp Merge remote-tracking branch 'root/master' into dev 2020-09-11 18:15:13 -07:00
sleep.h 0.7.6 2020-06-15 07:04:03 -07:00
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 Refactored status handlers and merged 2020-06-28 18:17:52 -07:00
target_specific.h portduino now links! 2020-09-06 09:24:08 -07:00
utils.h Add cpp clamp function to util.h, switched battery and signal strength percentage calcs to it #197 2020-06-22 14:06:02 -07:00