ioBridge News and Projects » Post 'ioBridgeTalk – Java Application at mullac.org'

ioBridgeTalk – Java Application at mullac.org

Callum Jones has been posting on his blog about a java application to interface with your ioBridge Module. His first post contains the source and libraries — his second post includes the steps to run the application.

What ioBridgeTalk allows you to do is have a desktop hook to your modules Data Feed. You can get an XML dump of your JSON feed and link to your applications that would benefit from that data, like getting access to temperature, digital input, and other sensor data.

I spent a few minutes in NetBeans and was able to use his Subversion and his distribution version of the application. I typed in my feed key from my module on my desk and had instant access to it’s data via Java.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
K:\>java -jar "D:\NetBeansProjects\IOBridgeTalk\dist\IOBridgeTalk.jar" -operation xmldump -module zTFNFDol8806vSZnuxel

<?xml version="1.0" encoding="UTF-8" ?>
<module>
    <serial>24000XXX</serial>
    <label>ioBridge Module</label>
    <lat>-49.8676</lat>
    <long>99.7351</long>
    <location>Universe</location>
    <datetime>Feb-20-2009 08:49:39 PM</datetime>
    <status>true</status>
    <channels>
        <channel>
            <label>Channel Tester</label>
            <AnalogInput>493</AnalogInput>
            <AnalogInputRaw>493</AnalogInputRaw>
            <AnalogInputScale>Raw</AnalogInputScale>
            <DigitalInput>false</DigitalInput>
            <DigitalInputState>0</DigitalInputState>
            <DigitalOutput>true</DigitalOutput>
            <DigitalOutputState>1</DigitalOutputState>
        </channel>
        <channel>
            <label>Channel 2</label>
            <AnalogInput>239</AnalogInput>
            <AnalogInputRaw>239</AnalogInputRaw>
            <AnalogInputScale>Raw</AnalogInputScale>
            <DigitalInput>false</DigitalInput>
            <DigitalInputState>0</DigitalInputState>
            <DigitalOutput>true</DigitalOutput>
            <DigitalOutputState>1</DigitalOutputState>
        </channel>
        <channel>
            <label>Channel 3</label>
            <AnalogInput>1020</AnalogInput>
            <AnalogInputRaw>1020</AnalogInputRaw>
            <AnalogInputScale>Raw</AnalogInputScale>
            <DigitalInput>true</DigitalInput>
            <DigitalInputState>1</DigitalInputState>
            <DigitalOutput>true</DigitalOutput>
            <DigitalOutputState>1</DigitalOutputState>
        </channel>
        <channel>
            <label>Channel 4</label>
            <AnalogInput>194</AnalogInput>
            <AnalogInputRaw>194</AnalogInputRaw>
            <AnalogInputScale>Raw</AnalogInputScale>
            <DigitalInput>false</DigitalInput>
            <DigitalInputState>0</DigitalInputState>
            <DigitalOutput>false</DigitalOutput>
            <DigitalOutputState>0</DigitalOutputState>
        </channel>
    </channels>
</module>

Check out Callum Jones’ Blog (mullac.org) for posts regarding tech, music, and photography. I especially like his posts regarding his new digital camera.

  • Digg
  • del.icio.us
  • Facebook
  • Twitter
  • Google Bookmarks
  • Print
Tags:, , , ,

Leave a comment

XHTML - You can use:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2009 ioBridge News and Projects is powered by WordPress