Hello. I'm using esp32-S3 with IDF with Bluedroid stack for BLE. I need to calculate the packet reception ratio between two BLE devices. So I have created a central and a peripheral device to communicate with each other. Then I gave a fixed channel map to enforce BLE to use just one channel for communication. Then I changed my WiFi channel to the same frequency as BLE to create noise on BLE channels. Although Wifi and BLE had interference with each other, I received packets completely. I think BLE does retransmission on the link layer. Therefore, can I find the number of packet retransmissions or can I set this value to calculate the packet reception ratio in a noisy environment?
Thanks in advance for your help.
Read or set retransmission count in BLE
-
- Posts: 1706
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Read or set retransmission count in BLE
How did you determine that there was 'interference'? What kind of interference?
Are you aware of https://docs.espressif.com/projects/esp ... exist.html ?
Re: Read or set retransmission count in BLE
Dear MicroController
I want to calculate the packet reception ratio. So I fixed my wifi channel to channel one and my BLE channel to channel four. these two channels have the same frequency. So when I started to transmit data with BLE, Wi-Fi interfered with it, and some of my packets must be dropped but because of retransmission in the BLE link layer, I received all of my packets completely. Hence, I need to disable channel retransmission or count the number of retransmissions to calculate PRR.
I want to calculate the packet reception ratio. So I fixed my wifi channel to channel one and my BLE channel to channel four. these two channels have the same frequency. So when I started to transmit data with BLE, Wi-Fi interfered with it, and some of my packets must be dropped but because of retransmission in the BLE link layer, I received all of my packets completely. Hence, I need to disable channel retransmission or count the number of retransmissions to calculate PRR.
-
- Posts: 1706
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Read or set retransmission count in BLE
Because of the WiFi/BLE coexistence, I doubt this assumption is correct.when I started to transmit data with BLE, Wi-Fi interfered with it, and some of my packets must be dropped
Who is online
Users browsing this forum: No registered users and 72 guests