SME_SENSOR_IDX
tred->sensor = SME_SENSOR_IDX(sme, tred->sensor);
binfo->sensor = SME_SENSOR_IDX(sme, binfo->sensor);