Gemalto is now part of the Thales Group, find out more.

You are here

Can't change scfg for serial communication | Thales IoT Developer Community

December 2, 2014 - 11:07am, 3322 views

I changed AT^SCFG="Gpio/****/SPI" to std, because I need SPI line to communicate to sensor trough I2C. Now I have problem, because I also need serial communication, but I am having problems with it. Sometimes my java midlet won't open COM0. I check in the old threads (https://iot-developer.thalesgroup.com/threads/rs-232-connected-asc1) and if I understand corectly I need to set scfg to this:
^SCFG: "Serial/Interface/Allocation","1","1"

My scfg is: http://pastebin.com/yT4UGrfG

But every time I try to chang my scfg to that values I get error:

ERROR

at^SCFG: "Serial/Interface/Allocation","1","1"
at^SCFG: "Serial/Interface/Allocation","1","1"

ERROR
at^SCFG: "Gpio/****/SPI","rsv"
at^SCFG: "Gpio/****/SPI","rsv"

Also a sub question. What settings should I use so that I can open COM0 port in Java even if the device isn't yet connected? It wokred in the past if I added to parameters blocking=on or off, but that doesn't work anymore and device has to be connected that it works.

Regards

Jure