How to send and receive multiple integer values through serial comm for Arduino Micro and HC05 bluetooth?
Try Google Protobuf it's really awsome. I use it every time when I connect C# app to STM but it can be used in this case as well. U use Protobuf to encode your message and COBS do remove zeros from message so you can slap it on the end to know when the packet ends