Hi Ti,
I had change the ant control to our design. my configuration as below. it can work well on AOA, but error on CL-AOA (the same error like this thread)
if cl_aoa:
cl_aoa_params = {
"cl_aoa_role": "AOA_MASTER", # AOA_MASTER - currently only master role supported
"cl_aoa_result_mode": "AOA_MODE_RAW", # AOA_MODE_ANGLE, AOA_MODE_PAIR_ANGLES, AOA_MODE_RAW
"cl_aoa_slot_durations": 2,
"cl_aoa_sample_rate": 4, # 1Mhz (BT5.1 spec), 2Mhz, 3Mhz or 4Mhz - this enables oversampling
"cl_aoa_sample_size": 2, # 8 bit sample (as defined by BT5.1 spec), 16 bit sample (higher accuracy)
"cl_aoa_sampling_control": int('0x11', 16),
# bit 0 - 0x00 - default filtering, 0x01 - RAW_RF no filtering (use this mode for post process angle calculation),
# bit 4,5 - default: 0x10 - ONLY_ANT_1, optional: 0x20 - ONLY_ANT_2
"max_sample_cte": 1,
"cl_aoa_pattern_len": 16,
"cl_aoa_ant_pattern": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
}
I just modify setting of python to reduce ant_num, it become well on CL-AOA (master image still config 16 ANT array). looks like corrupt at llPeriodicScanSet_t *pPeriodicScan = llGetPeriodicScan( syncHandle );
"cl_aoa_pattern_len": 16, ==>15
"cl_aoa_ant_pattern": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] ==> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
Can you help to check if any limitation in this API