Closed rohan-a99 closed 3 years ago
Do you mean this?
dict(action=cmd_watch, command="watch", help="watch device")
def cmd_watch(args: argparse.Namespace):
"""
Info example:
{'DeviceID': 13,
'MessageType': 'Attached',
'Properties': {'ConnectionSpeed': 480000000,
'ConnectionType': 'USB',
'DeviceID': 13,
'LocationID': 000000000,
'ProductID': 4776,
'SerialNumber': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'USBSerialNumber': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}}
"""
for info in um.watch_device():
logger.info("%s", pformat(info))
yes
thanks!!!... Can you update this on your gidevice-cli releases please
Thank You so much!!
Hey....i need one more favour please, can you add info service also?
Close with electricbubble/gidevice-cli - v0.7.0
Thanks! @wangzi1325
Can you add watch service also like it's implemented in tidevice?