onewireproducer.jar

Description
provides services when 1-Wire sensor are connected to a 1-Wire network
Polled measurements are Temperature, Humidity and ADVoltage. Others can be added !
For more details on how to use this bundle, refer to the /doc/readme.html file embedded in the bundle jarfile.

Contributors
Didier Donsez (Didier.Donsez@ieee.org)

License
Library GNU Public License

Services
org.osgi.service.wireadmin.Producer

Properties

  • wireadmin.producer.flavors=Class[] { org.osgi.util.measurement.Measurement.class })
  • service.pid=depend of the device address
  • Requirements

  • org.osgi.service.wireadmin; specification-version="1.0"
  • org.osgi.util.measurement; specification-version="1.0"
  • javax.comm
  • embeds the onewireapi.jar downloadable from http://www.ibutton.com/software/1wire/1wire_api.html

  • Download

    Build

    1. download the onewireapi.jar from http://www.ibutton.com/software/1wire/1wire_api.html
    2. put the onewireapi.jar in the ./embeddedlib
    3. download the TMEX installer
    4. launch the installer. It installs DLLs in the C:\WINDOWS\SYSTEM32 of your system
    5. put those DLLs in the ./native directory. Those DLLs are : Ds1410d.sys, Ib10e32.dll, ib90usb.dll, Ib97e32.dll, Ib97u32.dll, ibfs32.dll, ibtmjava.dll
    6. configure the build properties in build.xml
    7. configure the onewire (adapter name, ...) properties in ./initialstate.properties
    8. then build with ant

    Tested gateways

    Tested OneWire Devices

    Typical Usage

    TODO (contributions are welcome)

    Links