Chapter 11 portbase sdk, Development environment, List of functions – Solvline PB2xxxUG User Manual
Page 79: Chapter 11, Portbase sdk, Development environment 2. list of functions
![background image](/manuals/711383/79/background.png)
Portbase SDK
The Portbase SDK (Software Development Kit) is designed for custom application development on
Portbase.
1. Development Environment
CPU
: Pentium 300 MHz or higher
Operating System
: Unix or Linux
Device
: Portbase (2xxx Series)
Compiler
:
Cross
Compiler
(Link :
2. List of Functions
11
U_open_port
Serial Port Open
Description This function opens the serial port whose port number is the port_no.
(Related device : 2040 / 2160 / 2161 / 2320)
Synopsis
int U_poen_port (int port_no)
Parameters port_no
:
Serial port number (1 ~ 32)
Returns
1 ~ n
: File descriptor if successful.
-1 :
Otherwise
79