secsgem icon indicating copy to clipboard operation
secsgem copied to clipboard

How to get data in the HSMSPacket?

Open tondangerza opened this issue 1 year ago • 0 comments

Hello, I have to send S14F1 to get some data, and then it responds back at S14F2, where I got the data as:

b'\x01\x02\x01\x01\x01\x02A\t003000107\x01\x01\x01\x02A\x07MapDataA\tsome data\x01\x02\xa5\x01\x00\x01\x00'

from packet.data, but I don't know how to get 'some data'. Do you have an example of how to get the value I need?

def _on_s14f02(self, handler, packet):
        data = packet.data

tondangerza avatar Apr 22 '23 05:04 tondangerza