DMRlink - bridging GPS - private data


Peter M0NWI
 

All,


Before I run off down the rabbit hole, has anyone proven that the bridging of Private_data packets works under DMRlink?


I can see the code is there for the packet type callback in bridge.py, but not in confbridge.py, so I'm using bridge, and I think I've added the rules using the correct header Private_data, with from and too and I'm getting some stuff in the log, but can't figure if I'm actually routing it or not!  Suppose I'll have to run up TCPDump.


Rules;

        'PRIVATE_DATA': [
            {'NAME': 'GROUPNAME', 'ACTIVE': True, 'TO_TYPE': 'NONE', 'TIMEOUT': 2, 'ON': [], 'OFF': [], 'SRC_TS': 1, 'SRC_GROUP': 5050, 'DST_NET': 'IPSC-GB7EL', 'DST_TS': 1, 'DST_GROUP': 5050 },
            {'NAME': 'GROUPNAME', 'ACTIVE': True, 'TO_TYPE': 'NONE', 'TIMEOUT': 2, 'ON': [], 'OFF': [], 'SRC_TS': 1, 'SRC_GROUP': 5055, 'DST_NET': 'IPSC-GB7EL', 'DST_TS': 1, 'DST_GROUP': 5055 },
            {'NAME': 'GROUPNAME', 'ACTIVE': True, 'TO_TYPE': 'NONE', 'TIMEOUT': 2, 'ON': [], 'OFF': [], 'SRC_TS': 1, 'SRC_GROUP': 5056, 'DST_NET': 'IPSC-GB7EL', 'DST_TS': 1, 'DST_GROUP': 5056 },
            {'NAME': 'GROUPNAME', 'ACTIVE': True, 'TO_TYPE': 'NONE', 'TIMEOUT': 2, 'ON': [], 'OFF': [], 'SRC_TS': 1, 'SRC_GROUP': 5057, 'DST_NET': 'IPSC-GB7EL', 'DST_TS': 1, 'DST_GROUP': 5057 },


log output;

DEBUG 2018-09-20 16:18:57,717 (IPSC-GB7EL) Private Data Packet Received From: 2351266, IPSC Peer 235125, Destination 5057

DEBUG 2018-09-20 16:18:57,776 (IPSC-GB7EL) Private Data Packet Received From: 2351266, IPSC Peer 235125, Destination 5057


Regards

Peter




Join main@DVSwitch.groups.io to automatically receive all group messages.