Skip to content

Set preferred connection parameters #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Dorsel89 opened this issue Oct 23, 2020 · 4 comments
Closed

Set preferred connection parameters #75

Dorsel89 opened this issue Oct 23, 2020 · 4 comments

Comments

@Dorsel89
Copy link

Hey everyone,

with the change from ArduinoCore-nRF528x-mbedos to ArduinoCore-mbed we have some problems with the setPreferredConnectionParams() function.

If I understand this correctly the function moves from GAP (mbed 5) to GattServer (mbed >= 6.2.1). Unfortunately I dont see a way to change the connection parameter on mbed 6.0.0 which is currently used by ArduinoCore-mbed.

So my questions are:

  • Is there any way to set preferred connection paramter in mbed 6.0.0?
  • Is there a rough schedule when you want to switch to mbed 6.2.1 ?

Best regards

@facchinm
Copy link
Member

Hi @Dorsel89 ,
during this week we are trying to merge in mainline mbed-os the portenta related changes (https://github.com/arduino/mbed-os/pulls).
When this happens a full rebuild over 6.4.0 will be published and the core updated.

Since you are using the Nano33BLE which is already mainlined you can "simply" (if you are on Linux) rebuild libmbed using mbed-os-to-arduino script in the root of this repo (running ./mbed-os-to-arduino ARDUINO_NANO33BLE:ARDUINO_NANO33BLE will just work)

@Dorsel89
Copy link
Author

Hey @facchinm,

this sounds good! Im working on the phyphox-arduino library (https://github.com/Staacks/phyphox-arduino) which is made for educational projects. So I am quite happy if teachers use microcontrollers at all - using linux or a console in general is probably to much for some of them.

Best regards

@Dorsel89
Copy link
Author

Dorsel89 commented Jan 6, 2021

Hey everyone,

Im still waiting for the mbed-os rebase. Can you give any timeline how long it will take to go to mbed-os 6.2.1 or higher?

Best regards

@Dorsel89 Dorsel89 reopened this Jan 6, 2021
@facchinm
Copy link
Member

facchinm commented Jan 7, 2021

PR tracking the rebuild #88 . Portenta changes were merged last Tuesday (ARMmbed/mbed-os#13826) so we are ready to merge and release soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants