mchisholm26 / Rocket-Project-2024

2 stars 0 forks source link

Base station message buffer #5

Closed pweber22 closed 5 months ago

pweber22 commented 5 months ago

When the base station receiver gets a new message it overwrites the beginning of the character buffer but the end of any longer message remains. Example:

ok: serial connected
ok: radio connected
message: Hello, rocket here
rssi: -29
message: error: initializing BNO055
rssi: -29
message: Hello, rocket hereg BNO055
rssi: -28
message: error: initializing BNO055
rssi: -31
message: Hello, rocket hereg BNO055
rssi: -32
message: checks complete, ready to go�
rssi: -29
message: Hello, rocket hereeady to go�
rssi: -28
message: checks complete, ready to go�
rssi: -32

Once a long message is in the buffer, it remains there and the end is printed after shorter messages.

itsactuallyluna9 commented 5 months ago

incorrect GitHub I said potentially fixes not fixes