Welcome to the PHPoC Document Page. Whether you are new to PHPoC or an advanced user, you can find useful information ranging from introductions to advanced programming.
Click the tabs to view the various categories.
PHPoC System Function
This document describes the system commands, which are used to get system information, execute script, reset the system, access FLASH memory and encrypt/decrypt data.
PHPoC Internal Functions
Internal functions are functions that can be used without requiring any external library files. They are part of the PHPoC core. They can be divided into two main categories:
PHP-based function and PHPoC function. Most of PHP-based functions are identical to standard PHP function. PHPoC functions are additional functions which provide direct interactions with hardware and peripherals(e.g., I/O, UART, I2C, SPI...). This document describes the meaning, syntax, parameter and return value of each internal function.
PHPoC Language Reference
This document describes PHPoC language syntax, operators, variables, functions, control structures and so on.
PHPoC vs PHP
PHPoC language is developed for embedded system based on PHP. The syntax of PHPoC is basically compatible with PHP. There are some modifications to suit the characteristics of the embedded system. This document shows the differences between PHPoC and PHP syntax.
Device Programming Guides
Device Programming Guide provides step-by-step instruction to interact with hardware (I/O, UART, NET, Hardware Timer, ADC, I2C, SPI, RTC) and software units
(TCP, UDP, Software Timer) on PHPoC. Because different PHPoC product lines have different peripherals, Device Programming Guide is separated for each product line.
PSP Library Reference
PSP is a package that contains the external libraries and examples code. The libraries help newbies quickly get started and help users save time to develop their application.
This document describes the meaning, syntax, parameter and return value of each external function in the libraries.
PHPoC Shield for Arduino Library Reference
PHPoC Shields are shields that not only connect Arduino to the Internet but also bring many advanced features to Arduino. To use PHPoC shields with Arduino,
we need to install PHPoC library for Arduino. This document describes the meaning, syntax, parameter and return value of each function in the libraries.
PHPoC Debugger is a software used for development and management of PHPoC Products. It can be used to upload/download files between PHPoC and PC, add/edit/delete files,
real-time debug PHPoC script, configure PHPoC parameters and upgrade firmware. This document shows how to use it.