/* The ND command is used to discover and report all modules on its current operating channel (CH parameter) and PAN ID (ID parameter).  */
unsigned long xBeeNodeGet(void)
/* The ND command is used to discover and report all modules on its current operating channel (CH parameter) and PAN ID (ID parameter).  */
unsigned long xBeeNodeGet(void)
{
	int i=0;
	BufferClear();
	xBeeUartSendBuf("ATND\r\n",6);
	xSysCtlDelay(30000000);
    while(BufferLenGet()>=i*48)
    {
    	i++;
    }
	return i;
}