Closed linxcow closed 3 weeks ago
You could just call getName and print the value. The toString method dumps more data.
Yes , but this was not my question. I want to see all data on 1 line when name is not empty , some devices print on several lines.
You'll need to implement your own version of toString to accomplish this.
How can i suppress following output to my serial monitor ? 20:50:32.829 -> Service Data: 20:50:32.829 -> UUID: 0xfe2c, Data:
I just want to see the advertised lines.: 20:50:25.525 -> Advertised Device: Name: < snipped >
I've noticed only a few specific devices adds those extra lines , maybe something to do with the toString().c_str() conversion