Wykres commitów

47 Commity (4209fc8b2c2c1ca5bf7b40d6b3bb229ab63b5543)

Autor SHA1 Wiadomość Data
Kevin Hester 7f5ab472b9 mqtt: downlink now works 2021-04-05 09:38:00 +08:00
Kevin Hester c361c1fab7 Update to nanopb 0.4.4 2020-12-11 08:31:41 +08:00
geeksville 03f019dea2 memory size debugging 2020-06-16 19:55:14 -07:00
geeksville 9149912a2d adafruit includes segger by default 2020-05-21 21:17:19 -07:00
geeksville 5ec5248fe4 complete ble ota move 2020-05-14 14:22:11 -07:00
geeksville 14fdd33972 move bluetooth OTA back into main tree for now 2020-05-14 14:20:05 -07:00
Dafeman c4a1fe0f36
Pad Bluetooth passkey to 6 digits 2020-05-09 23:09:36 +12:00
geeksville e5d2d24e2c move nanopb includes to correct directory 2020-04-27 09:27:36 -07:00
geeksville 309e7be00c use segger console on nrf52 2020-04-23 13:52:46 -07:00
geeksville f0f6c4950b on NRF52 use the Segger debug console for debug logging 2020-04-23 13:27:16 -07:00
geeksville 3673f95fe5 woot! using new BLE api approximately works for reading 2020-04-23 11:02:14 -07:00
Girts Folkmanis daf8594b99 Screen cleanups and refactoring
Work towards separating out how Screen interacts with other stuff.
* `Screen` should now be thread-safe. All commands to it are put in a
  queue and handled in `doTask` from the `loop()` task.
* Break dependency from `BluetoothUtil` to `Screen` by changing the
  pairing request into a callback.
* All accesses to screen now happen through the class.
* Fix `drawRows` so that the text scrolls along with frame animations.
* Remove example code that wasn't used.
2020-03-18 18:11:35 -07:00
geeksville ffe8bf2be6 Refactor to make some real design docs 2020-03-05 18:39:24 -08:00
geeksville 951f5d11d5 fix text message display when new text arrives
The problem was we were pulsing the display power briefly down while
reentering the ON state (because the ON states exit rule turned it off).
Instead we now just turn off the screen on entry to DARK or LS states
2020-03-04 16:46:57 -08:00
Kevin Hester e01680cd4b Change all repo URLs to be meshtastic... instead of geeksville... 2020-03-02 15:13:33 -08:00
Girts Folkmanis 0b8d7768fd some minor cleanups
* Suppress warnings about conflicting library names in platformio.ini by
  explicitly picking the libraries by id that we want.
* fix unused static function warning by making it not static ;)
* declare arduino-fsm as dependency for BluetoothOTA. Hopefully this
  fixes the CI builds?

Tested: `pio run` builds.
2020-02-28 19:26:11 -08:00
geeksville 8893be57df kinda ugly but BLE sw update seems reliable again 2020-02-24 18:09:58 -08:00
geeksville 0ce1bbb758 expose standard ble sw/hw version characteristics from the updater
We also implement the following standard GATT entries because SW update probably needs them:
+
+ESP_GATT_UUID_SW_VERSION_STR/0x2a28
+ESP_GATT_UUID_MANU_NAME/0x2a29
+ESP_GATT_UUID_HW_VERSION_STR/0x2a27
2020-02-24 10:24:21 -08:00
geeksville 419dd44ff6 BT sleep leak now down to about 200 bytes 2020-02-23 18:09:40 -08:00
geeksville 621beadb5c btle leak per sleep now down to about 500 bytes. 2020-02-23 16:42:09 -08:00
geeksville a45d7be922 still leaking in the BT stack but better 2020-02-23 13:54:40 -08:00
geeksville f9ce6a53e1 ble works again after sleep - but we are still leaking 2020-02-23 13:20:46 -08:00
geeksville 5f88174dbf wip - finally done switching to dynamic allocs 2020-02-23 12:25:59 -08:00
geeksville bf640bec3c WIP - more progress switching to dynamic alloc 2020-02-23 11:46:58 -08:00
geeksville 76100e23eb WIP make swupdate keep power on 2020-02-23 11:37:38 -08:00
geeksville a678dd3ee8 WIP - all BT characteristics must be dynamically alloced 2020-02-23 11:05:55 -08:00
geeksville 356902d552 wip - make ble come back after sleep 2020-02-23 10:49:37 -08:00
geeksville 316347226b don't use a symlink to find my modified RadioHead, use a pio depdency
To make it more easily buildable by others.
2020-02-23 08:24:10 -08:00
geeksville bf491efddf begin support for countries besides the US 2020-02-18 16:18:01 -08:00
geeksville 52b398083a general both build types 2020-02-14 14:00:08 -08:00
geeksville a7b5da5dd2 only one announcer seems supported in ESP32 BLE, so use that for our mesh service 2020-02-13 11:53:46 -08:00
geeksville c3c127d425 for now allow bt connects always (though our characteristics are locked down) 2020-02-08 16:17:31 -08:00
geeksville ef315b2b39 don't let non bonded devices connect to our services 2020-02-08 07:38:29 -08:00
geeksville 593a6e6f83 BLE is now secured to require pairing with PIN 2020-02-07 20:59:21 -08:00
geeksville ade30ee1ce bidir comm works 2020-02-06 21:26:40 -08:00
geeksville b04fb061c4 stop explicitly using Serial.print for debug messages 2020-02-04 08:17:44 -08:00
geeksville f2a731c22d update to nanopb 2020-02-03 22:22:53 -08:00
geeksville df2b40f5a1 report hw vendor and sw version via BLE 2020-02-03 20:18:36 -08:00
geeksville d4284ba95d back to battling jtag 2020-02-03 17:13:41 -08:00
geeksville e6535f5504 we now BLE notify for the arrival of new messages 2020-02-02 20:54:40 -08:00
geeksville ef4e7911f5 turn off battery service for now 2020-02-02 13:37:02 -08:00
geeksville 4051bf8465 begin adding rx from radio handling 2020-02-02 09:59:00 -08:00
geeksville de03dc88f4 bt to mesh code is written 2020-02-01 16:14:34 -08:00
geeksville 490331f3cd wip 2020-02-01 16:05:12 -08:00
geeksville a36c6b07df add protobufs 2020-02-01 11:56:32 -08:00
geeksville 240d5955e9 progress 2020-02-01 11:25:07 -08:00
geeksville cdb7153071 move my bt experiment into its own repo (about to remove ttn) 2020-02-01 08:30:53 -08:00