Maximum cell phone number length - Cellular.command

Hi,

I am trying to send an short message to a longer than normal cell number bit get an rejection message.

Is there any way around it ? I tried a few trick, but cannot decide if it is Cellular.command not allowing long number or a setting on the modem’s software ?

Options 1 - working fine
cellnumber.concat(“AT+CMGS=”+27999999999"");

Options 2 - Error
cellnumber.concat(“AT+CMGS=”+2799999999999999"");

All help will be appreciated.

James

I’ve just seen this, so it may be solved long ago.

You may find enabling log level tracing helps diagnose the issue, as the cellular library/class has reasonable diagnostics. You haven’t really provided enough context for further assistance, otherwise.

SerialLogHandler logHandler(LOG_LEVEL_ALL);
...
setup(){...}
loop(){...}

Tx

It was solved. The network helped me. It seems the Electron can handle very long numbers.