Hi, 

I'm trying to integrate a GSM modem to my project (EFCOM PRO from Elec 
Freaks). I can connect the module to my pc fine using a usb to uart 
converter, send AT commands and receive the responses.

When trying to connect it to the IOIO, I cannot receive the reply. I am 
using pins 39 and 40 (tx and rx). Now I know that the modem replies 
correctly as I have sent a command from the IOIO and received it using the 
USB-UART converter and TeraTerm.

I use the following code to set up my UART:

//Setup Comms UART
DigitalInput.Spec rx = new DigitalInput.Spec(40, 
DigitalInput.Spec.Mode.PULL_UP);
DigitalOutput.Spec tx = new 
DigitalOutput.Spec(39,DigitalOutput.Spec.Mode.OPEN_DRAIN);
commsUart = ioio_.openUart(rx, tx, 9600, Uart.Parity.NONE, Uart.StopBits.ONE);
commsRx = commsUart.getInputStream();
commsTx = commsUart.getOutputStream();


Am I doing anything wrong here? Any advice or tips would be greatly appreciated.

-- 
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 http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to