First, the OS inside the XPort-Direct+ is called Cobos which is only important if you develope your own application using the C Programmers Kit (CPK). It has a cooperative multi-tasking kernel, APIs for hardware peripherals, a TCP/IP stack, web server and other services.
The web server answers HTTP Get and Post requests. HTML, java and graphic files are stored in six 64K web partitions in the XPort's flash memory. Your files must first be bundled into a COB file using a web2cob utility before being loaded into the XPort. A COB file can be larger than 64K, but no single file in the COB can be larger than 64K. Your files can contain HTML, Java script, Java applets, graphics etc. There is no support for PHP. You must use a Java applet to create dynamic web pages with data from your serial device or write your own CPK application. Your CPK code can register your own function calls for specific Get and Post requests so that your code can supply the needed functionality for processing submitted data or providing dynamic web pages.
Users browsing this forum: No registered users and 3 guests