micropython-sim800 icon indicating copy to clipboard operation
micropython-sim800 copied to clipboard

Send and receive SMS messages

Open andypnz opened this issue 2 years ago • 2 comments

Hi... Can this be used to send and receive SMS messages?

To send a message I guess I need to do something like this: await sim.command('AT+CMGS="PHONE_NUMBER","{}"'.format(phone_number), 'OK') Can I fit a message in there somewhere? And what about receiving?

I have a project using micropython + uasyncio that I would like to add SMS send and receive to allow control + sensor reporting.....

Thank you.....

andypnz avatar May 29 '23 00:05 andypnz

It's been quite a while since I originally crafted this library. You're most welcome to make modifications and tailor it to suit your specific needs. Please, consider it as a foundation to build upon and create the solution that's right for your project.

olablt avatar May 29 '23 08:05 olablt

Hi... Thank you.... yes, I see it was a while ago :-) Would you be able to give any suggestion as to how I would send a SMS using the await sim.command? Thank you for any help :-)

andypnz avatar May 29 '23 09:05 andypnz