Sacha Weatherstone
285413c68c
Rename packetNum to packetId
2022-03-20 11:40:13 +11:00
Joshua Pirihi
3ab2ca57e9
NimBLE implementation
2022-03-06 05:43:26 +13:00
joshpirihi
53e8a40ffa
Merge branch 'meshtastic:master' into master
2022-02-15 06:52:48 +13:00
Joshua Pirihi
6c17626132
Use NimBLE API for ESP32 bluetooth
2022-02-15 06:52:00 +13:00
Thomas Göttgens
8e9b852faa
Littlefs rebased to Master ( #1205 )
...
* Littlefs
2022-02-14 11:45:29 -06:00
Mike Kinney
6883bc7afc
fix more warnings; add to CI; suppress some warnings
2022-01-24 19:58:07 +00:00
Mike Kinney
caaa235c5d
more cppcheck warnings fixes
2022-01-24 17:24:40 +00:00
Mike Kinney
b3210f6c2c
fix some cppcheck warnings
2022-01-24 07:00:14 +00:00
Mike Kinney
68fadfe26c
change name of define because MAX_BLOCKSIZE is already taken
2022-01-18 06:13:43 +00:00
Jm Casler
2ee1155c78
add namespace count to nvs stats
2022-01-08 11:54:30 -08:00
Kevin Hester
76269b397f
Merge remote-tracking branch 'root/master' into dev1.2
...
# Conflicts:
# src/esp32/main-esp32.cpp
# src/mesh/generated/deviceonly.pb.h
# src/mesh/generated/mesh.pb.h
2021-03-27 16:44:42 +08:00
Jm
4f4cdf4f9e
#669 Add restart counter
2021-03-27 01:00:27 -07:00
Kevin Hester
8ffd5a1d4f
add reboot message
2021-03-27 10:19:59 +08:00
Kevin Hester
7b4f8fb6d6
Fix firmware OTA update while is_router
2021-03-23 14:44:50 +08:00
Kevin Hester
49b1f4c5af
oops - fix failed text message rx
2021-03-06 14:21:20 +08:00
Kevin Hester
2761c85564
clean up the crypto api
2021-02-23 10:10:35 +08:00
Kevin Hester
8c225a3c65
disable lora while updating, show "Updating" on oled screen
2021-02-12 13:48:12 +08:00
Kevin Hester
edd1268f5f
portduino: begin adding wifi implementation
2021-01-03 10:11:20 +08:00
Kevin Hester
d289e8a86f
Merge remote-tracking branch 'root/master' into dev
2020-12-31 14:02:47 +08:00
Jm
2867f8fd53
Fix for #606 and #597
...
Upload interface randomly crashes #606
watchdog timer exception while building https certificate #597
2020-12-30 18:10:35 -08:00
Kevin Hester
cdf416cb73
partial fix for #608 - when a new TCP API connection arrives, close old one completely
2020-12-31 10:02:18 +08:00
Kevin Hester
c972197643
fix #598 don't corrupt the heap when a TCP connection drops
2020-12-27 16:58:32 +08:00
Kevin Hester
f2698bbf91
bug #496 - allow update clients to program SPIFFS region
...
also have build system properly build spiffs release builds
2020-11-16 08:56:32 +08:00
Kevin Hester
2fd5ce00ce
fix build for esp32 targets
2020-11-07 15:09:05 +08:00
Kevin Hester
d7368d5a51
begin deep sleep support for nrf52
2020-10-30 17:05:32 +08:00
Kevin Hester
0b3c25f6d9
use correct code for "talking to phone" fixes OTA update while a router
2020-10-21 16:50:09 +08:00
Kevin Hester
49b4ed2a89
coroutine: kinda works now
2020-10-10 18:03:45 +08:00
Jm Casler
28119bf1bf
Fix for #439 and some cleanup
2020-09-26 00:01:02 -07:00
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
Jm Casler
b39f6c96bd
Merge remote-tracking branch 'origin/dev-wifi'
2020-09-22 22:00:07 -07:00
geeksville
9e9c50e6d8
Add API server on port 4403 (kinda a WIP, seems to work but I haven't
...
finished the python client code)
2020-09-19 12:54:49 -07:00
geeksville
fefd3d78f3
Portduino WIP now compiles but does not link
2020-09-05 12:34:48 -07:00
geeksville
c370eb4a88
allow restarting failed upgrades (fixes an android autobug report)
2020-08-30 12:21:05 -07:00
geeksville
204f2c1a68
software update service now registered with NimBLE
2020-07-24 11:39:48 -07:00
geeksville
a5b7501a4e
nimble add debug output
2020-07-24 10:12:25 -07:00
geeksville
b0e2c81666
nimble software update WIP builds
2020-07-23 15:57:31 -07:00
geeksville
00ca351169
WIP begin changing software update service over to nimble
2020-07-23 13:01:31 -07:00
geeksville
107b56a346
move bluetooth enable
2020-07-22 21:41:56 -07:00
geeksville
abdc4dfae8
remove old mesh ble service
2020-07-22 21:29:32 -07:00
geeksville
b6a3deb341
nimble WIP - writes kinda work now
2020-07-22 12:08:54 -07:00
geeksville
531f488fe8
WIP nimble ugly but advertise works
2020-07-22 10:46:01 -07:00
geeksville
7f6dc104f0
nimble WIP - add advertising boilerplate
2020-07-22 09:51:57 -07:00
geeksville
102085808f
WIP nimble now builds
2020-07-21 12:42:24 -07:00
geeksville
2645730329
Merge branch 'post1' into nimble
...
# Conflicts:
# docs/software/TODO.md
# docs/software/nrf52-TODO.md
# platformio.ini
# src/esp32/MeshBluetoothService.cpp
2020-07-21 11:20:09 -07:00
geeksville
6aa28f55dd
WIP stubify to get app building without CONFIG_BLUEDROID (BLE disabled)
2020-07-21 11:16:14 -07:00
geeksville
1e86365167
MITM_BOND supposedly doesn't have the problem mentioned in #266
...
(and it is good / more secure anyways - the old code was just
based on the example docs)
2020-07-19 15:01:15 -07:00
geeksville
9e10ce487c
Merge branch 'master' into post1
2020-07-18 13:32:30 -07:00
geeksville
cfedc97cd0
Show NVS flash utilization at boot (for debugging ble things?)
2020-07-18 08:49:42 -07:00
geeksville
4147786b12
WIP of adding NRF52 bluetooth API, we take a hardfault in Bluefruit init
2020-07-15 13:10:56 -07:00
geeksville
ed589727d6
Update NRF52 build to work again
2020-07-09 19:57:55 -07:00