Trees | Indices | Help |
---|
|
Autogenerated python functions to serialize/deserialize binary messages.
Generated by: ./aisxmlbinmsg2py.py
Need to then wrap these functions with the outer AIS packet and then convert the whole binary blob to a NMEA string. Those functions are not currently provided in this file.
serialize: python to ais binary deserialize: ais binary to python
The generated code uses translators.py, binary.py, and aisstring.py which should be packaged with the resulting files.Requires:
Author: xmlbinmsg
Version: 4791
Status: under development
License: Generated code has no license
|
|||
|
Testsls_waterlevel Use testvalue tag text from each type to build test case the sls_waterlevel message |
|
|||
BitVector
|
encode(params,
validate=False) Create a sls_waterlevel binary message payload to pack into an AIS Msg sls_waterlevel. |
||
dict
|
decode(bv,
validate=False) Unpack a sls_waterlevel message |
||
| decodetime_month(bv, validate=False) | ||
| decodetime_day(bv, validate=False) | ||
| decodetime_hour(bv, validate=False) | ||
| decodetime_min(bv, validate=False) | ||
| decodestationid(bv, validate=False) | ||
| decodepos_longitude(bv, validate=False) | ||
| decodepos_latitude(bv, validate=False) | ||
| decodetype(bv, validate=False) | ||
| decodewaterlevel(bv, validate=False) | ||
| decodedatum(bv, validate=False) | ||
| decodereserved(bv, validate=False) | ||
stdout
|
printFields(params,
out=sys.stdout,
format='std') Print a sls_waterlevel message to stdout. |
||
dict
|
testParams() Return a params file base on the testvalue tags. |
|
|||
|
__date__ = '2006-12-20' Date of last svn commit |
||
|
TrueBV = <BitVector.BitVector object at 0x2215950> Why always rebuild the True bit? This should speed things up a bunch |
||
|
FalseBV = <BitVector.BitVector object at 0x22159d0> Why always rebuild the False bit? This should speed things up a bunch |
||
|
typeChoices = 'binary', 'nmeapayload', 'nmea'
|
||
|
msgDict = {'time_month': options.time_monthField, 'time_day': ...
|
||
|
bitLen = len(bits)
|
||
|
bits = bits+ BitVector(size= (6-(bitLen % 6)))
|
|
Create a sls_waterlevel binary message payload to pack into an AIS Msg sls_waterlevel. Fields in params:
|
Unpack a sls_waterlevel message Fields in params:
|
|
|
|
|
|
|
|
|
|
|
|
Print a sls_waterlevel message to stdout. Fields in params:
|
|
|
__date__Date of last svn commit
|
TrueBVWhy always rebuild the True bit? This should speed things up a bunch
|
FalseBVWhy always rebuild the False bit? This should speed things up a bunch
|
typeChoicesNone
|
msgDictNone
|
bitLenNone
|
bitsNone
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Wed Dec 20 09:08:05 2006 | http://epydoc.sourceforge.net |