p-net icon indicating copy to clipboard operation
p-net copied to clipboard

PROFINET device stack for embedded devices

Results 55 p-net issues
Sort by recently updated
recently updated
newest added

1500PLC超过18个带Record的slot就无法组态成功,1200PLC超过40个带Record的slot就无法组态成功。 1200PLC超过40个带Record的slot无法组态成功,我通过如下修改解决了。 ![image](https://user-images.githubusercontent.com/66555955/171829550-ee3bbc9f-5cb0-4781-b8f2-cc9ff42bd2ac.png) https://github.com/rtlabs-com/p-net/issues/493 1500PLC超过18个带Record的slot也会无法组态成功,我通过如下解决了。 ![image](https://user-images.githubusercontent.com/66555955/171829103-fb405991-adae-4396-bd86-7c5cae29f51b.png) 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"。所以组态失败。 ![image](https://user-images.githubusercontent.com/66555955/171804275-4f4cebe2-e0e0-4718-bb90-6d57f23267c2.png) 而不分包的情况下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...

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?

usage

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.