in reply to How to identify string

yes, run a regex on your received data or, simpler/faster, check if each byte received is ASCII digit (0x30-0x39). However, you have a huge data verification task ahead if your device behaves like this...