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):
TransPort User Guide
 
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

No recently viewed articles

Did you find this article helpful?