"My Home Automation Projects"

Interfaces - Barcode

Please also read the Disclaimer

MediaNet - Interface Modules - Barcode

Purpose: To provide the ability to link a barcode scanner to a device or number of devices

LOADER.xml

<loader>
    <instance>
        <interface module="BARCODE" enabled="n" />
            this is disabled by default
        <settings comport="COM1:" baudrate="9600" databits="7" parity="even" stopbits="1" />
            the serial port settings appropriate for your scanner here
        <devicemap client="unit0"  barcode="123456789" />
            this line can be repeated multiple times if scanner is to be used for multiple units
            client= is the current name of the client device
            barcode= is a barcode that will be used to select the device
            if only a single device is to be mapped, set barcode= to a dummy value
            for multiple devices use genuine barcodes, when scanning the module will switch to that device if the barcode matches
            the first device is always selected at MediaNet startup by default
    </instance>
</loader>

If you wish to use multiple scanners then simply create a loader file for each scanner

Currently only the Jukebox module supports barcodes, but the barcode module is agnostic to other MediaNet modules - it simply sends an 'i've got a barcode request for you' to the appropriate client. Currently the client simply asks the MediaNet core to find a supported source module that accepts barcodes and can make a match

Issues: The only issue I can find is that if using your barcode reader on the end of a Lantronix MSS100 serial network device the ComPort needs to be < 10 (or something!). The vb6 app is not limited by this restriction