p-net
p-net copied to clipboard
PROFINET device stack for embedded devices
1500PLC超过18个带Record的slot就无法组态成功,1200PLC超过40个带Record的slot就无法组态成功。 1200PLC超过40个带Record的slot无法组态成功,我通过如下修改解决了。  https://github.com/rtlabs-com/p-net/issues/493 1500PLC超过18个带Record的slot也会无法组态成功,我通过如下解决了。  wireshark抓取1500PLC分别插入10、20、40、50个带Record的slot。 [wireshark.zip](https://github.com/rtlabs-com/p-net/files/8821170/wireshark.zip) 通过wireshark抓包发现:1500PLC"write request"是“little endian”,两包(当超过18个带Record的slot会分包)都是"little endian"。而p-net"write response"时第一包是"big endian",而第二包是"little endian"。所以组态失败。  而不分包的情况下1500PLC"write request"是“little endian”,p-net"write response"是"big endian"可以组态成功。
Dear friends, I think there is a potential memory leak in handling dcp requests and sending dcp responses back. I am speaking about the file pf_dcp.c with the date 2022-05-18...
stm32
good morning Sir , trying to understand this exemple i find some folders about stm32 so i'm asking if we use cmake with the stm32 IDE do you think that...
Is there a way to configure my ubuntu system to be allow a non-sudo user to run this program?
If the hostname is not defined in the rt-kernel config (CFG_LWIP_HOSTNAME), the rt-kernel port will strcpy from a NULL pointer (netif_default->hostname).
Will probably work also for FreeRTOS (using lwip) with some small modifications.
There is a chance to end up in an endless loop due to a counter overflow. Think this covers the edge cases.
This builds on the previous patch of responding to all filter types. The DCP tests were mainly looking for a return of 1 to say that the packet was handled,...
There are missing data length checks for RT_Class = 0x02,0x03,0x05. The Standard says these classes must have a data length of 40-1440.