Bluetooth Framework
ContentsIndexHome
PreviousUpNext
wclBluetooth::wclRfCommServerConnectEvent Macro

The prototype of the OnConnect event handler for RFCOMM server.

Syntax
C++
#define wclRfCommServerConnectEvent(_event_name_) \
    __event void _event_name_(void* Sender, CwclRfCommServerClientConnection* Client, \
    int Error);
Parameters 
Description 
Sender 
The object that initiated the event.  
Client 
The CwclRfCommServerClientConnection represents a remote connected client.  
Error 
The connection operation result code. If the parameter is WCL_E_SUCCESS the connection to a remote device was established and the remote device is connected. Otherwise the connection was not established and the remote device is not connected.  
Copyright (c) 2006-2019. All rights reserved.