def get_stats(self):
        sent = ctypes.c_uint32()
        recv = ctypes.c_uint32()
        send_errors = ctypes.c_uint32()
        recv_errors = ctypes.c_uint32()
        result = self.library.Par_GetStats(self.pointer, ctypes.byref(sent),
                                   ctypes.byref(recv),
                                   ctypes.byref(send_errors),
                                   ctypes.byref(recv_errors))
        check_error(result, "partner")
        return sent, recv, send_errors, recv_errors
The protocol modules must be imported to get them registered in
dataset/ETHPy150Open gijzelaerr/python-snap7/snap7/partner.py/Partner.get_stats--crossover with--dataset/ETHPy150Open mopidy/mopidy/mopidy/mpd/protocol/__init__.py/load_protocol_modules