Optinal GPRS Interface
|Top Previous Next|
The NB1010 can optionally accommodate the GC864 GPRS module manufactured by TELIT (www.telit.com).
The GPRS module is controlled through the serial port 4 of the NB1010. A dedicated GPIO line 54 is used for multiplexing this serial port:
•When the output buffer of the GPIO line 54 is disabled (default post-reset state), or the line is at HIGH, the serial port 4 is switched to the interboard cable connector (lines TX3 (#31), RX3 (#29), RTS3 (#7), and CTS3 (#39)).
•When the output buffer of the GPIO line 54 is enabled and the line is LOW, the serial port is switched to the GPRS module. In this state, your application can communicate with the GPRS module through the serial port 4 (and use flow control, too).
GPIO line 55 of the NB1010 is connected to the reset pin on the GPRS module. To put the module in reset, enable this line and set it HIGH. For reliable reset, keep the reset applied for at least 2 seconds. To release the module from reset, set the line 55 LOW. Note that the GC864 module module may take up to 1 minute to boot, recognize the SIM card, and become operational.
GPIO line manipulation is performed using the io. object (see "TIDE and Tibbo BASIC Manual"). Another object -- ser. -- is responsible for serial port communications. Actual data exchange via the GPRS module is the domain of the sock. object. Before such data exchange can take place, the GPRS interface must be properly configured. This is jointly achieved by the ppp. object and GPRS library (again, see "TIDE and Tibbo BASIC Manual").