Quote: Originally Posted by
Ineffigy 
Is the DLL COM Visible? Id like to implement this in other front ends.
The DLL has been developed with the Extension Plugin Interface provided by Guino, so it works only with RoadRunner
COM/ActiveX SDK.
However you can easly write your own plugin by yourself, the dialog between the device and the software is pretty simple as it is a HID (human interface device) USB device, a particular device that doesn't require a driver installation on the PC.
Basicaly you need to write a software that allows you to send a report 1 byte long to the device and recive back a report 4 bytes long.
You can found some example of how do it in
this page (there are also a collection of HIDClass souces that can be usefull).
The protocol used by my device is this:
00H (0) Abort any pairing request (see below) --> Returns: Nothing
01H (1) Sensor 1 pairing request --> Returns: Nothing
02H (2) Sensor 2 pairing request --> Returns: Nothing
03H (3) Sensor 3 pairing request --> Returns: Nothing
04H (4) Sensor 4 pairing request --> Returns: Nothing
05H (5) Sensor 5 pairing request --> Returns: Nothing
10H (16) State of a pairing request --> Returns: X,0H,0H,0H
Where X is the number of the sensor to be paired, or 0 if the pairing has been completed.
21H (33) Sensor 1 data request --> Returns: P,T,B,S
22H (34) Sensor 2 data request --> Returns: P,T,B,S
23H (35) Sensor 3 data request --> Returns: P,T,B,S
24H (36) Sensor 4 data request --> Returns: P,T,B,S
25H (37) Sensor 5 data request --> Returns: P,T,B,S
Where:
P is the pressure in kPa obtained by multiplying the unsigned binary value of this byte by 2.5 and subtracting 100 (the atmospheric pressure) from the result.
T is the temperature in °C obtained by subtracting 40 from this unsigned binary value.
B is the battery condition, the first seven bits of this byte indicate the percentage of charge.
S is the operating state of the sensor, 01H if a temperature change has happened or 02H for a pressure change.
You also need to know the "Vendor ID" and the "Product ID" of the device, that are respectively 000H and 0001H.
As example you can dowload the VB6 source code of the RR plugin I've writen
here.
Please, let me know if you need more information.