Problems using AT commands with sim800l gsm module

I'm trying to use sim800l to send and receive SMS. But I got stuck at the begining. I wrote a code that uses software serial and hardware serial, wich allows me to send commands directly to module using the monitor serial. All the messages comming from the module are displayed on the monitor serial as well.

The problem is I only get OK as answer, no matter wich command I send to it. Below is an extract from my monitor serial.

AT

OK
AT

OK
I
AT
E0

OK
AT
I\
r\

OK
n

As you can see, the commands sent were AT, ATI, ATE0, ATI\r\n. The only answer I got was OK.

What do I have to do to have the module working properly?

Thanks in advance

Hi

I have a sim800 working fine using serial2 on my freetronics ethermega.

How have you connected the sim800 to the arduino system? The sim800 serial interface runs at 2.8 volts and should not be connected directly to a 5 volt arduino serial interface. You need to use a signal converter.

Also you must power a sim800 with a 2 amp 4 volt power supply. You cannot get that power from a connection to an arduino board.

Give me more information.

Cheers

Catweazle NZ

You do not set values like that.

https://www.adafruit.com/datasheets/sim800_series_at_command_manual_v1.01.pdf

Read page 17 of that manual.

Set value.

AT+<command>=<parameter>

Read value:

AT+<command>?

Remove <> when using.

Page 23 has the syntax for the AT[mgsm][;] command you seem to be trying to set.