HI
In BLE AOA SDK, we learned that system estimates pairAngle first ,then do some compensation related to RF channels.So here are two questions:
1 . in funtion " AoA_getPairAngles ", after complex product of antenna pairs, SDK adopt an extra compensation :
" (p->sign * antenna_versus_avg[p->a][p->b] + p->offset) *p->gain "
so what does the parameter "offset" and "gain" mean? In ideal system, we think the offset is 0 and gain is 1, is it correct?
2 in funtion " AoAReceiver_estimateAngle ", an extra carrier frequency compensation is adopted based on RF cahnnel, and the question is :
in function " AoA_getPairAngles ", we have " Paa_rel " represent phase shift between two adjacent repetition, so we think the frequency offset is compensated here, so why we need the extra frequency compensation in " AoAReceiver_estimateAngle "?