'3': sig } post = ExositeTelit.httpPost(myApp.CIK, resource_dict) # <-- Exosite # Send string to customer server DEBUG.sendMsg('Sending data: ' + post + '\r\n',RUN_MODE) # <-- Exosite: changed STA to post res = MDM.send(post,0) # <-- Exosite: changed STA to post #Exit data mode DEBUG.sendMsg('Exiting data mode\r\n',RUN_MODE) res = ATC.exitSocketDataMode() #Close Socket #Pass in: sockNum res = ATC.closeSocket('1') DEBUG.sendMsg('Connection closed\r\n',RUN_MODE) exitCode = 0 # Exosite --> # Increase or reset the counter if (ping == 100): ping = 1 else: ping = ping + 1 # <-- Exosite else: DEBUG.sendMsg("Connection failed to open\r\n",RUN_MODE)