When the data is received, the printData() function is called. You need to parse the data in that function, to find the data of interest. You might observe that there are consecutive carriage return/line feeds just before the data of interest.
When the data is received, the printData() function is called. You need to parse the data in that function, to find the data of interest. You might observe that there are consecutive carriage return/line feeds just before the data of interest.