def transmit(self, pkt=None):
        if pkt is not None:
            self.tx = pkt  # always last transmitted msg/pkt/data
        if self.tx is None:
            raise ValueError("{0}: {1} Cannot transmit. No .tx."
                                "\n".format(self.stack.name,
                                            self.name))
        self.stack.transmit(self.tx, self.device.ha)
Queue pkt on stack packet queue
dataset/ETHPy150Open ioflo/ioflo/ioflo/aio/proto/exchanging.py/Exchange.transmit