메소드 | 설명 | |
---|---|---|
Connect ( ) : Primitive |
Advanced feature. Connect an external device and service to the bluetooth USB stick. You must first Initialise, then set the device, service and encoding.
|
|
GetDevices ( ) : Primitive |
Get a list of discovered bluetooth devices.
|
|
GetEncodings ( ) : Primitive |
Advanced feature. Get a list of available encodings.
|
|
GetServices ( ) : Primitive |
Advanced feature. Get a list of available service protocols.
|
|
Initialise ( ) : Primitive |
Initialise a bluetooth USB stick and detect discoverable external devices. As devices come into or out of range the devices list is updated.
|
|
ReceiveData ( ) : Primitive |
Advanced feature. Receive (fetch) data from a bluetooth device. The device must be Initialised and Connected. The encoding should also be set.
|
|
ReceiveFile ( Primitive fileName ) : Primitive |
Receive (fetch) a file from an attached external bluetooth device. You must first Initialise, then set the device.
|
|
SendData ( Primitive data ) : Primitive |
Advanced feature. Send data to a bluetooth device. The device must be Initialised and Connected. The encoding should also be set.
|
|
SendFile ( Primitive fileName ) : Primitive |
Send a file to an attached external bluetooth device. You must first Initialise, then set the device.
|
|
initialise ( ) : bool |
메소드 | 설명 | |
---|---|---|
GetBluetoothDeviceInfo ( string name ) : BluetoothDeviceInfo | ||
GetBluetoothServiceItem ( string name ) : |
||
inRangeEvent ( object sender, BluetoothWin32RadioInRangeEventArgs e ) : void | ||
outOfRangeEvent ( object sender, BluetoothWin32RadioOutOfRangeEventArgs e ) : void | ||
setDevices ( ) : void | ||
setServices ( ) : void |
public static ReceiveFile ( Primitive fileName ) : Primitive | ||
fileName | Primitive | The location to save the received file. |
리턴 | Primitive |
public static SendData ( Primitive data ) : Primitive | ||
data | Primitive | A string of characters to send. |
리턴 | Primitive |
public static SendFile ( Primitive fileName ) : Primitive | ||
fileName | Primitive | The file to send. |
리턴 | Primitive |