Home/Support/Support Forum/Raw packet throught ethernet
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Raw packet throught ethernet

0 votes
We are interested in implementing Bacnet over Ethernet. However, I'm unable to find any documentation on how to actually write directly to the ethernet interface (not TCP or UDP).

Some post suggest to use the code below in Linux but it does not seem to works on the ConnectPort X4.

Any suggestion?
s = socket(AF_PACKET, SOCK_RAW) s.bind(("eth1", 0))
asked Mar 18, 2014 in Python by dprevost New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Hi there,

Unfortunately, with the X4, the ability to control the ethernet driver does not exist. Nor does it give you the ability to create your own. That's too low level for the gateways.

The intention is to provide a working platform that handles those details for you. Probably so they can market it to a wider audience.
answered Mar 24, 2014 by kjensen8 Veteran of the Digi Community (653 points)