Device code release announcements

First beta release! 0.6.7 beta - this is mostly changes ‘beneath the hood’ you don’t need to be in any great rush to upgrade to this release.

  • Fix a battery level bug on TBEAM noticed by @scott
  • More progress on the full DSR implementation (which will make unicast messages more efficient)
  • Add support for 4 byte node nums and 4 byte packet ids (will help security and enable things like UDP and MQTT)
  • Support for @syed’s nrf52 board
  • Some changes ot the sx1262 driver to help @dafeman’s board effort
  • Improve NRF52 debugging environment
  • Add support for LCD displays
  • Use receive duty cycle to make power draw on sx1262 radios dramatically lower
  • Fix a few misc bugs.
3 Likes

0.6.8

This is a quick small release to fix a serious bug that can cause repeated device reboots - introduced in 0.6.7. If you’ve installed 0.6.7 you should update to this release, otherwise it isn’t critical.

firmware-ttgo-lora32-v1-EU433-0.6.8.bin- Oled doesn’t work. No I2C device found.

Hello !

I’m quite new to programming and find it easier to just flash prebuild firmware.
I searched hole Meshtastig github sources but can’t find any of flashable binaries.
Could some one please point me in the right direction. I’m currently using an older
TTGo board V1 I guess.

Thanks in advance !

Found it after taking of my blinds, lol

Thanks !

1 Like

That load is for a particular board called a ttgo-lora32. If you have a tbeam you should be installing firmware-tbeam. Does that help?

1 Like

Installed: firmware-tbeam-EU433-0.6.8.bin and firmware-ttgo-lora32-v2-EU433-0.6.8.bin -works OK. I have a custom board.

1 Like

In addition to the new android app release (see message prior). 0.7.4 of the device code is out (thanks @dafeman for alpha testing).

  • Change nodenum and packet ID to be 32 bits (this should be backwards compatible with the apps, and this should be the last protocol change before 1.0). Longer nodenums enable the upcoming MQTT/internet gateway feature, longer packet IDs make the encryption more secure.
  • @rradar and @slavino Improved the README. Thanks!
  • Remove the rev1 BLE API (hasn’t been used by recent apps)
  • When using the USB version of the protocol, prevent the device from sleeping
  • When using the USB protocol, disable the “next screen” button
1 Like

updated to 0.7.4 Looking good just a couple of minor things - On initial boot I got an assert failed, to do with ublox “ok” and it rebooted, not a big issue really, maybe gps responding to some spurious stuff during flashing.

When I sent 1st message after update it got very chatty seemed to loop and resulted in “Telling client we have new packet” up to 20 - like ping pong It may be nothing, or the app resending old stuff, new protocol? I updated for the first time in a few weeks and I used esptool directly to avoid having to redo the BT pairing and with self built firmware, just firmware.bin flashed to 0x10000, no erase, no device info - that may be an issue or not? So dont waste time looking at it unless others report it. It was not repeatable later, I send one message and see it sent and a reply - everything looks good :smiley: all working fine logs attached in case they are of interest.
https://pastebin.com/wc3YbcF3
https://pastebin.com/2eLU8Y2k

1 Like

0.7.6 beta

I think everyone should upgrade to this release (and also the latest android app).

Thank you to the alpha testers who tested an early version of these change. This release adds fixes based on their findings.

(finally) Fixed a super nasty bug in the bluetooth library code (that I didn’t even realize was there). Any packets sent from phone to device had a fair chance of corruption if they were larger than 20 bytes. With recent longer packets in the 0.7.x tree this manifested as “mysterious loss of bluetooth comms”.

Also - an an upstream change in the esp32-arduino libs introduced a bug that could cause bluetooth state corruption which manifested as inability to pair and repeated requirements to repair.

Other fixes:

  • Don’t leak BLE handles (found while debugging the big bug)
  • Fix out out packet errors if stress testing on big meshes
  • Fix a hang that could occur (rarely) white trying to enter sleep

0.7.8 device release notes (thank you alpha testers!)

  • A very important release for TBEAM users. Recent builds had a very high chance of failing to use the GPS correctly (bug #187).
  • Also fixes a bug in the esp32 arduino code where, if you disconnected bluetooth on the android side, the device would not reconnect to the phone for a very long time (many minutes)

Other fixes and improvements:

  • @zombodotcom fixed support for external GPSes on Heltec devices
  • Add support for sx1262 radio chips
  • Decrease RAM usage
  • Make GPS status string on display clearer
1 Like

@geeksville thanks a lot for this. I loaded new version today on my tbeams - no more gps bad message and all returned gps ok. I did try out the radio mesh. They all meshed well but the time between radio re-connection still seemed long. So I would have a message saying +70 minutes since last connection.
I am still trying to understand this - how to make a contact with the other radios? The centre button seems to be the way I can do this. But I am not clear whether this is the only way.
I am using the app version 7.80 - it found and paired with the radios well. But after pairing the radios would be lost and re-connection was very difficult. I had no messages about radio asleep but I never saw all my tbeam icons together on mapbox. I hit a report bug for this. Not too much time today to do more - I will try some more tests tomorrow.

1 Like

ok - I’ll look for the report tonight. What model phone (which is how google lets me look for it)?

@geeksville it’s a Sony Xperia Z1 C6903 running Android 5.1.1

0.7.10 device code released - thank you alpha testers for testing 0.7.9!

(This is basically 0.7.9 with a couple of small tweaks - so releasing more broadly)

Wow! This last week has so many more great commits from other devs (mostly @professr). I’m still working on my changes (one more BLE bug still exists I think in ardunio-esp32 but I’m still working on nailing it down - now that my house tasks are complete), but I wanted to get all this new goodness out there.

Highlights of this release:

  • @Professr added GPS DOP support, battery % full calculations, a very nice ‘polished looking’ node status display, and fixed utf8 characters (so Japanese etc… now looks better on the display) and changed display to be event driven.
  • @aHVzY2g improved the readme with a new 3D case and added the bluetooth name to the pairing screen
  • @rososaurus improved the readme with recommendations on different TBEAM versions
  • @zjwhitehead improved the compass display, so it is clearer when you don’t have a GPS lock vs the person you are trying to find doesn’t have one
  • @aHVzY2g and @professr worked together to add OLED brightness control (just longpress on the control button to change the display brightness)
  • @mrvdb added support for diffent screen widths
  • Sometimes GPS reads would stall - fixed
  • Show sw version on boot screen
  • Report battery levels to other nodes in mesh (and phone)
9 Likes

0.7.11 is out of alpha-test - thank you to the brave early testers ;-). One other feature of this release: almost all of code fixes and new features were by devs other than me :slight_smile: . Please let me know how it works for you (I’ve been using it a couple of days here) and after a few of you bless, I’ll make it not alpha and include it in the next android release (for automatic updates of the firmware from the app)

Major changes since 0.7.10

  • @professr made the device status screen even more pollished (bars for GPS signal quality). She also added “north” marker on the compass display - so you can see where the device thinks is north (estimated by your past movement) and fixed “automatic location updates” when you view a node on the device screen.
  • @grcasanova - cleaned up namespace usage in the codebase
  • @slavino added (working) support for the TBEAM0.7
  • @mrvdb fixed drawing issues with sh1106 displays

https://github.com/meshtastic/Meshtastic-device/releases/tag/0.7.11

1 Like

Thank you alpha testers for testing 0.9.1 - it sounds like it is pretty solid.

0.9.1 - Fix #266 (the ‘esp32 loses BLE pairing’ bug). Other benefits:

  • Bluetooth is 4x faster
  • substantially lower RAM and FLASH consumption (which makes plenty of IRAM space to leave wifi always enabled)
  • Eventually will allow the same BLE implementation on NRF52 and ESP32 targets - because NimBLE can run on both platforms
  • BLE ‘handles’ are assigned in a stable fashion, so eventually (after widely deployed) the nasty “force service refresh” hack needed on Android clients can be removed.

NOTE You will need to re-pair once :smile: after installing this new load (because it is keeping different device signing data than the old Bluedroid based implementation)

And no good deed goes unpunished. Anyone willing to try the new 0.9.01 android app I just released to the alpha/beta channels?

Highlights since last release:

  • @magdalinos added Greek translation!
  • @TitanTronics added Albanian translation!
  • @eriktheV-king updated a couple of existing languages
  • OTA firmware update to 0.9.01 (if you haven’t updated your device to 0.9.01 would you mind trying using the OTA to do it? - via the settings screen). You might need to manually press the reset button on the radio after the update (just this time - future updates won’t require this)
  • Fixed a few rare autobugs

Early this week (after I improve docs for @CycloMies) I’ll work on the items in the second column here:

2 Likes

0.9.01 android app Samsung Galaxy J3 Orbit
T-Beam V1 bin 0.8.2
Attempted OTA update, got Update failed message. Sent bug report.
Also got same update failed trying to update from 8.2 bin on tlora-v2-1-1.6.
Same results on both after clearing meshtastic data and resetiing both units.

Just got home from a long weekend away. Sorry I couldn’t test earlier.

1 Like

Nice job!
Updated Android to 0.9.01 via appstore no problem.
On Android 7 phone updated a Tbeam and a Lora32v2 from 0.8.2 to 0.9.1 and both restarted without pushing resetbutton, then prompted to repair. All seems to work okay. BT OTA went 10x times faster and I had not to restart the app 15 at all!
My newer Android 10 phone did about double the time (15 minutes) to update each a Tbeam and a Lora32v2 from 0.8.2 to 0.9.1, but this must be related to its slower BT chip, as it’s a much cheaper phone.
Very cool screen gps & bat icons on the devices now !

1 Like