Task 4 - abha-m/IoT-SPIT GitHub Wiki

Task 4 : Combine Task 2 and Task 3 in python to broadcast a particular message string to all the numbers in the txt/csv/xlxs file

  • Combining both the Task 2 and Task 3 we can now read a file, store its contents in a dictionary and send it to multiple users using our version of Minicom.
  • To do this, the function in which our AT command for sending messages (AT+CMGF="number")acts is iterated multiple times with a constant string (the message to be sent) and the number field keeps on changing, hence sending the message to all the names stored in the file.