🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    SIM800C send sms - Uiflow or Micropython

    SOFTWARE
    1
    2
    2.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jacek
      last edited by

      Hi,
      I'm stuck with code to send SMS, I'm not able to find how to send char at the end of command Ascii(26).
      The uart.writechar is not recognized.
      Code:
      uart2.write('AT+CMGS="+48xxxxxxxx"\r')
      uart2.write('Test SIM800') <- and here should be send ASCII(26)
      wait(1)

      1 Reply Last reply Reply Quote 0
      • J
        Jacek
        last edited by

        Solution:
        isMessage = (str('Test SIM800') + chr(26))

        1 Reply Last reply Reply Quote 1
        • First post
          Last post