IPWorks Bluetooth 2020 C++ Edition

Questions / Feedback?

RemoteServiceClassId Property

The class Id (UUID) of the remote service.

Syntax

ANSI (Cross Platform)
char* GetRemoteServiceClassId();
int SetRemoteServiceClassId(const char* lpszRemoteServiceClassId); Unicode (Windows) LPWSTR GetRemoteServiceClassId();
INT SetRemoteServiceClassId(LPCWSTR lpszRemoteServiceClassId);
#define PID_BTPORT_REMOTESERVICECLASSID 11

IPWORKSBT_EXTERNAL void* IPWORKSBT_CALL IPWorksBT_BTPort_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSBT_EXTERNAL int IPWORKSBT_CALL IPWorksBT_BTPort_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property optionally specifies the Service Class Id (UUID) of the remote service. This may be used instead of RemotePort when connecting. For instance:

        btport1.RemoteHost = "20:C9:D0:94:3E:46";
        btport1.RemoteServiceClassId = "00001101-0000-1000-8000-00805f9b34fb";
        btport1.Connected = true;

The Bluetooth Universally Unique Identifier (UUID) is in the form

00000000-0000-1000-8000-00805F9B34FB

Data Type

String

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Bluetooth 2020 C++ Edition - Version 20.0 [Build 7941]