Frequently Asked Questions

General

  1. Difference between Lite and Paid version
  2. What type of SSL is used
  3. Cannot make a connection to the AS/400
  4. How to connect to an AS/400 from the Internet (EDGE)
  5. Copy a configuration to another device
 

 

- Difference between Lite and Paid version

The lite version has a 5 minutes session limitation.



- What type of SSL is used

TN5250 can use the SSL/TLS protocol build into the iPhone OS. Certificates are not supported



Cannot make a connection to the AS/400

Either
  • wrong IP address for the AS/400
  • The Telnet server is not running on the AS/400
  • A firewall stopping access on port 23.
  • The iPhone/iPod is not on the same network as the AS/400



- How to connect to an AS/400 from the Internet (EDGE)

To allow a connection with the iPhone on the EDGE network or another wifi network, maybe at your local Cafe, you must configure the router/firewall protecting your office network to allow traffic on port 23 or 992 if using SSL. This could be a security risk! Read the router manual for advice.
 
An example:
I have a router at my office, which connect to the Internet. It has IP address 88.1.2.44 on the Internet. The router has a fixed IP address on the Internet, if your internet provider (ISP) gives a  dynamic address, a solution could be to use a service as NO-IP

Our Office AS/400 has a fixed IP address on the local network (wifi) at 192.168.2.2
 
In the router firewall configuration I have configured, if it receives data on port 23 (or 992 if SSL is enabled in TN5250), forward it to 192.168.2.2.
When on the EDGE network with the iPhone, I will in TN5250 as AS/400 IP address write
  • 88.1.2.44 , and as port 23 (Not the IP address for the AS/400!)



Copy a configuration to another device

Export In menu - configure, click on "export", and the data for the first configuration will be send to the email program as an URL.

User id, and password will not be copied.

Import Either send the email to the target device, or have the URL on a web page, which can be clicked in the Web browser on the target device.

Elements in the URL will overwrite the existing values in the configuration.

Syntax

Example:
mochatn5250://CONFIG=myas400.com&port=23&ssl=0&name=&codepage=273&btkeyboard=0&
keyclick=1&close_on_bg=0&btbarcode=0&barcode_enter=0&barcode_next=0&barcode_status=0
&autolock=0&terminal_27x132=1&blink=1&color_red=16711680&color_blue=255&
color_turquoise=65535&color_white=16777215&color_yellow=16776960&
color_pink=16711935&color_select=16744448&color_bg=0&
color_cursor=8421504&font=Courier%2DBoldOblique&
devicename=&
user=&
password=&
barcode_ignore_first=0&barcode_ignore_last=0&linea_power=0&linea_battery=0&
ignore_xhelp=1&use_fieldexit=0&show_separator=1&beep=1&iscan=0&text_blink=0&
wireless_alt=1&zoom_height=1&autoconnect=0&lock_dims=&
mmacro_0=&mmacro_1=&mmacro_2=&mmacro_3=&mmacro_4=&mmacro_5=&mmacro_6=&
mmacro_7=&mmacro_8=&mmacroname_0=&mmacroname_1=&mmacroname_2=&mmacroname_3=&
mmacroname_4=&mmacroname_5=&mmacroname_6=&mmacroname_7=&mmacroname_8=&banner=1&
ontop=0&knap_0=xhide&knap_1=xpgup&knap_2=xpgdn&knap_3=xins&knap_4=xF1&knap_5=xF2&
knap_6=xsysreq&knap_7=xF3&knap_8=xF4&knap_9=xF5&knap_10=xF6&knap_11=xF7&knap_12=xF8&
knap_13=xF9&knap_14=xF10&knap_15=xF11&knap_16=xF12&knap_17=xF13&knap_18=xF14&
knap_19=xF15&knap_20=xF16&knap_21=xF17&knap_22=xF18&knap_23=xF19&knap_24=xF20&
knap_25=xF21&knap_26=xF22&knap_27=xF23&knap_28=xF24&knap_29=xclear&knap_30=xhelp&
knap_31=xreset&knap_32=xnext&knap_33=xprev&knap_34=xerase&knap_35=xhome&knap_36=xdup&
knap_37=xmacro&knap_38=xfield%2B&knap_39=xattn&knap_40=xenter&knap_41=x%3C%2D%2D&
knap_42=x%5E&knap_43=xv&knap_44=x%2D%2D%3E&keepalive=0&


Syntax:
  mochatn5250://CONFIG=AS/400 IP address&Parameters

0 = off, 1 = on
Parameters:
  • port= menu - configure - as/400 port
  • ssl= menu - configure - ssl/tls
  • name= menu - configure - name (alias name)
  • codepage= menu - configure - code page
  • btkeyboard= menu - configure - wireless keyboard
  • keyclick= menu - configure - key click
  • close_on_bg= menu - configure - close session on exit
  • btbarcode= menu - configure - barcode scanner
  • barcode_enter= menu - configure - send enter
  • barcode_next= menu - configure - send TAB
  • barcode_status= menu - configure - start scanner (from the status button)
  • autolock= menu - configure - auto lock
  • terminal_27x132= menu - configure - terminal 27x132
  • blink= menu - configure - curosr blink
  • color_red= menu - configure - colors - red
  • color_blue= menu - configure - colors - blue
  • color_turquoise= menu - configure - colors - turquoise
  • color_white= menu - configure - colors - white
  • color_yellow= menu - configure - colors - yellow
  • color_pink= menu - configure - colors - pink
  • color_select= menu - configure - colors - select
  • color_bg= menu - configure - colors - background
  • color_cursor= menu - configure - colors - cursor
  • devicename= menu - configure - device name
  • user= menu - configure - user
  • password= menu - configure - password
  • barcode_ignore_first= menu - configure - barcode ignore first
  • barcode_ignore_last= menu - configure - barcode ignore last
  • linea_power= menu - configure - linea scanner power
  • linea_battery= menu - configure - linea battery
  • ignore_xhelp= menu - configure - ignore x-help
  • use_fieldexit= menu - configure - fieldexit
  • show_separator= menu - configure - column separator
  • beep= menu - configure - beep sound
  • iscan= menu - configure - mobilogics old mode
  • text_blink= menu - configure - blinking text
  • wireless_alt= menu - configure - wireless alt key
  • zoom_height= menu - configure - zoom to height
  • autoconnect= menu - configure - auto connect
  • lock_dims= menu - lock
  • mmacro_0= menu - macros - macro 0 value
  • mmacro_1= menu - macros - macro 1 value
  • mmacro_2= menu - macros - macro 2 value
  • mmacro_3= menu - macros - macro 3 value
  • mmacro_4= menu - macros - macro 4 value
  • mmacro_5= menu - macros - macro 5 value
  • mmacro_6= menu - macros - macro 6 value
  • mmacro_7= menu - macros - macro 7 value
  • mmacro_8= menu - macros - macro 8 value
  • mmacroname_0= menu - macros - macro 0 name
  • mmacroname_1= menu - macros - macro 1 name
  • mmacroname_2= menu - macros - macro 2 name
  • mmacroname_3= menu - macros - macro 3 name
  • mmacroname_4= menu - macros - macro 4 name
  • mmacroname_5= menu - macros - macro 5 name
  • mmacroname_6= menu - macros - macro 6 name
  • mmacroname_7= menu - macros - macro 7 name
  • mmacroname_8= menu - macros - macro 8 name
  • banner= menu - configure - show key banner
  • ontop= menu - configure - key banner on top of the 5250 screen
  • knap_0= menu - configure - banner layout - value for first button (*)
  • knap_1= menu - configure - banner layout - value for second button (*)
  • ...
  • keepalive= menu - configure - keep alive
(*) button in use start with "x"