Sends a UDP command to the wio device.

    \b
    DOES:
        Support "VERSION", "SCAN", "Blank?", "DEBUG", "ENDEBUG: 1", "ENDEBUG: 0"
        "APCFG: AP\\tPWDs\\tTOKENs\\tSNs\\tSERVER_Domains\\tXSERVER_Domain\\t\\r\\n",
        Note:
        1. Ensure your device is Configure Mode.
        2. Change your computer network to Wio's AP.

    \b
    EXAMPLE:
        wio udp --send [command], send UPD command

def cli(wio, send):
    '''
    Sends a UDP command to the wio device.

    \b
    DOES:
        Support "VERSION", "SCAN", "Blank?", "DEBUG", "ENDEBUG: 1", "ENDEBUG: 0"
        "APCFG: AP\\tPWDs\\tTOKENs\\tSNs\\tSERVER_Domains\\tXSERVER_Domain\\t\\r\\n",
        Note:
        1. Ensure your device is Configure Mode.
        2. Change your computer network to Wio's AP.

    \b
    EXAMPLE:
        wio udp --send [command], send UPD command
    '''
    command = send
    click.echo("UDP command: {}".format(command))
    result = udp.common_send(command)
    if result is None:
        return debug_error()
    else:
        click.echo(result)