BGS2 rs232 failure | Telit Cinterion IoT Developer Community
September 2, 2015 - 2:22pm, 15319 views
We have a BGS2 attached to the com1 port on the server (windows 2012r2. We use this device to send sms.
The problem is when we restart the server the device isn't recognized anymore. We need to go to the datacenter to disconnect the power, wait a while and reconnect before this works again.
Is this normal behaviour or what should I do keep the device working?
Jerry
Hello,
Could you please write some more details?
As I understand you connect the module via RS232 cable to the serial interface on the server. Or do you use any USB to RS converters?
The connection should be working after computer restart. Or if you power down the module the opening of serial connection on PC could wakeup the module.
What do you mean that the device isn't recognized? If there is a serial interface in PC there should always be COMx connection available and visible in device manager. Isn't it possible to open the connection or the connection opens but it's not possible to communicate with the module? Do you use any specific software for SMS sending.
Regards,
Bartłomiej
We don't use a usb to rs converter. It is connected directly to COM1.
There is a com1 and com2 in device manager.
When I try to connect with putty on com1 where the device is on nothing happens. When I press enter still nothing.
When the device is recognized we get text in there and are able to send sms.
We use INS for sending sms. But as mentioned above send through putty doesn't work either.
Jerry
Hello,
We need some starting point. Could you please provide some more information?
Can you send replies to ATI1, AT^SCFG?, AT&V commands?
Do you close the connection before restarting the computer?
Do you use hardware flow control? What are the connection parameters (baudrate etc.)?
Have you tried any other terminal?
Is the moduel still on after computer restart, is there any change in LEDs?
Regards,
Bartłomiej
We don't close the connection before restarting. Not sure if the connection stays open.
The program sending the sms is run from commandline. When done it closes.
Hardware flow control settings:
9600/8/1/none/XON/XOFF
tried putty and securecrt.
The module is still on after computer restart and the led is blinking.
It hangs on this screen:
Hello,
Please provide responses for ATI1, AT^SCFG?, AT&V commands.
Please set hardware flow control RTS/CTS instead of XON/XOFF for the terminal.
Regards,
Bartłomiej
I see nothing when entering the following commands:
ATI1
AT^SCFG?
AT&V
The screen stays as the screen above.
Hello,
So you probably was not able to send any AT command from the terminal but only your SMS sending program.
I haven't used Putty for serial connection. But generally the important thing is that each command must be terminated with CR character (0x0D). Maybe you should try some other free terminal program where you will be able to configure this character to be added to each command automatically.
If the module is on and you send the command that starts with AT and terminates with carriage return you should get the answer. Please also try 115200 (default) baudrate. ^SYSSTART is only thrown when the module starts.
Regards,
Bartłomiej
Got some responses from the device now:
Cinterion
BGS2-W
REVISION 01.301
A-REVISION 01.000.03
OK
^SCFG: "Audio/AMR","enabled"
^SCFG: "Audio/Loop","0"
^SCFG: "Call/ECC","0"
^SCFG: "Call/SpeechVersion1","0"
^SCFG: "GPRS/ATS0/withAttach","on"
^SCFG: "GPRS/AutoAttach","disabled"
^SCFG: "GPRS/RingOnIncomingData","off"
^SCFG: "MEopMode/CregRoam","0"
^SCFG: "PowerSaver/Mode9/Timeout","20"
^SCFG: "Radio/Band/HandOver","0"
^SCFG: "Serial/Ifc","0"
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "URC/CallStatus/CIEV","restricted"
^SCFG: "URC/CallStatus/SLCC","verbose"
^SCFG: "URC/Datamode/Ringline","off"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
OK
ACTIVE PROFILE:
E0 Q0 V1 X4 &C1 &D2 &S0 \Q0
S0:000 S3:013 S4:010 S5:008 S6:000 S7:060 S8:000 S10:002 S18:000
+CBST: 7,0,1
+CRLP: 61,61,78,6
+CR: 0
+FCLASS: 0
+CRC: 0
+CMGF: 0
+CNMI: 0,0,0,0,1
+ICF: 3
+ILRR: 0
+IPR: 9600
+CMEE: 0
^SMGO: 0,0
+CSMS: 0,1,1,1
^SACM: 0,"000000","FFFFFF"
^SLCC: 0
^SCKS: 0,1
^SSET: 0
+CREG: 0,2
+CLIP: 0,1
+CAOC: 0
+COPS: 0
+CGSMS: 3
OK
Hello,
And how about now when you know how to send commands to the module - is it still not possible to send commands from the console program to the module after PC restart?
BR,
Bartłomiej