Skip navigation.
Home
The QNX Community Portal

View topic - HAM access to remote node entity not working in 6.5.0

HAM access to remote node entity not working in 6.5.0

Discussion about the QNX6 OS.

HAM access to remote node entity not working in 6.5.0

Postby samia.rahman » Thu Jul 26, 2012 9:20 am

This worked in QNX 6.3.0 but is not working in QNX 6.5.0 and QNX 6.5.0 SP1
I have two machines that can see each other over qnet.
"app1" with entity name "app1_e" attaches to the ham on "machine1" and can be seen as "/net/machine1/proc/ham/app1_e" directory.
"app2" with entity name "app2_e" attaches to the ham on "machine2" and can be seen as "/net/machine2/proc/ham/app2_e" directory.
"app2" is able to connect to "machine1" ham using ham_connect_node("machine1", 0);
However it is not able to then get the entity handle for "app1" on "machine1" using ham_entity_handle_node("machine1","app1_e", 0); I get an errno of 2 which means that it could not find the entity name. I also verified that app2 running on machine 2 is able to access the directory "/net/machine1/proc/ham/app1_e" using the access function.

Any idea what the issue is with 6.5.0? Why can it not find the entity handle on a remote node?
samia.rahman
New Member
 
Posts: 1
Joined: Thu Jul 26, 2012 7:16 am

Return to QNX6 - OS

Who is online

Users browsing this forum: No registered users and 1 guest