xDot communicating with Android

Home Forums mDot/xDot xDot communicating with Android

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19799
    Jade Pierce
    Participant

    I have been trying to send AT commands to the xDot using an Android tablet. I been using the UsbSerial library by felHR85. I managed to get a program working with the Android talking to an Arduino. I attempted to use the same code, but with a changed baud rate.

    Is there a unique way the xDot communicates using serial that I am missing?
    Thanks in advance for the help.

    #19801
    Mike Fiore
    Blocked

    Jade,

    The Dot AT firmware uses 8N1 at 115200 baud by default. You will want to make sure you Android side has flow control turned off.

    Cheers,
    Mike

    #19803
    Jade Pierce
    Participant

    I have the settings rate at 115200 baudRate, 8 databits, 1 stopbit, no parity, and flow control off. And it still not seeing the xDot. When I unplug and plug it back in, the device ID changes. When looking at it though a terminal the device ID is either ARMmbed or on occasion a UART.

    Thanks

    #19812
    Mike Fiore
    Blocked

    Jade,

    The ARMmbed device is probably the debug port. You’d want to be issuing the AT commands on the other device which should be the command port.

    Does communication with a PC (instead of the Android) work OK? If so, I’d be inclined to think the issue is on the Android side.

    Are you using an existing Android app or writing a new one?

    Cheers,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.