glaciation.trdp package
Submodules
glaciation.trdp.reader module
- exception glaciation.trdp.reader.TRDPReader(jsonBusFile, interface)[source]
Bases:
Exception- readTrdpVar(varName, inface=None)[source]
This function reads given variable straigth forward from the network, sniffing one packet and parsing its corresponding multicast ip address, commId and offset (read from the json file). Self Class need to be initialized with corresponding bus json file (downloaded from Aunia)
- Parameters:
varName (string) – Variable name
iface (string) – Interface name for sniffing the packet (default is None). If None interface from class initialization is taken
- Raises:
Exception –