def _iesubelmsmtreqmcastdiag_(s,sid):
""" :returns: parsed subelement of type mcast diag """
ret = s
if sid == std.EID_MSMT_REQ_SUBELEMENT_MCAST_TRIGGER:
c,t,d = struct.unpack_from('=3B',s)
ret = {'mcast-trigger-rpt':{'trigger-condition': c,
'inactivity-timeout': t,
'reactivation-delay': d}}
elif sid == std.EID_MSMT_REQ_SUBELEMENT_MCAST_VEND:
ret = _parseie_(std.EID_VEND_SPEC,s)
return ret
# MSMT Request subelements for type Location civic request Std Table 8-79
评论列表
文章目录