Device discovery at the data link layer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Device discovery at the data link layer

跳至解决方案
1,117 次查看
eshober
Contributor I

I would like to implement some form of Ethernet device discovery on our devices running MQX 3.8 with a Kinetis K-60. I would like it to work at the data link layer prior to having an IP address set. The idea is that they would simply plug our devices into the network and then run a program on a PC that would list all of our devices on the network and display their MAC addresses. I don't see any support for raw sockets. How can I access the network stack at the data link layer, perhaps to broadcast LLDP packets or something similar?

Is anyone doing anything like this? What techniques are being used? Has anyone implemented LLDP?

Any guidance would be much appreciated!

0 项奖励
回复
1 解答
774 次查看
Martin_
NXP Employee
NXP Employee
0 项奖励
回复
2 回复数
775 次查看
Martin_
NXP Employee
NXP Employee

You may check this:

Re: Sending Ethernet 2 frames

0 项奖励
回复
774 次查看
eshober
Contributor I

Thanks Martin! I think that's exactly what I was looking for.

0 项奖励
回复