hpimdm/packet/PacketHPIMInterest.py
def bytes(self) -> bytes:
        """
        Obtain Protocol Interest Packet in a format to be transmitted (JSON)
        """
        msg = {"SOURCE": self.source,
               "GROUP": self.group,
               "SN": self.sequence_number
              }

        return msg

        Obtain Protocol Interest Packet in a format to be transmitted (JSON)
        
Obtain Protocol Interest Packet in a format to be transmitted (JSON)
Obtain Protocol Interest Packet in a format to be transmitted ( JSON )
def bytes(self) -> bytes:
        msg = {"SOURCE": self.source,
               "GROUP": self.group,
               "SN": self.sequence_number
              }
        return msg
def bytes ( self ) -> bytes : msg = { "SOURCE" : self . source , "GROUP" : self . group , "SN" : self . sequence_number } return msg
Obtain Protocol Interest Packet in a format to be transmitted (JSON)
Obtain Protocol Interest Packet in a format to be transmitted ( JSON )
"""
        Obtain Protocol Interest Packet in a format to be transmitted (JSON)
        """
self