Simple JAVA app to control a pin on remote Xbee radios.
$30-250 USD
进行中
已发布超过 12 年前
$30-250 USD
货到付款
I need a Java app that allows me to assign key presses to switch on and off a light controlled by remote Xbee radios.
The app should use the Xbee API for Java at [login to view URL]
There is an example of the type of behaviour I need here:
[login to view URL]
The app should allow me to input/change the COM port and baud rate manually.
The app should allow me to add up to 5 remote xbee radios - and manually set the XBeeAddress64 variable for each one.
The app should allow me to assign each remote xbee a key on the keyboard, which will act as a toggle.
When an assigned key is pressed, it should switch pin 20 (D0) on the remote device to HIGH (5) and the other four radios to LOW (4).
The app should also be able to poll an external XML file hosted on a local server.
I should be able to manually enter an address to access the XML file.
If an address is entered it should overide the remote key settings and only use the data from the XML to control the Xbees.
The XML file will contain states for the remote devices and be formatted e.g:
<radioData>
<radio1>
5
</radio1>
<radio2>
4
</radio2>
<radio3>
4
</radio3>
<radio4>
4
</radio4>
<radio5>
4
</radio5>
</radioData>
The app should constantly poll the XML file for changes and switch on or off pin 20 (D0) on the remote device accordingly.