Part Number: CC1352P
Hello, I'm trying to figure out the open-thread examples, but there are a few questions that I can't get through:
if(addr->mAddress.mFields.m16[6]==TIOP_TEMPSENSOR_DEIVCE_TYPE)
{
targetThermstatAddress = addr->mAddress;
targetThermstatAddress.mFields.m16[6] = TIOP_THERMOSTAT_DEIVCE_TYPE;
targetThermstatAddress.mFields.m16[7] = TIOP_THERMOSTAT_DEIVCE_ID;
reportingAddress = targetThermstatAddress;
};
This is the code section of the tempsensor example. It uses the macros TIOP_TEMPSENSOR_DEIVCE_TYPE, TIOP_THERMOSTAT_DEIVCE_TYPE and TIOP_THERMOSTAT_DEIVCE_ID
And I can’t understand where they are registered, with what exactly they are compared, I did not find these descriptions in the search about the project, there is not a word about this in the readme file either. I would be glad for any help and explanation, otherwise it is very difficult to figure it out yourself and study the technology when there is practically no background.