Skip to content

getNumberSMS() is not working #30

@tgisop

Description

@tgisop

Hi,
I am trying to get the SMS number of Sim800l but the function is not working.
All the other function are OK
the code is simple ::::

String SMSBody, SMSNum
.
.
void loop()
.
byte index = GSM.checkForSMS();
SMSBody=GSM.readSms(index);
SMSNum=GSM.getNumberSms(index);

Serial.println((String)"SMSBody :"+SMSBody);
Serial.println((String)"SMSNum :"+SMSNum);

and the results are
SMSBody :Turnon
SMSNum :

Can you help me?
Can you please edit the README.md comments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions