-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi,
I really appreciate you library so thank you very much!
in you sms.cpp it requires a char string for both the phone number and the message.
"
char SMSGSM::SendSMS(char *number_str, char *message_str)
"
Im hoping to send some dynamic information like temperature and other things
currently my temperature is a float.
is there any way of amending the sms.cpp to allow for more than just char strings?
this is where in at with my arduino code- its just a snippet:
if(!strcmp(smsbuffer,"Temp?")){
delay(dht.getMinimumSamplingPeriod());
float humidity = dht.getHumidity();
float temperature = dht.getTemperature();
Serial.println("Getting temperature");
Serial.print(temperature, 1);
Serial.print(" degrees C");
Serial.println("");
sms.SendSMS("+614********", (temperature, 1) );
Serial.println("\nSMS sent OK");
delay(10);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels