6
Programming Guide
....................................................................
33
■
Programming Flow
.............................................................................................................
33
If Reconnecting to the TM-Intelligent when the Network was Cut Off
..........................................
34
Programming flow for the Communication Box
...............................................................................
35
■
Service Interface Specifications
.......................................................................................
38
Format
...................................................................................................................................................
38
■
Communication Data Example
........................................................................................
39
Communication Box Message Example
...........................................................................................
42
■
Array of <data> elements in <device_data> message
.................................................
44
ePOS-Device XML
........................................................................
45
■
ePOS-Device XML List
........................................................................................................
45
Message
................................................................................................................................................
45
Message Data for Communication Box
............................................................................................
46
Message Data for Each Device
.........................................................................................................
46
■
Messages
............................................................................................................................
49
<connect>
............................................................................................................................................
49
<reconnect>
.........................................................................................................................................
50
<disconnect>
........................................................................................................................................
51
<admin_info>
........................................................................................................................................
52
<open_commbox>
..............................................................................................................................
54
<close_commbox>
..............................................................................................................................
56
<commbox_data>
...............................................................................................................................
57
<open_device>
....................................................................................................................................
58
<close_device>
....................................................................................................................................
60
<device_data>
.....................................................................................................................................
62
<error>
...................................................................................................................................................
63
■
Message Data for Communication Box
...........................................................................
64
<type>getcommhistory</type>
.........................................................................................................
64
<type>send</type>
.............................................................................................................................
66
<type>onreceive</type>
....................................................................................................................
67
■
Message Data for Device Hub Terminal
..........................................................................
68
<type>shutdown</type>
.....................................................................................................................
68
<type>onshutdown</type>
................................................................................................................
68
■
Message Data for the Barcode Scanner
.........................................................................
69
<type>ondata</type>
........................................................................................................................
69
■
Message Data for Printers
.................................................................................................
70
<type>print</type>
..............................................................................................................................
70
<type>onxmlresult</type>
..................................................................................................................
70
■
Message Data for Hybrid Printers
.....................................................................................
71
<type>lock</type>
..............................................................................................................................
71
<type>unlock</type>
..........................................................................................................................
71
<type>print</type>
..............................................................................................................................
72
<type>onxmlresult</type>
..................................................................................................................
72
<type>slipprint</type>
........................................................................................................................
73