Rainbow Electronics GM862-GPS User Manual
Easy script in python
Table of contents
Document Outline
- Easy Script in Python
- Contents
- 1 Easy Script Extension - Python interpreter
- 2 Python Build-in Custom Modules
- 2.1 CMUX and Python
- 2.2 MDM built-in module
- 2.3 MDM2 built-in module
- 2.4 SER built-in module
- 2.4.1 SER.send(string)
- 2.4.2 SER.receive(timeout)
- 2.4.3 SER.read()
- 2.4.4 SER.sendbyte(byte)
- 2.4.5 SER.receivebyte(timeout)
- 2.4.6 SER.readbyte()
- 2.4.7 SER.set_speed(speed,
) - 2.4.8 SER.setDCD(DCD_value)
- 2.4.9 SER.setCTS(CTS_value)
- 2.4.10 SER.setDSR(DSR_value)
- 2.4.11 SER.setRI(RI_value)
- 2.4.12 SER.getRTS()
- 2.4.13 SER.getDTR()
- 2.5 SER2 built-in module
- 2.6 GPIO built-in module
- 2.6.1 GPIO.setIOvalue(GPIOnumber, value)
- 2.6.2 GPIO.getIOvalue(GPIOnumber)
- 2.6.3 GPIO.setIOdir(GPIOnumber, value, direction)
- 2.6.4 GPIO.getIOdir(GPIOnumber)
- 2.6.5 GPIO.getADC(adcNumber)
- 2.6.6 GPIO.setDAC(enable, value)8
- 2.6.7 GPIO.setVAUX(vauxNumber, enable)8
- 2.6.8 GPIO.getAXE()9
- 2.6.9 GPIO.setSLED(status, onDuration, offDuration)
- 2.6.10 GPIO.getCBC()9
- 2.7 MOD built-in module
- 2.8 IIC built-in module
- 2.8.1 IIC.new(SDA_pin, SCL_pin,
) - 2.8.2 IIC object method: init()
- 2.8.3 IIC object method: readwrite(string, read_len)
- 2.8.4 IIC object method: sendbyte(byte)
- 2.8.5 IIC object method: send(string)
- 2.8.6 IIC object method: dev_read(addr, len)
- 2.8.7 IIC object method: dev_write(addr, string)
- 2.8.8 IIC object method: dev_gen_read(addr, start, len)
- 2.8.9 IIC object method: dev_gen_write(addr, start, string)
- 2.8.1 IIC.new(SDA_pin, SCL_pin,
- 2.9 SPI built-in module
- 2.10 GPS built-in module
- 2.10.1 GPS. powerOnOff(newStatus)
- 2.10.2 GPS.getPowerOnOff()
- 2.10.3 GPS.resetMode(mode)
- 2.10.4 GPS.getAntennaVoltage()
- 2.10.5 GPS.getAntennaCurrent()
- 2.10.6 GPS.getActualPosition()
- 2.10.7 GPS.powerSavingMode(mode, pushToFixPeriod)
- 2.10.8 GPS.powerSavingWakeUp()
- 2.10.9 GPS.getLastGGA()
- 2.10.10 GPS.getLastGLL()
- 2.10.11 GPS.getLastGSA()
- 2.10.12 GPS.getLastGSV()
- 2.10.13 GPS.getLastRMC()
- 2.10.14 GPS.getLastVTG()
- 2.10.15 GPS.getPosition()
- 3 Python Script Operations
- 4 Python standard functions
- 4.1 Technical characteristics
- 4.2 Python supported features
- 4.2.1 Operators, statements, functions
- 4.2.2 Truth Value Testing
- 4.2.3 Boolean Operations
- 4.2.4 Comparisons
- 4.2.5 Numeric Types: Integers
- 4.2.6 Numeric Types: Long Integers
- 4.2.7 Numeric Types: Float
- 4.2.8 Numeric Types: Complex
- 4.2.9 Sequence Types: Strings
- 4.2.10 Sequence Types: Tuples
- 4.2.11 Sequence Types: Lists
- 4.2.12 Mapping Types: Dictionaries
- 4.2.13 Other Built-in Types: File Objects
- 4.2.14 Other Built-in Types: Modules
- 4.2.15 Other Built-in Types: Classes
- 4.2.16 Other Built-in Types: Functions
- 4.2.17 Other Built-in Types: Methods
- 4.2.18 Other Built-in Types: Type Objects
- 4.2.19 Other Built-in Types: Null Object
- 4.2.20 Other Built-in Types: Ellipsis Object
- 4.2.21 Other Built-in Types: Buffer Objects
- 4.2.22 Other Built-in Types: Range Objects
- 4.2.23 Other Built-in Internal Types: Code Objects
- 4.2.24 Other Built-in Internal Types: Frame Objects
- 4.2.25 Other Built-in Internal Types: Traceback Objects
- 4.2.26 Other Built-in Internal Types: Slice Objects
- 4.2.27 Built-in Exceptions
- 4.2.28 Built-in Functions
- 4.2.29 Built-in Modules: marshal
- 4.2.30 Built-in Modules: imp
- 4.2.31 Built-in Modules: __main__
- 4.2.32 Built-in Modules: __builtin__
- 4.2.33 Built-in Modules: sys
- 4.2.34 Built-in Modules: md5
- 4.2.35 Library Modules
- 5 Python notes
- 6 List of acronyms