|Top Previous Next|
Memory space and key info
1.The sock.allowedinterfaces property refers to the Ethernet interface as "NET", Wi-Fi — as "WLN", 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.
3.The hardware of this platform supports serial channels, which means that CTS/RTS and DTR/DSR pairs of the DB9 connector can also be used as RX/TX pairs of additional serial channels. Therefore, it is up to you to decide which lines are used as RTS and CTS, and which channels they will belong to. Proper mapping will be required to implement each particular arrangement.
4.Although the platform itself supports remapping, actual "wires" connecting the system to the GA1000 are fixed and your mapping should reflect this:
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 serial ports (on this device, serial channels of the RS232 port);
•Io — handles I/O lines, ports, and interrupts;
•Lcd — controls the 96x32 monochrome OLED display (therefore, requires the "D" device option);
•Fd — manages flash memory file system and direct sector access;
•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;
•Beep — generates buzzer patterns;
•Sys — in charge of general device functionality.
You can find them here.