jacobschaer / python-doipclient

Pure Python ISO 13400 Client
MIT License
160 stars 52 forks source link

about response.date #50

Open mmdlife opened 4 months ago

mmdlife commented 4 months ago

First of all, I would like to express my gratitude for this project, which has been immensely helpful to me.

I have a minor question. When utilizing the uds_client.routine_control to perform a service, and I attempt to access the return value through res.service_data.routine_status_record, I receive it in binary format. I can transform it into hexadecimal using the binascii.hexlify(b).decode('utf-8') method. I am curious whether there is an inherent function within this project that can handle this conversion. Why not return the value directly in hexadecimal format? I eagerly await your response.