Jonathan Bennett
Jonathan Bennett
> I realized today that long-pressing a rotary encoder doesn't do anything as it's not a 'real' user button, it just performs the user button select action. The big question,...
Set MAX_NUM_NODES super low in your variant.h, and see if it gives you enough headroom. I merged locally and attempted this. Getting errors ``` /home/jbennett/.platformio/packages/framework-arduinoststm32/system/Drivers/CMSIS/Device/ST/STM32WLxx/Include/stm32wle5xx.h:993:47: error: expected ')' before '*'...
Another flash saving potential is the unishox library. It's only actually used for ATAK packets. #ifdef it out of existence, to save a few more bytes.
I think the game plan is to modularize the S&F backend to support more devices and storage types.
Somewhat related is the desire to set precision levels for different channels. Possibly through a bitmask that gets AND'd with the location at https://github.com/meshtastic/firmware/blob/master/src/modules/PositionModule.cpp#L110 before sending the packet.
> Seems really complex, uses a bunch of airtime and is of marginal benefit, still not sure why secondary channels need position. Also has to be done in 3.0. Adds...
> Assuming you don't want the whole world to be able to follow you in real-time, wouldn't it be better to allow manual imprecise position requests on secondary channels? Does...
> I had originally envisioned that being an enum w/ flags We could do that with the GPS stuff, too. Maybe define high, mid, and low accuracy GPS flags.
I bet the GPS chip is actually sending an *empty* altitude value. TinyGPS doesn't have a code path for this, and ends up dereferencing an unset pointer. Working on a...
Given those values, @caveman99 is probably right. And the raw value is in 1/100 of a meter, so that checks out. Any chance you're 14 meters below sea level? Either...