G350 Module

This module implements the Zerynth driver for the Ublox G350 (or U260) gsm/gprs chip (System Integration Manual).

The driver must be used together with the standard library GSM Module.

The following functionalities are implemented:

  • attach/detach from gprs network
  • retrieve and set available operators
  • retrieve signal strength
  • retrieve network and device info
  • socket abstraction (and secure socket if available on the model). Listening sockets for TCP and UDP protocols are not implemented due to the nature of GSM networks.

The communication with G350 is performed via UART without hardware flow control.

This module provides the g350Exception to signal errors related to the hardware initialization and management.

rtc()

Return a tuple of seven elements:

  • current year
  • current month (1-12)
  • current day (1-31)
  • current hour (0-23)
  • current minute (0-59)
  • current second (0-59)
  • current timezone in minutes away from GMT 0

The returned time is always UTC time with a timezone indication.