Home/Support/Support Forum/how do i get Wwan ip in python as variable on transport wr31
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

how do i get Wwan ip in python as variable on transport wr31

0 votes
I want to send a SMS containing the Wwan IP address.
but the wr31 does not support the digicli module. ( PYTHON )

how do I get a variable setup containing tha wwan ip

somthing like :

import sarcli

destination = '555-12345'
message = "pretty please" ("at\mibs=gprs.0.stats.ip")

def SendSms(destination, message):
cli = sarcli.open()
command = 'sendsms ' + destination + ' "' + message + '" '
cli.write(command)
cli.close()
SendSms(destination, message)
print "Sent SMS message: " + message
asked Oct 27, 2020 in 3rd Party Python and API development in other Languages by Eirfeldt New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes
Hi and welcome to Digi Forum.

You can find some python example for WR31 here: https://github.com/digidotcom/transport_examples/tree/master/WR31

If nothing apply to your case, I would suggest you to open a case sending an email tech.support@digi.com.

Please also review Digi Support level options, in particular for code debugging/writing: https://www.digi.com/support.

Thanks,

Anny
Digi Technical Support Team
answered Oct 28, 2020 by annydigi Community Contributor (96 points)
0 votes
Hey! my name is Camila I am looking for a developer and a resource who have extensive experience in Python. The resource will be working on software for a
<a href="https://uktopwriters.co.uk/">top essay writing service in UK</a>. I am planning to expand my business and hire a full-time developer. Please Response back if you have the required skills.
answered Dec 21, 2020 by camilamadison New to the Community (1 point)
...