There is a good amount of lag in this forum that plays some tricks on us. i seems that we get a little "out of sync" in our conversation.
I did get a bit inpatient from all the planning and "designing" on the new functions so I couldn't really stop myself from going ahead and write my own code...sorry.
I use platformio as IDE and with the arduino framework it wasn't so many hours of work.
That said, I would like to use your code anyhow because I will need other type of functionality onboard where you cli approach is much better suited.
As I understand from your answers what I first called a bug is the uart=>cli functions you describe...sorry again. But the "forget everything and reset" is still there and it is easy to trigger...I will describe how you can trigger that.
I also understand that I should be getting the sensor value out on the uart...is that so?
I will play some more with the BME280 and leave the "GPS" out of the equation as it constantly spews info. and make it hard to se other data. I'll report back on that to.