Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

Issue with multiple DHCP Clients on SSP 1.2.0

$
0
0

Hello,

 

On an S7G2-DK platform with SSP 1.2.0, I try to integrate the GT202 add-on. So, as per NetX configuration, I have 2 DHCP Clients, one for Ethernet IP Instance, and another for Wifi IP Instance.

There is an issue in the NetX when using more than 1 DHCP Client:

- When a callback notification is sent from the NetX IP Instance to the DHCP Client thread (see end of function _nx_udp_packet_receive), the callback is called with only the socket pointer, which is anyway ignored by it (see function _nx_dhcp_udp_receive_notify)

- In function  _nx_dhcp_udp_receive_notify, the ThreadX flags are being set, but for the wrong DHCP thread, by using a global pointer, _nx_dhcp_created_ptr, which is initialized when the DHCP thread is created. So, any callback sent by either IP instance is unlocking always the last created DHCP thread, and not the right one (as it uses a global variable holding the last created DHCP thread).

 

Please provide some workaround recommendation, and in which SSP release do you expect to fix this issue.

 

Thank you,

Valentin Vasiu


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>