Can't return from 2Mbps to 1Mbps
Hi
The connection starts up in 1Mbps and when connected, I change it to 2Mbps. This all goes well, but I can't return to 1Mbps anymore if I do this. Any ideas ?
thx in advance :D
Hi
The connection starts up in 1Mbps and when connected, I change it to 2Mbps. This all goes well, but I can't return to 1Mbps anymore if I do this. Any ideas ?
thx in advance :D
fixed it, the PHY_options( Not Supported by STM32WB) was the key . Am I wrong to say that the bluetooth stack is not well documentated ?
for people with the same problem:
case 1: //1Mbps
LOG_TRM("status: %d",PU8(hci_le_set_phy(BleApplicationContext.BleApplicationContext_legacy.connectionHandle,0x00,0x01,0x01,0x01)));
LOG_TRM("TX speed: %d",PU8(get_TX()));
break;
case 2: //2Mbps
LOG_TRM("status: %d",PU8(hci_le_set_phy(BleApplicationContext.BleApplicationContext_legacy.connectionHandle,0x00,0x02,0x02,0x02)));
LOG_TRM("TX speed: %d",PU8(get_TX()));
break;
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.