Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - QNet with "hot swappable" devices, boot times: Page 1 of 8 (8 Items)
   
QNet with "hot swappable" devices, boot times  
Hi,

we are designing a system where we have several integrated CPUs and also external modules that are connected and 
disconnected while the main system is running.

I am concerned about the following:

1. how fast will the QNX nodes find each other upon system boot? Is there anything we can do to aid node discovery to be
 faster/more efficient? Anything one should avoid?

2. when the external modules are un-docked, the old node will be lingering for some time in /net. We do have knowledge 
whether the external module is connected or not (be means of physical contacts), can we use this to somehow make qnx "
purge" the old /net entry right away? Our worst case scenario would be undocking an external module, plugging in another
 (but physically identical) module, and the old connection would linger and the new one couldn't be used...

3. currently, we have only one external module docked/plugged in. My plan was to give each module a unique hostname, so 
those appear nicely with an intelligible name under /net. Now the potential problem is:
a) what happens when in later versions there are two identical external modules plugged in
b) what happens to the names upon undocking a module and swapping it for another one? Will anybody notice? Can anybody 
notice? How to tell the main system software that now another module has been docked in?

Thanks & Greetings,
 Marc