x

Determining flash and RAM sizes on a TransPort WR product via python

Determining memory and flash would need to be done with the sarcli() python module.  With it you call the appropriate CLI command to determine memory and flash. 
 
Transport command here (contains commands for determining available memory and flash):
http://ftp1.digi.com/support/documentation/90001019_L.pdf
 
sarcli() example here:

import sarcli
 
def Get_Cli():
        clidata = ""
        cli = sarcli.open()
        cli.write("gpio")
        whileTrue:
                tmpdata = cli.read(-1)
                ifnot tmpdata:
                        break
                clidata += tmpdata
        cli.close()
        return clidata
Last updated: Feb 25, 2019

Filed Under

Cellular/Transport

Recently Viewed Articles

No recently viewed articles