Open
Conversation
Stores the following TLVs from incoming LLDP packet: * Port Description * Management Address Getter functions now report error if requested variable was not found in received LLDP packet, even if an LLDP packet has been received. Unit tests were added for LLDP.
The timers for clearing allowed MAC address, for flashing LED and for sending a delayed response should be independent of eachother.
This increases the max size of port description strings from 16 to 60 by default. The default value of 60 is arbitrary, but hopefully large enough to contain any received string.
A mutex is created as to allow thread safe access to I&M1.IM_Tag_Location. Unit tests were added.
Stack size for SNMP thread was increased for rt-kernel port due to increased stack utilisation.
Unit tests were also added.
Improve logging for pdport file reading
Document which string length constants that include a terminator. Remove redundant string manufacturer_specific_string from structs. Renamed OS_BUF_MAX_SIZE to PNAL_BUF_MAX_SIZE
Improve sampleapp handling of LEDs and buttons
Three fields were removed from the configuration struct pnet_lldp_port_cfg_t related to the current link status of an Ethernet port. A new pnal function is introduced to retrieve this information from the Ethernet driver. The new functions are only stubs at the moment.
The previous version referred to a version of osal that in turn referred to a submodule commit that does not exist.
This is requested by users that use p-net for testing of IO-controller applications. Add configuration flag for default diagnosis mechanism Also improve argument validation to diagnosis functions.
Fixes a bug where the LED state from one module (in a slot) was overwritten by data in next module/slot.
- Prepare configuration for multiple ports - Remove interface name parameter from pnet_init_only() - Add description on how how to configure a bridge for multi-port configuration in linux.
- Parameter moved to general configuration pnet_cfg_t
- Introduces a a separate write action list for internal transfers QSPI -> SRAM
Fixes problem with receiving several DCP identity requests in fast succession. Without this fix allocated responses in some situations were not freed. fixes #500
pnal_get_hostname for rt-kernel and STM32Cube could dereference a NULL pointer if lwip had not been configured with a hostname. Check before using hostname and return error if no hostname has been set. Fix #475
Correct spelling errors Update tutorial organisation Build the documentation via Cmake Contibutions by Fredik Karlberg and Jonas Berg
Fixes a session leak found during Security Level 1 testing.
Having support for shared device is at its core the same as having support for more than one AR. This commit adds such support. The main changes are: - Added handling more than one concurrent AR. - Better separation of real and expected identifications. - Added submodule ownership handling. - Change the PNET_MAX_AR configuration setting to be the actual number of application relations. Change-Id: Ie8792cf66317a834391430a7a785e5702f69fe22
The IOCRBlockReq PDUs need to be checked against the resources available. This change adds such checks and error responses when the checks fail.
The RPC specification says that there is a maximum size of a PDU that can be sent between client and server without further negotiation. This change adds a check of the size of a received PDU and a Reject response when the check fails.
This commit fixes #548. The xemacps descriptor queues are becoming corrupt, due to both lwip and p-net using the same driver but p-net does not check if the driver is busy. To resolve the issue, the LWIP core needs to be locked before it is called by p-net.
Fixes build issues on rt-kernel target.
For outgoing fragmented RPC messages, the header size was accounted for an extra time for each fragment except the first one. This change corrects that.
Change an error message to be slightly more helpful.
When restarting the sample service the script for exporting output gpios exited with errors and the service was never started. This is fixed by only exporting gpios if they are not already exported.
Extend recommended delay from start of snmpd to start of pn_dev application. This fixes an issue seen while running the ART Topology test where SNMP requests failed because the pn_dev snmpd integration had not been started.
With the latest kernel, the syntax for adding/removing vcap entries has been changed. Therefore update also the scripts to use new syntax. While at this update also the documentation.
Signed-off-by: Elena Popa <elena.popa@nxp.com>
Signed-off-by: Elena Popa <elena.popa@nxp.com>
This should match the order number in the sample application.
Signed-off-by: Elena Popa <elena.popa@nxp.com>
Since p-net may be compiled without asserts (e.g. release builds for STM32Cube), it could be the case that expressions with side effects were not evaluated; this would cause incorrect behaviour. While the rt-kernel port does not use CC_ASSERT, it has also been changed in the same manner for consistency.
Automated RT-Tester: DCP_ResetToFactory (v2.44) When performing a Reset Communication Parameter factory reset, the IP suite is zeroed. However, this was only done to p-net's non-volatile storage. Thus, p-net would respond to ARP requests destined to the old IP address until the IP address is changed or after a reset. This commit also resets the network interface.
6930de2 added an additional call to pnal_set_ip_suite.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
attempt to rebase...