|Top Previous Next|
Hardware devices covered by this platform
•EM510 programmable IoT module (optionally, with WA2000 Wi-Fi add-on).
•Other devices incorporating the EM510 module.
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 hardware may dictate which GPIO lines must be used as inputs and which — as outputs.
3.Connect the WA2000 as shown on Fig. B in Connecting GA1000 and WA2000):
Supported Objects, variable types, and functions
bt — in charge of the BLE (Bluetooth Low-Energy) interface (requires the WA2000 add-on module);
io — handles I/O lines, ports, and interrupts;
net — controls the Ethernet port;
pat — "plays" patterns on up to five LED pairs;
ppp — accesses the Internet over a serial modem (GPRS, etc.);
pppoe — accesses the Internet over an ADSL modem;
romfile — facilitates access to resource files (fixed data);
ser — controls the serial port (UART, Wiegand, clock/data modes);
sock — socket comms (up to 32 UDP, TCP, and HTTP sessions);
ssi — controls serial synchronous interface channels (SPI, I2C...);
stor — provides access to the EEPROM;
sys — in charge of general device functionality;
wln — handles the Wi-Fi interface (requires the WA2000 add-on module).
* Disabled by default — enable it in Project Settings -> Customize.
You can find them here.