ESPHome device entities all show 'Unknown' (SIM800L)

Hi,

I am new to home assistant but spent a lot of time getting everything to work. So far so good but I have one ESPHome device that is giving me problems. Mabe it’s the hardware I am using but at the moment I do not think that is the case. This is the device:

https://www.tinytronics.nl/en/development-boards/microcontroller-boards/with-telecommunication/lilygo-ttgo-t-call-esp32-with-sim800c-axp192

Now I managed to program the ESP32 with ESP home and configured the yaml file to work with the SIM800. The device shows up in my dashboard but all the entitiy states are ‘Unknown’. I have a power switch and if I flip it, I do see 2 leds on the board switch on so I can communicated with the hardware. This is my yaml file:

esphome:
  name: gsm-module
  friendly_name: GSM module

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:
  baud_rate: 0 # disable uart logger on esp 8266
  level: VERBOSE

# Enable Home Assistant API
api:
  encryption:
    key: "TR038ZTw3uK7U8/Yat0/YtxNUL6D/XP6a00x7nCjjiw="
  actions:
    - action: send_sms
      variables:
        recipient: string
        message: string
      then:
        - sim800l.send_sms:
            recipient: !lambda 'return recipient;'
            message: !lambda 'return message;'
        - logger.log: "GSM Send SMS"
    - action: dial
      variables:
        recipient: string
      then:
        - sim800l.dial:
            recipient: !lambda 'return recipient;'
        - logger.log: "GSM Dial"
    - action: connect
      then:
        - sim800l.connect
        - logger.log: "GSM Connect"
    - action: disconnect
      then:
        - sim800l.disconnect
        - logger.log: "GSM Disconnect"
    - action: send_ussd
      variables:
        ussdCode: string
      then:
        - sim800l.send_ussd:
            ussd: !lambda 'return ussdCode;'
        - logger.log: "GSM Send USSD"

ota:
  - platform: esphome
    password: "69d8cda5ed596a25734674cad3d6d682"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Gsm-Module Fallback Hotspot"
    password: "XYjcTMoWUkLr"

captive_portal:

i2c:
  sda: GPIO21
  scl: GPIO22
  scan: true
  id: bus_a  

switch:
  - platform: gpio
    pin: GPIO25
    name: "SIM800C Power"
  - platform: gpio
    pin: GPIO4
    name: "SIM800C Power Key"

binary_sensor:
  - platform: sim800l
    registered:
      name: "Sim800L Registered"

sensor:
  - platform: sim800l
    rssi:
      name: "Sim800L RSSI"

text_sensor:
  - platform: template
    id: sms_sender
    name: "Sms Sender"
  - platform: template
    id: sms_message
    name: "Sms Message"
  - platform: template
    id: caller_id_text_sensor
    name: "Caller ID"
  - platform: template
    id: ussd_message
    name: "Ussd Code"

uart:
  baud_rate: 9600
  tx_pin: TX
  rx_pin: RX

sim800l:
  on_sms_received:
    - lambda: |-
        id(sms_sender).publish_state(sender);
        id(sms_message).publish_state(message);
    - logger.log: "SMS Received"
  on_incoming_call:
    - lambda: |-
        id(caller_id_text_sensor).publish_state(caller_id);
    - logger.log: "Incoming Call"
  on_call_connected:
    - logger.log:
        format: Call connected
    - logger.log: "Connected"
  on_call_disconnected:
    - logger.log:
        format: Call disconnected
    - logger.log: "Disconnected"
  on_ussd_received:
    - lambda: |-
        id(ussd_message).publish_state(ussd);
    - logger.log: "USSD Received"

In the home-assistant.log I see these messages (log level: INFO)

2024-10-26 11:46:59.873 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to gsm-module @ 192.168.0.106 in 0.009s

2024-10-26 11:47:00.006 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successful handshake with gsm-module @ 192.168.0.106 in 0.133s

If I initiate an action via developer tools I get these messages:

2024-10-26 11:47:06.550 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Running websocket_api script

2024-10-26 11:47:06.550 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Executing step call service

This is the log from the device itself:

INFO ESPHome 2024.10.2
INFO Reading configuration /config/esphome/gsm-module.yaml...
INFO Starting log output from 192.168.0.106 using esphome API
INFO Successfully connected to gsm-module @ 192.168.0.106 in 0.071s
INFO Successful handshake with gsm-module @ 192.168.0.106 in 0.080s
[12:25:25][I][app:100]: ESPHome version 2024.10.2 compiled on Oct 26 2024, 11:54:14
[12:25:25][C][wifi:600]: WiFi:
[12:25:25][C][wifi:428]:   Local MAC: 40:22:D8:FC:67:9C
[12:25:25][C][wifi:433]:   SSID: [redacted]
[12:25:25][C][wifi:436]:   IP Address: 192.168.0.106
[12:25:25][C][wifi:440]:   BSSID: [redacted]
[12:25:25][C][wifi:441]:   Hostname: 'gsm-module'
[12:25:25][C][wifi:443]:   Signal strength: -31 dB ▂▄▆█
[12:25:25][V][wifi:445]:   Priority: 0.0
[12:25:25][C][wifi:447]:   Channel: 9
[12:25:25][C][wifi:448]:   Subnet: 255.255.255.0
[12:25:25][C][wifi:449]:   Gateway: 192.168.0.1
[12:25:25][C][wifi:450]:   DNS1: 213.46.228.196
[12:25:25][C][wifi:451]:   DNS2: 62.179.104.196
[12:25:25][C][logger:185]: Logger:
[12:25:25][C][logger:186]:   Level: VERBOSE
[12:25:25][C][logger:188]:   Log Baud Rate: 0
[12:25:25][C][logger:189]:   Hardware UART: UART0
[12:25:25][C][i2c.arduino:071]: I2C Bus:
[12:25:25][C][i2c.arduino:072]:   SDA Pin: GPIO21
[12:25:25][C][i2c.arduino:073]:   SCL Pin: GPIO22
[12:25:25][C][i2c.arduino:074]:   Frequency: 50000 Hz
[12:25:25][C][i2c.arduino:086]:   Recovery: bus successfully recovered
[12:25:25][I][i2c.arduino:096]: Results from i2c bus scan:
[12:25:25][I][i2c.arduino:102]: Found i2c device at address 0x34
[12:25:25][C][uart.arduino_esp32:151]: UART Bus 0:
[12:25:25][C][uart.arduino_esp32:152]:   TX Pin: GPIO1
[12:25:25][C][uart.arduino_esp32:153]:   RX Pin: GPIO3
[12:25:25][C][uart.arduino_esp32:155]:   RX Buffer Size: 256
[12:25:25][C][uart.arduino_esp32:157]:   Baud Rate: 9600 baud
[12:25:25][C][uart.arduino_esp32:158]:   Data Bits: 8
[12:25:25][C][uart.arduino_esp32:159]:   Parity: NONE
[12:25:25][C][uart.arduino_esp32:160]:   Stop bits: 1
[12:25:25][C][switch.gpio:068]: GPIO Switch 'SIM800C Power'
[12:25:25][C][switch.gpio:091]:   Restore Mode: always OFF
[12:25:25][C][switch.gpio:031]:   Pin: GPIO25
[12:25:25][C][switch.gpio:068]: GPIO Switch 'SIM800C Power Key'
[12:25:25][C][switch.gpio:091]:   Restore Mode: always OFF
[12:25:25][C][template.text_sensor:020]: Template Sensor 'Sms Message'
[12:25:25][C][template.text_sensor:020]: Template Sensor 'Caller ID'
[12:25:25][C][template.text_sensor:020]: Template Sensor 'Ussd Code'
[12:25:25][C][sim800l:465]: SIM800L:
[12:25:25][C][sim800l:467]:   Registered 'Sim800L Registered'
[12:25:25][C][sim800l:467]:     Device Class: 'connectivity'
[12:25:25][C][sim800l:470]:   Rssi 'Sim800L RSSI'
[12:25:25][C][sim800l:470]:     Device Class: 'signal_strength'
[12:25:25][C][sim800l:470]:     State Class: 'measurement'
[12:25:25][C][sim800l:470]:     Unit of Measurement: 'dBm'
[12:25:25][C][sim800l:470]:     Accuracy Decimals: 0
[12:25:25][C][captive_portal:089]: Captive Portal:
[12:25:25][C][mdns:116]: mDNS:
[12:25:25][C][mdns:117]:   Hostname: gsm-module
[12:25:25][V][mdns:118]:   Services:
[12:25:25][V][mdns:120]:   - _esphomelib, _tcp, 6053
[12:25:25][V][mdns:122]:     TXT: friendly_name = GSM module
[12:25:25][V][mdns:122]:     TXT: version = 2024.10.2
[12:25:25][V][mdns:122]:     TXT: mac = 4022d8fc679c
[12:25:25][V][mdns:122]:     TXT: platform = ESP32
[12:25:25][V][mdns:122]:     TXT: board = esp32dev
[12:25:25][V][mdns:122]:     TXT: network = wifi
[12:25:25][V][mdns:122]:     TXT: api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256
[12:25:25][C][esphome.ota:073]: Over-The-Air updates:
[12:25:25][C][esphome.ota:074]:   Address: gsm-module.local:3232
[12:25:25][C][esphome.ota:075]:   Version: 2
[12:25:25][C][esphome.ota:078]:   Password configured
[12:25:25][C][safe_mode:018]: Safe Mode:
[12:25:25][C][safe_mode:020]:   Boot considered successful after 60 seconds
[12:25:25][C][safe_mode:021]:   Invoke after 10 boot attempts
[12:25:25][C][safe_mode:023]:   Remain in safe mode for 300 seconds
[12:25:25][C][api:140]: API Server:
[12:25:25][C][api:141]:   Address: gsm-module.local:6053
[12:25:25][C][api:143]:   Using noise encryption: YES

Any help would be very much appreciated! I am running the latest version of HA on a Raspberry PI 5.

I found mine in the UK would only work on one network, I tried different SIMs borrowing from my phone and work phone. I made the assumption that this was because of the switch off of 2G, not sure if that is the reason or not but what worked for me. You can connect the SIM800 to a terminal and issue AT commands and I tried various settings but nothing worked, only SIM from one particular network for me. You could try adding debug to your uart I think you then see the AT commands, seem to remember that the SIM800 became unresponsive and wouldn’t acknowledge AT commands.

uart:
  baud_rate: 9600
  debug:

Thanks for this info!

I played around a bit more and decided to connect the SIM800 directly to the USB port of my Raspberry PI. I installed this sms integration: SMS notifications via GSM-modem - Home Assistant. This worked so my conclusion is that the SIM800 works just fine with my sim and network. I added the debug line and It seems the communication between the ESP32 and the SIM800 is not working. I see no AT commands. Maybe something important is still missing in the configuration? This is the only line I see at startup now that I have the debug switched on:

[23:17:38][D][uart_debug:158]: >>> “\x1A”

Is the YAML your full config, I can’t see where you have switched the power on to the power GPIO and then done a reset on the power key GPIO i.e. high-low-high? The arduino example does this

It also uses a baud rate of 115000 though mine is 9600 like you have

I do the power switching manually because I don’t know how to do it in the YAML file.

Just had another look at your config and not sure you have defined the pins correctly for the uart, you have used the default TX/RX whereas the module you have looks to use custom pins. You can see it from the logs it is using pins GPIO1 & GPIO3 looks like it should be GPIO27 and GPIO26 so I’d suggest changing to

uart:
  baud_rate: 9600
  tx_pin: GPIO27
  rx_pin: GPIO26

And if you add this to your switches they will default on and will define a button to do the reset for you.

switch:
  - platform: gpio
    pin: GPIO25
    name: "SIM800C Power"
    restore_mode: ALWAYS_ON
  - platform: gpio
    pin: GPIO4
    id: sim800C_reset
    name: "SIM800C Power Key"
    restore_mode: ALWAYS_ON

button:
  - platform: template
    name: "SIM800C Reset"
    on_press: 
      - switch.turn_off: sim800C_reset
      - delay: 1s
      - switch.turn_on: sim800C_reset

These are my settings, working with no problem;

# Enable Home Assistant API
api:
  actions:
    - action: send_sms
      variables:
        recipient: string
        message: string
      then:
        - sim800l.send_sms:
            recipient: !lambda 'return recipient;'
            message: !lambda 'return message;'
    - action: dial
      variables:
        recipient: string
      then:
        - sim800l.dial:
            recipient: !lambda 'return recipient;'
    - action: connect
      then:
        - sim800l.connect
    - action: disconnect
      then:
        - sim800l.disconnect
    - action: send_ussd
      variables:
        ussdCode: string
      then:
        - sim800l.send_ussd:
            ussd: !lambda 'return ussd

uart:
  baud_rate: 9600
  tx_pin: 27
  rx_pin: 26
sensor:
  - platform: sim800l
    rssi:
      name: "Sim800L RSSI"



binary_sensor:
  - platform: sim800l
    registered:
      name: "Sim800L Registered"

switch:
  - platform: gpio
    name: "SIM800_PWKEY"
    pin: 4
    restore_mode: ALWAYS_OFF
  - platform: gpio
    name: "SIM800_RST"
    pin: 5
    restore_mode: ALWAYS_ON
  - platform: gpio
    name: "SIM800_POWER"
    pin: 23
    restore_mode: ALWAYS_ON

text_sensor:
  - platform: template
    id: sms_sender
    name: "Sms Sender"
  - platform: template
    id: sms_message
    name: "Sms Message"
  - platform: template
    id: caller_id_text_sensor
    name: "Caller ID"
  - platform: template
    id: ussd_message
    name: "Ussd Code"

sim800l:
  on_sms_received:
    - lambda: |-
        id(sms_sender).publish_state(sender);
        id(sms_message).publish_state(message);
  on_incoming_call:
    - lambda: |-
        id(caller_id_text_sensor).publish_state(caller_id);
  on_call_connected:
    - logger.log:
        format: Call connected
  on_call_disconnected:
    - logger.log:
        format: Call disconnected
  on_ussd_received:
    - lambda: |-
        id(ussd_message).publish_state(ussd);

Thank you so much!! I can’t believe I overlooked the pin numbers. Also many thanks for the power pin info. This was very helpful! It is communicating now and I get a lot of AT commands in the logs.

BTW do you also get these messages:

[17:37:35][W][component:237]: Component sim800l took a long time for an operation (53 ms).
[17:37:35][W][component:238]: Components should block for at most 30 ms.

I am now able to send sms text messages to my phone and call to the LilyGo but I have not managed to receive messages yet. For some reason they are not showing yet.

I can’t see anything in your config that would stop it, only thing is you have an 800c whereas the library is made for 800l not sure it makes a difference. Two things I’d try, put the SIM in a phone and see what happens, also check the logs at the time of SMS.

Don’t worry about the warnings about waiting for device, quite common in ESPHome.

Andy

The sim receives the text messages fine when it is in a phone.
This is the log when I receive a text message. This part is repeated continously but the part with the *** in front is extra when a text message is received. From what I found that does mean there is a message but it seems I am missing the command that actually reads the message?

[00:25:29][V][sim800l:062]: S: AT - 1
[00:25:29][D][uart_debug:158]: >>> "AT\r\n"
[00:25:29][D][uart_debug:158]: <<< "\r\n"
[00:25:29][D][uart_debug:158]: <<< "OK\r\n"
[00:25:29][V][sim800l:073]: R: OK - 2
[00:25:29][V][sim800l:062]: S: AT+CMGF=1 - 2
[00:25:29][D][uart_debug:158]: >>> "AT+CMGF=1\r\n"
[00:25:29][D][uart_debug:158]: <<< "\r\n"
[00:25:29][D][uart_debug:158]: <<< "OK\r\n"
[00:25:29][V][sim800l:073]: R: OK - 3
[00:25:29][V][sim800l:062]: S: AT+CLIP=1 - 3
[00:25:29][D][uart_debug:158]: >>> "AT+CLIP=1\r\n"
[00:25:29][D][uart_debug:158]: <<< "\r\n"
[00:25:29][D][uart_debug:158]: <<< "OK\r\n"
[00:25:29][V][sim800l:073]: R: OK - 4
[00:25:29][V][sim800l:062]: S: AT+CREG? - 4
[00:25:29][D][uart_debug:158]: >>> "AT+CREG?\r\n"
[00:25:29][D][uart_debug:158]: <<< "\r\n"
[00:25:29][D][uart_debug:158]: <<< "+CREG: 0,1\r\n"
[00:25:29][V][sim800l:073]: R: +CREG: 0,1 - 5
[00:25:29][D][uart_debug:158]: <<< "\r\n"
[00:25:29][D][uart_debug:158]: <<< "OK\r\n"
[00:25:29][V][sim800l:073]: R: OK - 6
[00:25:29][V][sim800l:062]: S: AT+CSQ - 6
[00:25:29][D][uart_debug:158]: >>> "AT+CSQ\r\n"
[00:25:29][W][component:237]: Component sim800l took a long time for an operation (77 ms).
[00:25:29][W][component:238]: Components should block for at most 30 ms.
[00:25:29][D][uart_debug:158]: <<< "\r\n"
[00:25:29][D][uart_debug:158]: <<< "+CSQ: 12,4\r\n"
[00:25:29][V][sim800l:073]: R: +CSQ: 12,4 - 7
[00:25:29][V][sensor:043]: 'Sim800L RSSI': Received new state 12.000000
[00:25:29][D][sensor:094]: 'Sim800L RSSI': Sending state 12.00000 dBm with 0 decimals of accuracy
[00:25:29][D][uart_debug:158]: <<< "\r\n"
[00:25:29][D][uart_debug:158]: <<< "OK\r\n"
[00:25:29][V][sim800l:073]: R: OK - 11
[00:25:29][V][sim800l:062]: S: AT+CMGL="ALL" - 11
[00:25:29][D][uart_debug:158]: >>> "AT+CMGL=\"ALL\"\r\n"
[00:25:29][W][component:237]: Component sim800l took a long time for an operation (91 ms).
[00:25:29][W][component:238]: Components should block for at most 30 ms.
[00:25:29][D][uart_debug:158]: <<< "\r\n"
[00:25:29][D][uart_debug:158]: <<< "OK\r\n"
[00:25:30][V][sim800l:073]: R: OK - 12
[00:25:30][V][sim800l:062]: S: AT+CLCC - 12
[00:25:30][D][uart_debug:158]: >>> "AT+CLCC\r\n"
[00:25:30][D][uart_debug:158]: <<< "\r\n"
[00:25:30][D][uart_debug:158]: <<< "OK\r\n"
[00:25:30][V][sim800l:073]: R: OK - 20
***[00:25:30][D][uart_debug:158]: <<< "\r\n"***
***[00:25:30][D][uart_debug:158]: <<< "+CMTI: \"SM\",14\r\n"***
***[00:25:30][V][sim800l:073]: R: +CMTI: "SM",14 - 1***
***[00:25:30][V][sim800l:062]: S: AT+CMGL="ALL" - 1***
***[00:25:30][D][uart_debug:158]: >>> "AT+CMGL=\"ALL\"\r\n"***
***[00:25:30][W][component:237]: Component sim800l took a long time for an operation (74 ms).***
***[00:25:30][W][component:238]: Components should block for at most 30 ms.***
***[00:25:30][D][uart_debug:158]: <<< "\r\n"***
***[00:25:30][D][uart_debug:158]: <<< "OK\r\n"***
[00:25:30][V][sim800l:073]: R: OK - 12
[00:25:30][V][sim800l:062]: S: AT+CLCC - 12
[00:25:30][D][uart_debug:158]: >>> "AT+CLCC\r\n"
[00:25:30][D][uart_debug:158]: <<< "\r\n"
[00:25:30][D][uart_debug:158]: <<< "OK\r\n"
[00:25:30][V][sim800l:073]: R: OK - 20

Here is a test I did on mine with relevant logs that you have highlighted

[17:03:46][D][uart_debug:158]: >>> "AT+CLCC\r\n"
[17:03:46][D][uart_debug:158]: <<< "\r\n"
[17:03:46][D][uart_debug:158]: <<< "OK\r\n"
[17:03:50][D][uart_debug:158]: <<< "\r\n"
[17:03:50][D][uart_debug:158]: <<< "+CMTI: \"SM\",1\r\n"
[17:03:50][D][uart_debug:158]: >>> "AT+CMGL=\"ALL\"\r\n"
[17:03:51][D][uart_debug:158]: <<< "\r\n"
[17:03:51][D][uart_debug:158]: <<< "+CMGL: 1,\"REC UNREAD\",\"+44xxxxxxxxxx\",\"\",\"24/11/07,17:03:48+00\"\r\n"
[17:03:51][D][uart_debug:158]: <<< "Test\r\n"
[17:03:51][D][uart_debug:158]: <<< "\r\n"
[17:03:51][D][uart_debug:158]: <<< "OK\r\n"
[17:03:51][D][sim800l:322]: Received SMS from: +44xxxxxxxxxx
[17:03:51][D][sim800l:323]: Test

The AT commands are detailed here

  • “+CMTI” says there are new messages looks like 14 in your case
  • “AT+CMGL” instructs the SIM800 to send messages
  • In my case I then get “+CMGL” followed by the message, yours just seems to return OK

Not sure why yours isn’t working, can I ask are you sending from an Android phone? I’m not really familiar with Android but apparently there are two message formats RCS and SMS just wondering if your phone is sending as RCS and the SIM800 can’t receive, could try switching your phone to SMS mode or send from an IPhone.

Thanks for helping me out again! I was sending text messages from my iPhone. Good to know what it should look like. Strange that it doesn’t do the actual reading. I will play around a bit more and do some reading in the manual you sent me. I am going to try to modify the source code to add more logging. Maybe that will point me in the right direction. Not very familiar with ESPHome/GitHub and repositories but I will give it a try:-)

I sometimes get more logs after sending a text message…
3 Warnings this time.

[00:19:32][V][sim800l:062]: S: AT - 1
[00:19:32][V][sim800l:073]: R: OK - 2
[00:19:32][V][sim800l:062]: S: AT+CMGF=1 - 2
[00:19:32][V][sim800l:073]: R: OK - 3
[00:19:32][V][sim800l:062]: S: AT+CLIP=1 - 3
[00:19:32][V][sim800l:073]: R: OK - 4
[00:19:32][V][sim800l:062]: S: AT+CREG? - 4
[00:19:32][V][sim800l:073]: R: +CREG: 0,1 - 5
[00:19:32][V][sim800l:073]: R: OK - 6
[00:19:32][V][sim800l:062]: S: AT+CSQ - 6
[00:19:32][V][sim800l:073]: R: +CSQ: 21,0 - 7
[00:19:32][V][sensor:043]: 'Sim800L RSSI': Received new state 21.000000
[00:19:32][D][sensor:094]: 'Sim800L RSSI': Sending state 21.00000 dBm with 0 decimals of accuracy
[00:19:32][V][sim800l:073]: R: OK - 11
[00:19:32][V][sim800l:062]: S: AT+CMGL="ALL" - 11
[00:19:32][V][sim800l:073]: R: OK - 12
[00:19:32][V][sim800l:062]: S: AT+CLCC - 12
[00:19:32][V][sim800l:073]: R: OK - 20
[00:19:37][V][sim800l:062]: S: AT - 1
[00:19:37][V][sim800l:073]: R: +CMTI: "SM",18 - 2
[00:19:37][W][sim800l:097]: Not ack. 2 +CMTI: "SM",18
[00:19:37][V][sim800l:073]: R: OK - 0
[00:19:37][W][sim800l:104]: Received unexpected OK. Ignoring
[00:19:45][V][sim800l:073]: R: +CMTI: "SM",19 - 0
[00:19:45][W][sim800l:412]: Unhandled: +CMTI: "SM",19 - 0
[00:19:52][V][sim800l:062]: S: AT - 1
[00:19:52][V][sim800l:073]: R: OK - 2
[00:19:52][V][sim800l:062]: S: AT+CMGF=1 - 2
[00:19:52][V][sim800l:073]: R: OK - 3
[00:19:52][V][sim800l:062]: S: AT+CLIP=1 - 3
[00:19:52][V][sim800l:073]: R: OK - 4

Might be worth doing the following, adding a button to your button section as follows.

button: 
  - platform: template
    name: UartTest
    on_press: 
      - uart.write: "AT&V\r\n"

‘AT&V’ dumps your SIM800 saved configuration, so if you then look at your debug log you could compare with mine below, might point you in the right area to look with the help of the AT command reference.

[00:19:58][D][button:010]: 'UartTest' Pressed.
[00:19:58][D][uart_debug:158]: >>> "AT&V\r\n"
[00:19:58][D][uart_debug:158]: <<< "\r\n"
[00:19:58][D][uart_debug:158]: <<< "DEFAULT PROFILE\r\n"
[00:19:58][D][uart_debug:158]: <<< "S0: 0\r\n"
[00:19:58][D][uart_debug:158]: <<< "S3: 13\r\n"
[00:19:58][D][uart_debug:158]: <<< "S4: 10\r\n"
[00:19:58][D][uart_debug:158]: <<< "S5: 8\r\n"
[00:19:58][D][uart_debug:158]: <<< "S6: 2\r\n"
[00:19:58][D][uart_debug:158]: <<< "S7: 60\r\n"
[00:19:58][D][uart_debug:158]: <<< "S8: 2\r\n"
[00:19:58][D][uart_debug:158]: <<< "S10: 15\r\n"
[00:19:58][D][uart_debug:158]: <<< "+CRLP: 61,61,48,6\r\n"
[00:19:58][D][uart_debug:158]: <<< "V: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "E: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "Q: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "X: 4\r\n"
[00:19:59][D][uart_debug:158]: <<< "&C: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "&D: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CLTS: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CREG: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CGREG: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CMEE: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CIURC: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CFGRI: 2\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CMTE: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CANT: 0,0,10\r\n"
[00:19:59][D][uart_debug:158]: <<< "+STKPCIS: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CMGF: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CNMI: 2,1,0,0,0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CSCS: \"IRA\"\r\n"
[00:19:59][D][uart_debug:158]: <<< "+VTD: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CALS: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CHF: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CAAS: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CBUZZERRING: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+DDET: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+chic: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+MORING: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+SVR: 16\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CCPD: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CSNS: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CSGS: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CNETLIGHT: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+SLEDS: 64,64,64,800,3000,300\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CSDT: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CSMINS: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+EXUNSOL: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+SIMVDD: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+FSHEX: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+FSEXT: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CCTURI: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+IPR: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+IFC: 0,0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CSCLK: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "\r\n"
[00:19:59][D][uart_debug:158]: <<< "USER PROFILE\r\n"
[00:19:59][D][uart_debug:158]: <<< "S0: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "S3: 13\r\n"
[00:19:59][D][uart_debug:158]: <<< "S4: 10\r\n"
[00:19:59][D][uart_debug:158]: <<< "S5: 8\r\n"
[00:19:59][D][uart_debug:158]: <<< "S6: 2\r\n"
[00:19:59][D][uart_debug:158]: <<< "S7: 60\r\n"
[00:19:59][D][uart_debug:158]: <<< "S8: 2\r\n"
[00:19:59][D][uart_debug:158]: <<< "S10: 15\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CRLP: 61,61,48,6\r\n"
[00:19:59][D][uart_debug:158]: <<< "V: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "E: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "Q: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "X: 4\r\n"
[00:19:59][D][uart_debug:158]: <<< "&C: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "&D: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CLTS: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CREG: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CGREG: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CMEE: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CIURC: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CFGRI: 2\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CMTE: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CANT: 0,0,10\r\n"
[00:19:59][D][uart_debug:158]: <<< "+STKPCIS: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CMGF: 0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CNMI: 2,1,0,0,0\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CSCS: \"IRA\"+CNETLIGHT: 1\r\n"
[00:19:59][D][uart_debug:158]: <<< "+SLEDS: 64,64,64,800,3000,300\r\n"
[00:19:59][D][uart_debug:158]: <<< "+CSDT: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CSMINS: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+EXUNSOL: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+SIMVDD: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+FSHEX: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+FSEXT: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CCTURI: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+IPR: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+IFC: 0,0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CSCLK: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "\r\n"
[00:20:00][D][uart_debug:158]: <<< "ACTIVE PROFILE\r\n"
[00:20:00][D][uart_debug:158]: <<< "S0: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "S3: 13\r\n"
[00:20:00][D][uart_debug:158]: <<< "S4: 10\r\n"
[00:20:00][D][uart_debug:158]: <<< "S5: 8\r\n"
[00:20:00][D][uart_debug:158]: <<< "S6: 2\r\n"
[00:20:00][D][uart_debug:158]: <<< "S7: 60\r\n"
[00:20:00][D][uart_debug:158]: <<< "S8: 2\r\n"
[00:20:00][D][uart_debug:158]: <<< "S10: 15\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CRLP: 61,61,48,6\r\n"
[00:20:00][D][uart_debug:158]: <<< "V: 1\r\n"
[00:20:00][D][uart_debug:158]: <<< "E: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "Q: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "X: 4\r\n"
[00:20:00][D][uart_debug:158]: <<< "&C: 1\r\n"
[00:20:00][D][uart_debug:158]: <<< "&D: 1\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CLTS: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CREG: 1\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CGREG: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CMEE: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CIURC: 1\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CFGRI: 2\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CMTE: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CANT: 0,0,10\r\n"
[00:20:00][D][uart_debug:158]: <<< "+STKPCIS: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CMGF: 1\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CNMI: 2,1,0,0,0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CSCS: \"GSM\"\r\n"
[00:20:00][D][uart_debug:158]: <<< "+VTD: 1\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CALS: 1\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CHF: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CAAS: 1\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CBUZ\n"
[00:20:00][D][uart_debug:158]: <<< "+CSDT: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CSMINS: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+EXUNSOL: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+SIMVDD: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+FSHEX: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+FSEXT: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CCTURI: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+IPR: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+IFC: 0,0\r\n"
[00:20:00][D][uart_debug:158]: <<< "+CSCLK: 0\r\n"
[00:20:00][D][uart_debug:158]: <<< "\r\n"
[00:20:00][D][uart_debug:158]: <<< "OK\r\n"

Looks pretty much the same to me?

[08:46:22][D][button:010]: 'UartTest' Pressed.
[08:46:22][D][uart_debug:158]: >>> "AT&V\r\n"
[08:46:23][D][uart_debug:158]: <<< "\r\n"
[08:46:23][D][uart_debug:158]: <<< "DEFAULT PROFILE\r\n"
[08:46:23][V][sim800l:073]: R: DEFAULT PROFILE - 1
[08:46:23][D][uart_debug:158]: <<< "S0: 0\r\n"
[08:46:23][V][sim800l:073]: R: S0: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "S3: 13\r\n"
[08:46:23][V][sim800l:073]: R: S3: 13 - 1
[08:46:23][D][uart_debug:158]: <<< "S4: 10\r\n"
[08:46:23][V][sim800l:073]: R: S4: 10 - 1
[08:46:23][D][uart_debug:158]: <<< "S5: 8\r\n"
[08:46:23][V][sim800l:073]: R: S5: 8 - 1
[08:46:23][D][uart_debug:158]: <<< "S6: 2\r\n"
[08:46:23][V][sim800l:073]: R: S6: 2 - 1
[08:46:23][D][uart_debug:158]: <<< "S7: 60\r\n"
[08:46:23][V][sim800l:073]: R: S7: 60 - 1
[08:46:23][D][uart_debug:158]: <<< "S8: 2\r\n"
[08:46:23][V][sim800l:073]: R: S8: 2 - 1
[08:46:23][D][uart_debug:158]: <<< "S10: 15\r\n"
[08:46:23][V][sim800l:073]: R: S10: 15 - 1
[08:46:23][D][uart_debug:158]: <<< "+CRLP: 61,61,48,6\r\n"
[08:46:23][V][sim800l:073]: R: +CRLP: 61,61,48,6 - 1
[08:46:23][D][uart_debug:158]: <<< "V: 1\r\n"
[08:46:23][V][sim800l:073]: R: V: 1 - 1
[08:46:23][D][uart_debug:158]: <<< "E: 1\r\n"
[08:46:23][V][sim800l:073]: R: E: 1 - 1
[08:46:23][D][uart_debug:158]: <<< "Q: 0\r\n"
[08:46:23][V][sim800l:073]: R: Q: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "X: 4\r\n"
[08:46:23][V][sim800l:073]: R: X: 4 - 1
[08:46:23][D][uart_debug:158]: <<< "&C: 1\r\n"
[08:46:23][V][sim800l:073]: R: &C: 1 - 1
[08:46:23][D][uart_debug:158]: <<< "&D: 1\r\n"
[08:46:23][V][sim800l:073]: R: &D: 1 - 1
[08:46:23][D][uart_debug:158]: <<< "+CLTS: 0\r\n"
[08:46:23][V][sim800l:073]: R: +CLTS: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CREG: 0\r\n"
[08:46:23][V][sim800l:073]: R: +CREG: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CGREG: 0\r\n"
[08:46:23][V][sim800l:073]: R: +CGREG: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CMEE: 0\r\n"
[08:46:23][V][sim800l:073]: R: +CMEE: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CIURC: 1\r\n"
[08:46:23][V][sim800l:073]: R: +CIURC: 1 - 1
[08:46:23][D][uart_debug:158]: <<< "+CFGRI: 2\r\n"
[08:46:23][V][sim800l:073]: R: +CFGRI: 2 - 1
[08:46:23][D][uart_debug:158]: <<< "+CMTE: 0\r\n"
[08:46:23][V][sim800l:073]: R: +CMTE: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CANT: 0,0,10\r\n"
[08:46:23][V][sim800l:073]: R: +CANT: 0,0,10 - 1
[08:46:23][D][uart_debug:158]: <<< "+STKPCIS: 0\r\n"
[08:46:23][V][sim800l:073]: R: +STKPCIS: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CMGF: 0\r\n"
[08:46:23][V][sim800l:073]: R: +CMGF: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CNMI: 2,1,0,0,0\r\n"
[08:46:23][V][sim800l:073]: R: +CNMI: 2,1,0,0,0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CSCS: \"IRA\"\r\n"
[08:46:23][V][sim800l:073]: R: +CSCS: "IRA" - 1
[08:46:23][D][uart_debug:158]: <<< "+VTD: 1\r\n"
[08:46:23][V][sim800l:073]: R: +VTD: 1 - 1
[08:46:23][D][uart_debug:158]: <<< "+CALS: 1\r\n"
[08:46:23][V][sim800l:073]: R: +CALS: 1 - 1
[08:46:23][D][uart_debug:158]: <<< "+CHF: 0\r\n"
[08:46:23][V][sim800l:073]: R: +CHF: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CAAS: 1\r\n"
[08:46:23][V][sim800l:073]: R: +CAAS: 1 - 1
[08:46:23][D][uart_debug:158]: <<< "+CBUZZERRING: 0\r\n"
[08:46:23][V][sim800l:073]: R: +CBUZZERRING: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+DDET: 0\r\n"
[08:46:23][V][sim800l:073]: R: +DDET: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+MORING: 0\r\n"
[08:46:23][V][sim800l:073]: R: +MORING: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+SV+FSEXT: 0\r\n"
[08:46:23][V][sim800l:073]: R: +SV+FSEXT: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CCTURI: 0\r\n"
[08:46:23][V][sim800l:073]: R: +CCTURI: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+IPR: 0\r\n"
[08:46:23][V][sim800l:073]: R: +IPR: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "+IFC: 0,0\r\n"
[08:46:23][V][sim800l:073]: R: +IFC: 0,0 - 1
[08:46:23][D][uart_debug:158]: <<< "+CSCLK: 0\r\n"
[08:46:23][V][sim800l:073]: R: +CSCLK: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "\r\n"
[08:46:23][D][uart_debug:158]: <<< "USER PROFILE\r\n"
[08:46:23][V][sim800l:073]: R: USER PROFILE - 1
[08:46:23][D][uart_debug:158]: <<< "S0: 0\r\n"
[08:46:23][V][sim800l:073]: R: S0: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "S3: 13\r\n"
[08:46:23][V][sim800l:073]: R: S3: 13 - 1
[08:46:23][D][uart_debug:158]: <<< "S4: 10\r\n"
[08:46:23][V][sim800l:073]: R: S4: 10 - 1
[08:46:23][D][uart_debug:158]: <<< "S5: 8\r\n"
[08:46:23][V][sim800l:073]: R: S5: 8 - 1
[08:46:23][D][uart_debug:158]: <<< "S6: 2\r\n"
[08:46:23][V][sim800l:073]: R: S6: 2 - 1
[08:46:23][D][uart_debug:158]: <<< "S7: 60\r\n"
[08:46:23][V][sim800l:073]: R: S7: 60 - 1
[08:46:23][D][uart_debug:158]: <<< "S8: 2\r\n"
[08:46:23][V][sim800l:073]: R: S8: 2 - 1
[08:46:23][D][uart_debug:158]: <<< "S10: 15\r\n"
[08:46:23][V][sim800l:073]: R: S10: 15 - 1
[08:46:23][D][uart_debug:158]: <<< "+CRLP: 61,61,48,6\r\n"
[08:46:23][V][sim800l:073]: R: +CRLP: 61,61,48,6 - 1
[08:46:23][D][uart_debug:158]: <<< "V: 1\r\n"
[08:46:23][V][sim800l:073]: R: V: 1 - 1
[08:46:23][D][uart_debug:158]: <<< "E: 1\r\n"
[08:46:23][V][sim800l:073]: R: E: 1 - 1
[08:46:23][D][uart_debug:158]: <<< "Q: 0\r\n"
[08:46:23][V][sim800l:073]: R: Q: 0 - 1
[08:46:23][D][uart_debug:158]: <<< "X: 4\r\n"
[08:46:23][V][sim800l:073]: R: X: 4 - 1
[08:46:23][D][uart_debug:158]: <<< "&C: 1\r\n"
[08:46:23][V][sim800l:073]: R: &C: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "&D: 1\r\n"
[08:46:24][V][sim800l:073]: R: &D: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CLTS: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CLTS: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CREG: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CREG: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CGREG: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CGREG: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CMEE: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CMEE: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CIURC: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CIURC: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CBUZZERRING: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CBUZZERRING: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+DDET: 0\r\n"
[08:46:24][V][sim800l:073]: R: +DDET: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+MORING: 0\r\n"
[08:46:24][V][sim800l:073]: R: +MORING: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+SVR: 16\r\n"
[08:46:24][V][sim800l:073]: R: +SVR: 16 - 1
[08:46:24][D][uart_debug:158]: <<< "+CCPD: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CCPD: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CSNS: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CSNS: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CSGS: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CSGS: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CNETLIGHT: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CNETLIGHT: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+SLEDS: 64,64,64,800,3000,300\r\n"
[08:46:24][V][sim800l:073]: R: +SLEDS: 64,64,64,800,3000,300 - 1
[08:46:24][D][uart_debug:158]: <<< "+CSDT: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CSDT: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CSMINS: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CSMINS: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+EXUNSOL: 0\r\n"
[08:46:24][V][sim800l:073]: R: +EXUNSOL: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+FSHEX: 0\r\n"
[08:46:24][V][sim800l:073]: R: +FSHEX: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+FSEXT: 0\r\n"
[08:46:24][V][sim800l:073]: R: +FSEXT: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CCTURI: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CCTURI: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+IPR: 0\r\n"
[08:46:24][V][sim800l:073]: R: +IPR: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+IFC: 0,0\r\n"
[08:46:24][V][sim800l:073]: R: +IFC: 0,0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CSCLK: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CSCLK: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "\r\n"
[08:46:24][D][uart_debug:158]: <<< "ACTIVE PROFIL\r\n"
[08:46:24][V][sim800l:073]: R: ACTIVE PROFIL - 1
[08:46:24][D][uart_debug:158]: <<< "+CREG: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CREG: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CGREG: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CGREG: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CMEE: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CMEE: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CIURC: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CIURC: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CFGRI: 2\r\n"
[08:46:24][V][sim800l:073]: R: +CFGRI: 2 - 1
[08:46:24][D][uart_debug:158]: <<< "+CMTE: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CMTE: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CANT: 0,0,10\r\n"
[08:46:24][V][sim800l:073]: R: +CANT: 0,0,10 - 1
[08:46:24][D][uart_debug:158]: <<< "+STKPCIS: 0\r\n"
[08:46:24][V][sim800l:073]: R: +STKPCIS: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CMGF: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CMGF: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CNMI: 2,1,0,0,0\r\n"
[08:46:24][V][sim800l:073]: R: +CNMI: 2,1,0,0,0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CSCS: \"IRA\"\r\n"
[08:46:24][V][sim800l:073]: R: +CSCS: "IRA" - 1
[08:46:24][D][uart_debug:158]: <<< "+VTD: 1\r\n"
[08:46:24][V][sim800l:073]: R: +VTD: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CALS: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CALS: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CHF: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CHF: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CAAS: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CAAS: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CBUZZERRING: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CBUZZERRING: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+DDET: 0\r\n"
[08:46:24][V][sim800l:073]: R: +DDET: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+MORING: 0\r\n"
[08:46:24][V][sim800l:073]: R: +MORING: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+SVR: 16\r\n"
[08:46:24][V][sim800l:073]: R: +SVR: 16 - 1
[08:46:24][D][uart_debug:158]: <<< "+CCPD: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CCPD: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CSNS: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CSNS: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CSGS: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CSGS: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+CNETLIGHT: 1\r\n"
[08:46:24][V][sim800l:073]: R: +CNETLIGHT: 1 - 1
[08:46:24][D][uart_debug:158]: <<< "+SLEDS: 64,64,64,800,3000,300\r\n"
[08:46:24][V][sim800l:073]: R: +SLEDS: 64,64,64,800,3000,300 - 1
[08:46:24][D][uart_debug:158]: <<< "+CSDT: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CSDT: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CSMINS: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CSMINS: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+EXUNSOL: 0\r\n"
[08:46:24][V][sim800l:073]: R: +EXUNSOL: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+FSHEX: 0\r\n"
[08:46:24][V][sim800l:073]: R: +FSHEX: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+FSEXT: 0\r\n"
[08:46:24][V][sim800l:073]: R: +FSEXT: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+CCTURI: 0\r\n"
[08:46:24][V][sim800l:073]: R: +CCTURI: 0 - 1
[08:46:24][D][uart_debug:158]: <<< "+IPR: 0\r\n"
[08:46:24][V][sim800l:073]: R: +IPR: 0 - 1
[08:46:25][D][uart_debug:158]: <<< "+IFC: 0,0\r\n"
[08:46:25][V][sim800l:073]: R: +IFC: 0,0 - 1
[08:46:25][D][uart_debug:158]: <<< "+CSCLK: 0\r\n"
[08:46:25][V][sim800l:073]: R: +CSCLK: 0 - 1
[08:46:25][D][uart_debug:158]: <<< "\r\n"
[08:46:25][D][uart_debug:158]: <<< "OK\r\n"
[08:46:25][V][sim800l:073]: R: OK - 1
[08:46:25][W][sim800l:104]: Received unexpected OK. Ignoring

Worth having a look at these two settings yours vs mine

 <<< "+CREG: 0\r\n"	         <<< "+CREG: 1\r\n"
 <<< "+CSCS: \"IRA\"\r\n"	 <<< "+CSCS: \"GSM\"\r\n"

The latter is to do with SMS format, you should be able to make a button to change these values same as as I did with Uarttest

Good luck

I have learnt a lot thanks to you! I managed to set these two AT commands but still no messages received. Later I saw there are multiple profiles each with their own settings. Not sure which profile is actually used. You have an ACTIVE PROFIL, not sure if that is your active profile but I don’t have that. I do see that two of my profiles have the GSM setting as well.
Now, the really strange (but wonderful) thing, I have managed to receive text messages now after changing a setting in my iPhone:

After switching this on I suddenly received text messages. Now the strange part. The iPhone has two options iMessage and ’ Send as text message’. With WIFI the iPhone will send the message using iMessage and the balloon is blue. You can however tap the balloon and make it send as text message and then you have a green balloon. I have always had the green balloons but only after I set this switch it starting receiving the messages. Also, after switching this off on the iPhone, it is still working. So still not sure if all is well now but if not we must be very close to solving it. Without your help I would have definitely given up so thanks again!

No problem, I always thought on the IPhone if it didn’t send it sent it again on SMS. Anyway looks like you are sorted and hopefully learnt a bit in the process. Have fun with your project, I use mine to interface to an old intruder alarm and my smoke detectors, took me a while to get working digging into AT commands turned out mine was just the provider switching 2G off.

Regards Andy