IPWorks Bluetooth 2020 C++ Edition

Questions / Feedback?

DeviceInfo Event

Fired once for each device found when calling ListDevices.

Syntax

ANSI (Cross Platform)
virtual int FireDeviceInfo(BTInfoDeviceInfoEventParams *e);
typedef struct {
const char *Name;
const char *Address;
const char *ClassOfDevice;
int Connected;
int Remembered;
int Authenticated; int reserved; } BTInfoDeviceInfoEventParams; Unicode (Windows) virtual INT FireDeviceInfo(BTInfoDeviceInfoEventParams *e);
typedef struct {
LPCWSTR Name;
LPCWSTR Address;
LPCWSTR ClassOfDevice;
BOOL Connected;
BOOL Remembered;
BOOL Authenticated; INT reserved; } BTInfoDeviceInfoEventParams;
#define EID_BTINFO_DEVICEINFO 2

virtual INT IPWORKSBT_CALL FireDeviceInfo(LPSTR &lpszName, LPSTR &lpszAddress, LPSTR &lpszClassOfDevice, BOOL &bConnected, BOOL &bRemembered, BOOL &bAuthenticated);

Remarks

This event fires once for each device found when calling ListDevices.

Name is the device name.

Address is the device address.

ClassOfDevices is the class of the device.

Connected indicates whether the device is connected.

Remembered indicates whether the device is remembered.

Authenticated indicates whether the device is authenticated.

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