-
-
Notifications
You must be signed in to change notification settings - Fork 213
Gemeral IrDA Connections
The IrDA classes are quite similar to the Bluetooth ones. In IrDA, a service / application is identified by a textual Service Name. One can thus use code like the following. This sample automatically chooses the (hopefully) single device in range. {{ Dim cli As New IrDAClient("MyCustomServiceName") 'Or "OBEX", "IrDA:IrCOMM" etc ... }} Server side. {{ Dim lsnr As New IrDAListener("MyCustomServiceName") lsnr.Start() ... }} The DiscoverDevices method is present on IrDAClient too, but there is no equivalent to the SelectBluetoothDeviceDialog for IrDA currently. The two connection modes IrCOMM and IrLMP (aka IrLPT) can be set by socket option. See the IrDAServiceClient samples or the samples on Alan’s website http://www.alanjmcf.me.uk
32feet.NET - Personal Area Networking for .NET
In The Hand Ltd