Thank you So much ....It worked.As u said I start with fresh code.In configuration.h I added CS_DEVICE_TYPE and CS_UID and APP_DEVICE_TYPE as follows:
for coordinator:
CS_DEVICE_TYPE DEVICE_TYPE_COORDINATOR
CS_UID 0x3333LL
APP_DEVICE_TYPE DEVICE_TYPE_COORDINATOR
for Router:
CS_DEVICE_TYPE DEVICE_TYPE_ROUTER
CS_UID 0x3344LL
APP_DEVICE_TYPE DEVICE_TYPE_ROUTER
Sorry for my all mistake
one more doubt if I need to connect some external sensor to my custom board which port to prefer??also where can I get this sensor data in the WSNdemo code
void BSP_ReadTempSensor(int16_t *value)
{
/* Read measured temperature sensor */
*value = (int16_t)rand();
}
shall I edit this line to read data from my external sensor?