
SE59XX-SDK
Software development Kit
User Manual
V1.2
Table 4
.
3
SE59XX Programming commands per device node
Device node
Ioctl command Command Description
ttyATOP0-3
0x9000
Configure SE59XX COM port as one of RS232 / RS485 / RS422
Table 4
.
4
SE59XX ioctl command of COM Port
Ioctl command
parameter type
Value
Description
0x9000
integer
1
Configure to RS232 mode
2
Configure to RS422 mode
3
Configure to RS485 mode
In Linux system, user can use POSIX standard terminal interface to configure baud rate, data length, etc.
It is called Termios and defined in system document <termios.h>. Please refer related Linux system document
to configure it.
4.2
Network Interface
SE59XX Series are equi p p ed with Network por ts . The sample p rogram in the folder
software/atop_a p plication/ut ils/atop_tc pse rve r describes how to use COM por ts in combination with T C P
se rve r connections :
Table 4
.
5
Sample programs for TCP server connection to COM port communication
File Name
Description
atop_tc p_se rve r .c
A sample program to use TCP server connection and COM port to make
data communication.
4.3
Other Interfaces
There are multi ple other inter faces available on SE59XX p la t form, de pending on the actual hardware in use .
Some devices are equi p p ed wi th 4G connectivi ty, others wi th Relays and Digital in puts and so on. ATO P’s
convenient Software Development Ki t is s tandardi zed for the whole family. We put at dis posal simple p rograms
that you can easily copy or emulate to make the best use of all inte r faces .
All sample p rograms are in /ato p_a p plication/utils/atop_sdk folder :
Summary of Contents for SE59XX-SDK
Page 11: ...SE59XX SDK Software development Kit User Manual V1 2...
Page 13: ...SE59XX SDK Software development Kit User Manual V1 2 libatop so 1 0 0 ATOP library binary...
Page 17: ...SE59XX SDK Software development Kit User Manual V1 2 Figure 2 5 SE5904DB o ot loadermenu...
Page 33: ...SE59XX SDK Software development Kit User Manual V1 2...
Page 35: ...SE59XX SDK Software development Kit User Manual V1 2 SE5901B SE5908 16...
Page 36: ...SE59XX SDK Software development Kit User Manual V1 2 SE5908A 16A...
Page 37: ...SE59XX SDK Software development Kit User Manual V1 2...
Page 52: ...SE59XX SDK Software development Kit User Manual V1 2...