Ursalink cellular routers all come with built-in component for secondary development in Python. PySDK is required for UR32/35 to carry out the commands in this article. To enable related functions, please refer to this article (How to Install Python SDK and Read Log) and import the SDK first.
If your UR32/35 router is currently using firmware version 32/35.1.0.58 and earlier versions, it’s recommended to check out our release note and upgrade to the latest firmware.
If the model is UR51/52/55 or UR71/72/75, please submit a ticket for instructions.
Preparation:
- PuTTY or any Shell tool to log in router system via SSH
Step 1:
Open PuTTY or any Shell tool to log in as “admin”, password is “password” by default. If you have changed the password to admin on web GUI, use your custom password here.
Step 2:
For example, you need to install AWS Python SDK for your development. Type down the following commands in Shell command line window:
ROUTER> en
ROUTER# con t
ROUTER(config)# python
ROUTER(Python)# pip install AWSIoTPythonSDK
(en=enable; con t=configure terminal)
Step 3:
Verify the installation with command:
ROUTER(Python)# pip show
Other basic python related commands in Linux system are supported as well.
Comments
0 comments
Please sign in to leave a comment.