![Digi Connect EZ Mini User Manual Download Page 389](http://html.mh-extra.comconnect-ez-mini_user-manual_2496436389.png)
Applications
Digidevice module
Digi Connect EZ Mini User Guide
389
</device>
</data_service>
</sci_request>
Help for using Python to respond to Digi Remote Manager SCI requests
Get help for respond to Digi Remote Manager Server Command Interface (SCI) requests by accessing
help for
digidevice.device_request
:
1. Log into the Connect EZ command line as a user with shell access.
Depending on your device configuration, you may be presented with an
Access selection
menu
. Type
shell
to access the device shell.
2. At the shell prompt, use the
python
command with no parameters to enter an interactive
Python session:
# python
Python 3.6.13 (default, May
9 2021, 22:49:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
3. Import the
device_request
submodule:
>>> from digidevice import device_request
>>>
4. Use the help command with
device_request
:
>>> help(device_request)
Help on module digidevice.device_request in digidevice:
NAME
digidevice.device_request - APIs for registering device request handlers
...
You can also use the help command with available
device_request
functions:
n
Use the help command with
device_request.register
:
>>> help(device_request.register)
Help on function register in module digidevice.device_request:
register(target:str, response_callback:Callable[[str, str], str],
status_callback:Callable[[int, str], NoneType]=None, xml_
encoding:str='UTF-8')
...
n
Use the help command with
device_request.unregister
:
>>> help(device_request.unregister)
Help on function unregister in module digidevice.device_request:
unregister(target:str) -> bool
...