Tool/software:
Hi all,
I have my project based on SimplePeripheral.
SDK v7.40.
I use to be able to establish different connection speeds by changing the Linux parameters like this.
echo "10" > /sys/kernel/debug/bluetooth/hci0/conn_min_interval
echo "10" > /sys/kernel/debug/bluetooth/hci0/conn_max_interval
Then, upon connecting my PC as central to my BLE device based on CC26X2R as peripheral, the connection parameters were effectively changed.
Now (maybe introduced on v7.40 without me noticing?) I cannot.
The following is what I obtain as connection ALWAYS, no matter what I change on Linux machine.
2000/01/01 00:23:12 1396648 ms 968 ble.c own MAC address D0:2E:AB:D9:29:48
2000/01/01 00:23:18 1402256 ms 1287 ble.c central peer connecting DC:FB:48:6F:86:7C
2000/01/01 00:23:18 1402269 ms 1320 ble.c parameter connInterval = 156 = 195.000000 ms
2000/01/01 00:23:18 1402282 ms 1321 ble.c parameter connLatency = 0
2000/01/01 00:23:18 1402293 ms 1323 ble.c parameter connTimeout = 1000 = 10000 ms
Any idea how I could solve this?
Edit: without sending a Parameter Connection Update Request from my BLE device?
Edit 2: in fact it does not matter, because even trying it for the BLE device to negotiate faster connection, this happens:
2000/01/01 00:00:10 14223 ms 1918 ble.c Updated params for DC:FB:48:6F:86:7C, interval: 37.50 ms, latency: 0, timeout: 2000 ms
2000/01/01 00:00:11 15589 ms 1918 ble.c Updated params for DC:FB:48:6F:86:7C, interval: 195.0 ms, latency: 0, timeout: 10000 ms
Thanks