QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Setting the node number from hardware. |
Ref. No. |
QNX.000010280 |
Category(ies) |
Kernel |
Issue |
We are using the -l !b option to Proc to read the node number from a hardware DIP switch. While this works fine, the node number is always one more than the number set on the switch. I presume this is to prevent someone from trying to set node 0? However, this ends up being confusing. Any chance of a future release having an additional option to Proc32 such that the node number is as set in the hardware?
|
Solution |
Try the following (in order) option to Proc when setting the node number from hardware.
Proc32 -l0 -l!b{port}
This should then allow you to set the node number as the same as it is on the hardware.
|
|