"""
ISO15118
"""
import logging
import sys

from pypacker.pypacker import Packet
from pypacker.structcbs import pack_H_le, unpack_H, unpack_H_le
from pypacker.triggerlist import TriggerList

logger = logging.getLogger("pypacker")

MSGTYPE_EXI	= 0x8001
MSGTYPE_SDP_REQ	= 0x9000
MSGTYPE_SDP_RSP	= 0x9001


class SDP(Packet):
	__hdr__ = (
		("id", "B", 0),
		("idrev", "B", 0),
		("msgtype", "H", 0),
		("msglen", "I", 0)
	)
