Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updated SMS Driver
#1
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.


Attached Files
.cqcdrvpack   SMS.CQCDrvPack (Size: 10.23 KB / Downloads: 1)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  New to driver development - where to start? jokermac 2 88 09-22-2021, 04:01 PM
Last Post: Spot
  Tesla Driver Driver kfly 13 3,869 06-16-2021, 05:43 AM
Last Post: Dean Roddey
  RainMachine Sprinkler Irrigation Controller Driver kblagron 54 12,760 06-04-2021, 01:22 PM
Last Post: Dean Roddey
  Yamaha RX-V673 IP control Driver jdmevo123 22 9,520 03-27-2021, 03:02 PM
Last Post: Spot
  Sage Media Server driver (beta) Fonceur 698 316,875 07-26-2020, 04:59 PM
Last Post: sic0048
  Russound MCA-66 on TCP driver lapointe.sc@gmail.com 5 1,778 05-24-2020, 06:23 AM
Last Post: gReatAutomation
  Samsung SmartTV Driver George M 0 565 05-20-2020, 09:04 AM
Last Post: George M
  OpenWeatherMap Weather Driver Using OneCall API kblagron 11 2,836 05-18-2020, 04:09 AM
Last Post: dlmorgan999
  JVC D-ILA Driver jokermac 34 11,936 04-13-2020, 01:28 AM
Last Post: Mark Stega
  LIFX Driver bobskie708 15 9,316 01-05-2020, 11:00 AM
Last Post: simplextech

Forum Jump:


Users browsing this thread: 1 Guest(s)