Sending Data To A Server With With Siemens MC55 - gprs

I want to send some pictures for a sever with a GPRS Module. At first i had a sim900 module and I could send data with it with these AT commands:
at+cgatt=1;+cstt="myapn";+ciicr;
at+cipstart="tcp","ip","port"
As I said with these commands I could send some data to my test server. But it encountered some problems and i've changed it with a Siemens MC55 GPRS Modem. But I can't run these commands any more for connecting to my server and i get ERROR.
How can I fix this problem?

AT data connection commands are inherently different from modem to modem. Do you have a copy of the user manual? The user manual is extremely good for the MC55i!
As a side note execute:
AT+CMEE=1
To improve the error reporting so that you get real error codes and not just ERROR

Related

SIM5360A - HTTP bad request

I'm developing a device with an ESP32 connected through a level shifter to a SIM5360A.
The system is supposed to make a periodic HTTP post with it's sensor readings.
Even though I have a working setup with a SIM5360E breakout board, when I shifted to a custom PCB with a SIM5360A (because of carrier frequency), I'm not able of making an HTTP post/get.
Using a server hosted in AWS and doing a TCPDump, I detected that before the GET payload the SIM5360A inserts two spurious characters (0x01 0xF0).
The commands I'm sending to the modem are:
AT+CIPOPEN=0,"TCP","XX.XXX.XXX.XXX",80
AT+CIPSEND=0,39
GET /login HTTP/1.1<CR><LF>
Host: XX.XXX.XXX.XXX:80<CR><LF>
<CR><LF>
<CR><LF>
Using Wireshark to analyze the query on the server side, the data received is:
{0x01} {0xF0} GET ....
Those two characters confuse the apache server (and Wireshark) which doesn't interpret this as a HTTP message driving a 400: Bad Request.
I verified using PostMan that the query is correct. I also use the exact same firmware on my SIM5360E breakout successfully.
Using a scope I verified that the two characters are dumped into the UART channel by the SIM5360A and not by the level shifter or the ESP32.
I wanted to do a firmware upgrade on the SIM5360A but SIMCOM only has the 'E' firmware update available on it's website (just including this consideration for if someone has the firmware update for this version).
Any thoughts?
Thanks in advance
Bests

AT commands Module SIM7000E

I am programming some functions in a STM32 board. This functions consist in sequences of AT commands, which are sent over UART to the SIM7000E module, to do different tasks. The module uses a SIM with GSM.
The configuration function sends the following commands:
AT+CPIN=1234
AT+CREG=1
AT+CGATT=1
AT+CIPMUX=0
AT+CSTT="vpn","user","password"
AT+CIICR
AT+CIFSR
Now I want to program a function to check if the module is consuming network data after the configuration function. I am not sure whether I should check CREG, CGATT, CIICR or other command.
So the question is: In which point is the SIM consuming network data?
Thank you in advance!
I think It starts consuming data after the AT+CSTT command. Until the AT+CSTT command, module does not have the GPRS connection. After the AT+CSTT commands it is open to GPRS calls.
On the other side, even if you have an unvalid SIM card before the attaching the network, you can not know that you have data packet or not. I think like that I am not %100 sure but, I suggest like that.

Connect ESP8266 to open network using AT commands

We have an Arduino Uno connected to an ESP8266 and a bunch of other devices. We are using the ESP8266 as a WiFi connector (obviously) to send data to REST API.
Our problem is that we have to use an open network, and there is no AT-* command that does "connect to SSID without password".
We have considered using the CWJAP command, passing password as "", but have failed -- that may be because of a dumb AP we used (TPLINK), but we are wondering if this is the right approach (sending nothing vs nothing being sent dilemma).
Have you perhaps had any success with using such a configuration?
Proper way to connect to open network using AT commands is to provide:
AT+CWJAP=ssid,password
for example:
AT+CWJAP="Johns Network", ""
Which would be a string:
"AT+CWJAP=\"Johns Network\",\"\"".

Cannot Read From Multimeter with RS232 Communication

I am currently attempting to use a computer and RS232 connection to control a HP 34401A Multimeter. I am able to use commands such as "SYSTem:REMote" or "*TST" however when I attempt to use a command that sends back information nothing is returned to the computer. If I use another return command directly after I get a -410 error signifying that the output buffer is full. Are there any commands I need to use to tell it to send the information to the computer? I have been looking through the manual for one but cannot find it.
Extra Info:
RS232 Connection Setup: Baudrate=9600, Data bits=8, Stop bits=2, Parity=None
Since the connection is DTE to DTE I am using a null modem cable
I am using Termite to send commands to the multimeter
Thank you for any help!

Connect to Internet with GSM: modem connected, no Internet

I am connecting to my USB modem on a COM port and sending him commands:
AT+CGDCONT=1,"IP","internet"
AT$QCPDPP=1,1,internet,internet
AT_OWANCALL=1,1,1
AT_OHCIP?
modem is answering and I can see that leda are lighting as where there is connection established. I took these command by sniffing communication between GlobeTrotter Connect and COM port. LEDS are the same in both situations. But in Control Panel connection named with GlobeTrotter HSxPA Network Interface #2 is offline (no connection). What am I doing wrong?
When I'm watching GlobeTrotter program and in the same moment watching commands there is no more commands sent. When I click Disconnect in appliaction (GlobeTrotter) in the same moment I see that status if Local Network is changed, but no command are sent. Maybe I should enable it in Windows in my program?
Thanks for any help
Do you know for sure that the internet connection initiated as a Dial-Up Network (DUN) connection and not as an USB ethernet connection? The reason I ask is because for DUN then all communication is done with AT commands and what you have captured should be enough to reproduce. If the connection is an ethernet connection the AT commands are more likely to be only for configuration.
Of the four commands listed, only the first is a standard 27.007 command. DUN with standard commands would typically have invoked AT+CGACT to activate the connection. Maybe the
AT_OWANCALL command is similar, although that is just wild guessing from the name on my part. You should try to get some documentation for these proprietary commands.

Resources