|Top Previous Next|
Memory space and key info
1.The sock.allowedinterfaces property refers to the Ethernet interface as "NET", PPP — as "PPP", and PPPoE — as "PPPOE". Sock.targetinterface and sock.currentinterface properties rely on the pl_sock_interfaces enum, whose members differ depending on the platform.
2.Surrounding board hardware dictates which GPIO lines must be used as inputs and which — as outputs.
Supported Objects, variable types, and functions
•Sock — socket communications (up to 16 UDP, TCP, and HTTP sessions);
•Net — controls the Ethernet port;
•Ser — in charge of the RS232 port;
•Io — handles I/O lines, ports, and interrupts;
•Stor — provides access to the EEPROM;
•Romfile — facilitates access to resource files (fixed data);
•Pppoe — provides access to the Internet over an ADSL modem;
•Ppp — provides access to the Internet over a serial modem (GPRS, POTS, etc.);
•Pat — "plays" patterns on a pair of LEDs;
•Sys — in charge of general device functionality.
You can find them here.