PenCommV2Callbacks.onConnected Method

Neo smartpen SDK

PenCommV2CallbacksonConnected Method

Fired when a connection is made, override to handle in your own code.

Namespace:  Neosmartpen.Net.Protocol.v2
Assembly:  Neosmartpen.Net.Protocol.v2 (in Neosmartpen.Net.Protocol.v2.dll) Version: 2.1.13.0 (2.1.13)
Syntax
C#
void onConnected(
	IPenComm sender,
	string macAddress,
	string deviceName,
	string fwVersion,
	string protocolVersion,
	string subName,
	int maxForce
)

Parameters

sender
Type: Neosmartpen.NetIPenComm
sender refers to the object that invoked the callback method
macAddress
Type: SystemString
Gets the device identifier.
deviceName
Type: SystemString
Gets a name of a device.
fwVersion
Type: SystemString
current version of pen's firmware.
protocolVersion
Type: SystemString
Gets a version of a protocol.
subName
Type: SystemString
Gets a subname of a device.
maxForce
Type: SystemInt32
Gets the maximum level of force sensor.
See Also