Separate String from byte

Hello guys,

I'm working on a projekt with HC-06 and arduino, I have created an app that sends a text and a byte combined let's say in this format "textbyte" my problem is I want to get the two formats with the serial read command respectively but I could find out how ? please any help would be appreciated

Youneedsomekindofdelimiterbetweenthetextandthebyte.Otherwise,it'sjustguessworkwhereoneendsandtheotehrbegins.

Thre serial input basics thread has great information that will help with your question.

yeah I thought about it but the problem is the text is written by the apps user so I don’t know if it will xork regardless

yeah I thought about it but the problem is the text is written by the apps user so I don't know if it will xork regardless

If the user can't manage to type the required delimiter, the user is too dumb to use your application.