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