Lines Matching refs:PrintError
77 PrintError(msg); \
123 void PrintError(const string& message) { in PrintError() function
232 PrintError("Failed to register BLE client"); in OnClientRegistered()
278 PrintError("Failed to register BLE advertiser"); in OnAdvertiserRegistered()
315 PrintError("Failed to register BLE client"); in OnScannerRegistered()
357 PrintError("Failed to register GATT client"); in OnClientRegistered()
477 PrintError("In progress"); in HandleRegisterBLEAdvertiser()
482 PrintError("Already registered"); in HandleRegisterBLEAdvertiser()
489 PrintError("Failed to obtain handle to Bluetooth Le Advertiser interface"); in HandleRegisterBLEAdvertiser()
505 PrintError("Not registered"); in HandleUnregisterBLEAdvertiser()
512 PrintError("Failed to obtain handle to Bluetooth Low Energy interface"); in HandleUnregisterBLEAdvertiser()
525 PrintError("In progress"); in HandleRegisterBLE()
530 PrintError("Already registered"); in HandleRegisterBLE()
537 PrintError("Failed to obtain handle to Bluetooth Low Energy interface"); in HandleRegisterBLE()
551 PrintError("Not registered"); in HandleUnregisterBLE()
558 PrintError("Failed to obtain handle to Bluetooth Low Energy interface"); in HandleUnregisterBLE()
573 PrintError("Failed to obtain handle to Bluetooth Low Energy interface"); in HandleUnregisterAllBLE()
585 PrintError("In progress"); in HandleRegisterGATT()
590 PrintError("Already registered"); in HandleRegisterGATT()
597 PrintError("Failed to obtain handle to Bluetooth GATT Client interface"); in HandleRegisterGATT()
611 PrintError("Not registered"); in HandleUnregisterGATT()
618 PrintError("Failed to obtain handle to Bluetooth GATT Client interface"); in HandleUnregisterGATT()
649 PrintError("Expected a Uuid after -u"); in HandleStartAdv()
657 PrintError("Invalid Uuid: " + uuid_str); in HandleStartAdv()
675 PrintError("Unrecognized option: " + arg); in HandleStartAdv()
681 PrintError("BLE advertiser not registered"); in HandleStartAdv()
688 PrintError("Failed to obtain handle to Bluetooth Le Advertiser interface"); in HandleStartAdv()
753 PrintError("BLE advertiser not registered"); in HandleStopAdv()
760 PrintError("Failed to obtain handle to Bluetooth Low Energy interface"); in HandleStopAdv()
773 PrintError("Expected MAC address as only argument"); in HandleConnect()
780 PrintError("BLE not registered"); in HandleConnect()
787 PrintError("Failed to obtain handle to Bluetooth Low Energy interface"); in HandleConnect()
803 PrintError("Expected MAC address as only argument"); in HandleDisconnect()
810 PrintError("BLE not registered"); in HandleDisconnect()
817 PrintError("Failed to obtain handle to Bluetooth Low Energy interface"); in HandleDisconnect()
832 PrintError("Usage: set-mtu [address] [mtu]"); in HandleSetMtu()
840 PrintError("MTU must be 23 or larger"); in HandleSetMtu()
845 PrintError("BLE not registered"); in HandleSetMtu()
852 PrintError("Failed to obtain handle to Bluetooth Low Energy interface"); in HandleSetMtu()
867 PrintError("In progress"); in HandleRegisterBLEScanner()
872 PrintError("Already registered"); in HandleRegisterBLEScanner()
879 PrintError("Failed to obtain handle to Bluetooth LE Scanner interface"); in HandleRegisterBLEScanner()
895 PrintError("Not registered"); in HandleUnregisterBLEScanner()
902 PrintError("Failed to obtain handle to Bluetooth LE scanner interface"); in HandleUnregisterBLEScanner()
913 PrintError("BLE not registered"); in HandleStartLeScan()
935 PrintError("Failed to obtain handle to Bluetooth LE scanner interface"); in HandleStartLeScan()
950 PrintError("BLE not registered"); in HandleStopLeScan()
957 PrintError("Failed to obtain handle to Bluetooth LE scanner interface"); in HandleStopLeScan()