MCPcopy Create free account
hub / github.com/LeoDJ/P2Pro-Viewer / get_device_info

Method get_device_info

P2Pro/P2Pro_cmd.py:252–254  ·  view source on GitHub ↗
(self, dev_info: DeviceInfoType)

Source from the content-addressed store, hash-verified

250 return struct.unpack(">H", res)[0]
251
252 def get_device_info(self, dev_info: DeviceInfoType):
253 res = self._standard_cmd_read(CmdCode.get_device_info, dev_info, DeviceInfoType_len[dev_info])
254 return res

Callers 1

main.pyFile · 0.80

Calls 1

_standard_cmd_readMethod · 0.95

Tested by

no test coverage detected