Home/Support/Support Forum/Unknown Name rcm6700
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Unknown Name rcm6700

0 votes
hi, how I can set a rcm6700 name, for example today "Unknown Name"
asked Jul 8, 2013 in Rabbit Software by RafaelGarcia New to the Community (1 point)

Please log in or register to answer this question.

3 Answers

0 votes
What do you mean by "set an RCM6700 name"?
answered Jul 9, 2013 by trooper2 Veteran of the Digi Community (589 points)
0 votes
Hi,
I mean the name on a network, if a PC would be the computer name, for example "notebook03 or PC-smith or Sever-In-Out". On a serious dhcp server client name.
I hope you understand.
Thank you.

Rafael
answered Jul 10, 2013 by RafaelGarcia New to the Community (1 point)
0 votes
From what I can recall, you first need to define the DHCP_SEND_HOSTNAME macro. I think you also need to define a DHCP_CLASS_ID macro and finally you need to call sethostname() in your code to set the name you want to use.

if you have a look at the ports\rcm6700\main.c file in the Rabbit BACnet stack at bacrabbit.sourceforge.net you will see how I did it.

Regards,
Peter,
answered Jul 11, 2013 by petermcs Veteran of the Digi Community (1,130 points)
...