Office: 503-443-2000 | Fax: 503-968-1877 | Email:
Nu Tech Software Solutions is an Information Technology Services and Software Development company.
We focus on highly available applications for both the Internet and Enterprise. Expertise in both the Microsoft and Linux/LAMP environments.
If you need a Content Management System (CMS) we can do it! We are experienced with both Joomla! and Drupal!
Contact us at: Phone: (503) 443-2000, Email:

Home
AlarmDecoder/AD2USB
Contact Us
AlarmDecoder Forum
FAQ
Online Store
 Home
Welcome, Guest
Please Login or Register.    Lost Password?
ser2sock and other software (1 viewing) (1) Guest
Discuss our ADEMCO Emulator hardware.
Go to bottom Favoured: 0
TOPIC: ser2sock and other software
#1158
ser2sock and other software 6 Years, 6 Months ago Karma: 8  
Additional software

Sec. 1) Console Upload Utility
You can upload firmware using the AD2USBGUI or this console utility. It will work on Windows or Linux/OSX/Unix. You must run this from a DOS shell on windows or a console on MAC/Linux. With MAC/Linux you need MONO to run this.

File Attachment:
File Name: firmwareupload.zip
File Size: 2164

Code:

firmwareupload COM6 115200 mynewfirmware.hex


Sec. 2) USB to IP Reflector (ser2sock)

the ser2sock utility will listen to your ad2usb on the USB port and then relay (reflect) all data between the USB port and an IP socket. This allows you to have multiple applications (such as the MonoGUI) communicating with the ad2usb, and also locate the ad2usb remotely from the applications that use it.

ser2sock can be run on Linux, FreeBSD, Windows and MacOS. It can also be used with embedded devices such as a Linksys router with a usb port running Linux bsd or other posix compliant operating systems.
File Attachment:
File Name: ser2sock.c
File Size: 15965


The file ad2usbgui.exe.config contains the com port data.
You will need to set this to the address the AD2USB devices is connected to.

On Windows this would be somethign like this.
<add key="CommPort_Name" value="COM4"/>

On Linux this may be something like this.
<add key="CommPort_Name" value="/dev/ttyUSB0"/>

please read the ad2usbgui.exe.config file for more info as I do not have docs yet.
berkinet (Moderator)
Moderator
Posts: 159
graphgraph
User Offline Click here to see the profile of this user
Location: SF Bay Area
Logged Logged  
 
Last Edit: 2011/12/19 23:27 By berkinet.
 
The administrator has disabled public write access.  
Go to top





Lost Password?
©2018 Nu Tech Software Solutions, Inc. | Terms and Conditions | Service Level Agreement | Acceptable Use Policies | Contact Us