p-net
p-net copied to clipboard
PROFINET device stack for embedded devices
IEC 61158-6-10:2019 4.3.1.2 specifies that an identify filter packet can contain 1 or more filter blocks and that any block type can be first. p-net determines that an identify packet...
This is a destructor for pnet_init_only(), meaning it does not free the pnet_t structure itself. It will only free the dynamically allocated members of pnet_t. Implementing a pnet_init() destructor in...
It might be necessary for our application to restart the driver from within the process without restarting the process. In the current version of the driver, there is no way...
The configuration structure contains fields which could be calculated in pnet_init(). Remove these fields from pnet_cfg_t as to simplify stack configuration for the user. Fields which could removed from configuration:...
The pnet_t struct contains a lot of variables belonging to many different sub-modules. This is not best programming practice. Suggestion: Group related variables into structs.
Currently, the private function pnet_init_only() is called in the unit tests. This does not allocate the pnet_t struct, but it does allocate memory for mutexes. The allocated memory is never...
A request from an end users stand-point is one of the following: - Have a flag indicating that the data has changed - Have a callback that triggers an event...
The API seems to lack the ability to get the endianness and float format information from e.g. the connect requests. With the stack not executing any data manipulation (which I...
The old script overwrote the default route. This worked on systems with one network interface. But this lead to breaking the internet connection when multiple interfaces are present. This change...
I for test compile example project with success https://www.youtube.com/watch?v=1AP0Izbvrvc (i show step by step on windows msys2) But i have few questions 1 Is it possible to compile the library...