..........Total 2 devices found:
idx address flag RSSI
0 C6:32:4D:E8:51:75(RAN) 1A -80 OMATE X by Unknown, service: (no service info)
1 C0:20:63:BA:FF:8A(RAN) 6 -99 BT_HEADSET_DEMO_LE by Unknown, service: (no service info)
------scan stopped-------
// read the device manufacturer
// first we check if "Device Information"(0x180A) service is available:
if(client.hasService(0x180A))
{
const String name = client.readCharacteristicString(LBLEUuid(0x2A29));
if(name.length() > 0)
{
Serial.print("manufacturer=");
Serial.println(name);
}
}