Exemple #1
0
 def createDisconnectPacket(self, **kwargs):
     return utils.CoAPacket2(code=packet.DisconnectRequest,
                             dict=self.dict,
                             secret=self.secret,
                             **kwargs)
Exemple #2
0
 def CreateDmPacket(self, secret=six.b(''), **kwargs):
     return utils.CoAPacket2(code=packet.DisconnectRequest,
                             dict=self.dict,
                             secret=secret,
                             **kwargs)
Exemple #3
0
 def createPacket(self, **kwargs):
     return utils.CoAPacket2(dict=self.dict, secret=self.secret, **kwargs)