BGS5T - SPOW register changing after midlet starts | Telit Cinterion IoT Developer Community
December 29, 2016 - 3:20pm, 1294 views
Hello.
I have a midlet in which I open an RS232 communication. After this happens, the register SPOW which had 1,0,0 on its value, changes into 0,0,0 , and the data in ASC0 is received at random occurences.
String strCOM = "comm:COM0;blocking=off;baudrate=9600;autocts=on;autorts=on";
This is the connection string. The system is handling a device which has no flow control, using only RX,TX and GND, so the RS232 cable has CTS and RTS connected to work.
Is it possible to change the value of SPOW register in the java midlet?
I tried to do this:
atc.send("AT^SPOW=1,0,0/r");
It does not work.
The register changes:
AT^SPOW?AT^SPOW?
^SPOW: 1,0,0
OK
AT^SJAM=1,"a:/myApp.jad",""AT^SJAM=1,"a:/myApp.jad",""
OK
AT^SPOW?AT^SPOW?
^SPOW: 0,0,0
OK
Thanks
Hi,
you have wrong slash in
atc.send("AT^SPOW=1,0,0/r");
it should be \r :)
Best regards,
Tomasz