Hi,

I am trying to connect IOIO to a GSM modem with UART. If I connect it to PC 
it gives the output "10 a1 02 00 00 5d 10 03" every 10 seconds. I managed 
to connect it to the IOIO but it gives the output "d7 d9 ff ff 45 df f9" 
every 10 seconds. What can be problem?

I connect to uart using: uart = ioio_.openUart(3, 4, 9600, 
Uart.Parity.NONE, Uart.StopBits.ONE);

public void loop() throws ConnectionLostException, InterruptedException {
    try {
        int availableBytes = in.available();

        if (availableBytes > 0) {
            try {
                Log.d("UART", "Received is " + in.read());
            }catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}

Best regards,
BZ

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to