input data for antenna diversity algorithm (zephyr)

hello,

i'm having an nrf52 based system with an antenna switcher in front of it, for antenna diversity. i tried using BT_HCI_OP_READ_RSSI as basis for my antenna diversity algorithm, but it seems like it's not enough (sometimes the rssi value is 'ok' for a certain antenna, but the connection still drops when using it. the other antenna, with about the same rssi value works). is there any other figure(s) i can get from the stack? such as number of resends, or any other error rate.

thanks, jacob

Parents
  • Hello,

    Not sure if I quite understand, but you should know that RSSI can vary a lot depending on line of sight, orientation of antenna, obstacles and reflections, so I am not sure how well RSSI will work in general, I would at least recommend that you average or filter the RSSI values such that you don't immediately switch antenna based on one RSSI measurement. I do not think it is possible to extract "resends or other error rates" from the low level stack no.

    If you have problems with an antenna in general, it may be that the antenna is not properly tuned to the environment it is used, so it may be a good idea to create a private ticket for someone here in tech support to take a look at your schematic and layout.

    Kenneth

Reply
  • Hello,

    Not sure if I quite understand, but you should know that RSSI can vary a lot depending on line of sight, orientation of antenna, obstacles and reflections, so I am not sure how well RSSI will work in general, I would at least recommend that you average or filter the RSSI values such that you don't immediately switch antenna based on one RSSI measurement. I do not think it is possible to extract "resends or other error rates" from the low level stack no.

    If you have problems with an antenna in general, it may be that the antenna is not properly tuned to the environment it is used, so it may be a good idea to create a private ticket for someone here in tech support to take a look at your schematic and layout.

    Kenneth

Children
No Data
Related