
Linux Real TTY Drivers .................................................................................................... 8-2
Basic Procedures ..................................................................................................... 8-2
Hardware Setup....................................................................................................... 8-2
Installing Linux Real TTY Driver Files .................................................................. 8-2
Mapping TTY Ports ................................................................................................ 8-3
Removing Mapped TTY Ports ................................................................................ 8-3
Removing Linux Driver Files ................................................................................. 8-4
UNIX Fixed TTY Driver.................................................................................................... 8-4
Installing the UNIX Driver ..................................................................................... 8-4
Configuring the UNIX Driver................................................................................. 8-5
Chapter 9
Serial Command Mode............................................................................9-1
Overview ............................................................................................................................ 9-2
Serial Command Format and Command Set ...................................................................... 9-2
Command Structure ................................................................................................ 9-2
Reply Structure ....................................................................................................... 9-3
OP Codes and Parameters ....................................................................................... 9-3
Operation Flow Chart......................................................................................................... 9-8
Configuring Trigger Type................................................................................................... 9-9
Network Enabler Administrator .............................................................................. 9-9
Telnet Console ...................................................................................................... 9-11
Web Console......................................................................................................... 9-12
Serial Console ....................................................................................................... 9-12
Entering Serial Command Mode ...................................................................................... 9-13
Trigger Type ......................................................................................................... 9-13
Serial Port Parameters ........................................................................................... 9-13
Comments ............................................................................................................. 9-14
Exiting Serial Command Mode........................................................................................ 9-14
Determining the Active Mode .......................................................................................... 9-14
Serial Command Examples .............................................................................................. 9-15
Example 1: Get Model Name Using HW Trigger................................................. 9-16
Example 2: Change IP Address Using HW Trigger.............................................. 9-16
Example 3: Get IP Mode Using SW Trigger ........................................................ 9-16
Example 4: Change TCP Port Number Using SW Trigger ................................... 9-17
Appendix A
Well Known Port Numbers .................................................................... A-1
Appendix B
NECI Library............................................................................................ B-1
Appendix C
Auto IP Report Protocol......................................................................... C-1
IP Address Report Structure ...............................................................................................C-2
Hardware and AP ID ..........................................................................................................C-2
Example..............................................................................................................................C-2
Appendix D
DIO Commands....................................................................................... D-1
Overview ........................................................................................................................... D-1
C Code Example .................................................................................................... D-2
Read Single DIO ............................................................................................................... D-2
Command............................................................................................................... D-2
Response ................................................................................................................ D-2
C Code Example .................................................................................................... D-3
Write Single DIO............................................................................................................... D-3
Command............................................................................................................... D-3
RSPSupply - 1-888-532-2706 - www.RSPSupply.com
http://www.RSPSupply.com/p-9766-Moxa-NE-4120A.aspx