Home/Support/Support Forum/How can I read serial data off the digi connect wi-sp?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How can I read serial data off the digi connect wi-sp?

0 votes
import os
serfd = os.open( '/com/0', os.O_RDWR |os.O_NONBLOCK)
data = os.read(serfd, 64)
print data

When I run my python program with the code above on the digi connect wi-sp I get the following error:

OS Error: [Errrno 16] Device or resource busy: '/com/0'

I tried using com/1 and com/2 but it says no such device.

How can I read serial data from the digi connect wi-sp?
asked Jun 29, 2015 in Serial Servers by mackieee New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Is this NET+OS or PlugNPlay?
answered Sep 21, 2015 by Campbell Veteran of the Digi Community (551 points)
...