def sendNewTrickle(self, message, forced=False):
    if forced:
        self.__trickleQueue.clear()
        send_serial_msg(message)
        net.addPrint('[APPLICATION] Trickle message: 0x {0} force send'.format(message.hex()))
    elif self.__trickleCheck():
        self.__expTrickle = ((self.__netMaxTrickle + 1) % MAX_TRICKLE_C_VALUE)
        send_serial_msg(message)
        net.addPrint('[APPLICATION] Trickle message: 0x {0} sent'.format(message.hex()))
    else:
        self.__trickleQueue.append(message)
        self.addPrint('[APPLICATION] Trickle message: 0x {0} queued'.format(message.hex()))
def sendNewTrickle(self, message, forced=False):
    if forced:
        self.__trickleQueue.clear()
        send_serial_msg(message)
        net.addPrint('[APPLICATION] Trickle message: 0x {0} force send'.format(message.hex()))
    elif self.__trickleCheck():
        self.__expTrickle = ((self.__netMaxTrickle + 1) % MAX_TRICKLE_C_VALUE)
        send_serial_msg(message)
        net.addPrint('[APPLICATION] Trickle message: 0x {0} sent'.format(message.hex()))
    else:
        self.__trickleQueue.append(message)
        self.addPrint('[APPLICATION] Trickle message: 0x {0} queued'.format(message.hex()))