def pack(pid, data_type=None):
    return struct.pack("<HHHxx", pid, 0 if data_type is None else 2, data_type or 0)
Pack a garmin request pack, data_type
dataset/ETHPy150Open braiden/python-ant-downloader/antd/garmin.py/pack