Raw packet throught ethernet

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))

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.