olablt / micropython-sim800

17 stars 3 forks source link

Send and receive SMS messages #1

Open andypnz opened 1 year ago

andypnz commented 1 year ago

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.....

olablt commented 1 year ago

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.

andypnz commented 1 year ago

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 :-)