Charmed Quark Systems, Ltd. - Support Forums and Community
Updated SMS Driver - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: Driver Development (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=13)
+--- Thread: Updated SMS Driver (/showthread.php?tid=11170)



Updated SMS Driver - gReatAutomation - 01-28-2021

I found an issue with the SMS driver and was able to fix it.

Added:
  • SignalStrength - Calculated based on the RSSI
  • CallerID - extracts the caller id from the SMS message and stores it. When you clear the NewMessage or NewCommand flag, the CallerID field will be blank.
Fixed:
  • NewMessage - This was an existing a R/W Boolean field. When a new message (+M:MESSAGE) is received, this field will be True and you will see the message text in the ReceiveMessage field. The NewMessage field will remain True until you change it back to False, at which point the ReceiveMessage field will be blank
  • NewCommand - This was an existing a R/W Boolean field. When a new command (+C:COMMAND) is received, this field will be True and you will see the command text in the ReceiveCommand field. The NewCommand will remain True until you change it back to False, at which point the ReceiveCommand field will be cleared out.
These changes will allow you to set field triggers (Is Field Change For) on the NewMessage and NewCommand fields and take appropriate actions as you see fit.

The addition of CallerID will allow you to do many things, once of which is securing the processing of commands and restricting it based off of the CallerID value.