You can test your VxD by experimenting with changing the speeds at which your dongles transmit and receive. You can use the baud rate negotiation logic that is built into the IR communications software. When two dongles recognize each other, they start communicating at 9600 baud and then tryout higher speeds until the highest baud rate each dongle is capable of is reached. By changing the values in the baud rate mask in the type_Init function of your OEMDONGL.C source code between sessions, you can experiment with higher and higher baud rates in each communications session between your two dongles.
For example, here is one experimental scenario:
1. Set the baud rate mask to 9600 baud in OEMDONGL.C by editing the SpeedMask constant. For example, if your dongle type is "RED88" then you could edit the following line of code in OEMDONGL.C to look like this:
#define RED88_SPEEDMASK 0x00000002
2. Rebuild your version of OEMDONGL.VXD.
3. Reinstall IR Communications for Windows 95 on each machine that has your IR dongle attached.
4. With the two dongles facing each other and less than 3 feet apart, run the IR Monitor application on each machine. The two dongles will recognize each other and negotiate a communication speed of 9600 baud.
5. Set the baud rate mask to include the next highest baud rate both dongles are capable of. For example, if the two dongles are capable of 19200 baud as well as 9600 baud, edit the line of code to look like this:
#define RED88_SPEEDMASK 0x00000006
6. Repeat steps B through D so the dongles can negotiate the jump from 9600 to 19200 baud.
You can use this same process to try the dongles at other baud rates all the way up to 115200, if they are capable of it. The bit pattern settings in the baud rate capabilities mask for all these baud rates are shown in Adapting the type_Init Function.