I installed a SIM7000A shield onto an Arduino Uno WiFi R2 and downloaded the example code. The code worked great and I was successful sending an SMS to my phone. Now that the initial test worked I would like to install my code to include the bare necessities from the example code to send an SMS. I copied and pasted what I thought I needed from the sample code but the SMS fails. Is there sample code that I could download that would give me SMS capability without giving me all of the other functionality?
Thank you. That worked great! All I need to do now is figure out how to send a text to myself when someone opens my garage door. I'm thinking I can declare callerIDnumber with my number. I have an Arduino 33 iot with a door switch connected. I'm sending data via mqtt to my Arduino Uno WiFi. I was hoping to use the Arduino cloud but the Uno WiFi is not a recognized device. I suppose I could connect the shield to another board.
Post by warrenscorner on Mar 10, 2023 20:43:06 GMT
I deleted the code to receive SMS and I would like to send a simple SMS. How do I assign my phone number to callerIDbuffer? Do the variables in sendSMS have to be char type? I guess I don't understand the char data type.