Digi IX10 User Manual page 646

Hide thumbs Also See for IX10:
Table of Contents

Advertisement

Applications
4. Click to enable Allow scheduled scripts to handle SMS.
5. Click Apply to save the configuration and apply the change.
  Command line
1. Select the device in Remote Manager and click Actions > Open Console, or log into the IX10
local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. At the command line, type config to enter configuration mode:
> config
(config)>
3. At the config prompt, type:
(config)> system schedule sms_script_handling true
(config)>
4. Save the configuration and apply the change:
(config)> save
Configuration saved.
>
5. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.
See
Configure scripts to run automatically
Example digidevice.sms script
The following example script receives an SMS message and sends a response:
#!/usr/bin/python3.10.1
import os
import threading
import sys
from digidevice.sms import Callback, send
COND = threading.Condition()
IX10 User Guide
Use Python to control the color of multi-colored LEDs
for more information about scheduling scripts.
646

Advertisement

Table of Contents
loading

Table of Contents