phyphox Forums
phyphoxBle not working with the latest Nano BLE drivers - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6)
+--- Forum: Bugs and Problems (https://phyphox.org/forums/forumdisplay.php?fid=9)
+--- Thread: phyphoxBle not working with the latest Nano BLE drivers (/showthread.php?tid=1127)



phyphoxBle not working with the latest Nano BLE drivers - Gautier Creutzer - 10-21-2020

Hello!

I am still working with your Arduino library, and I noticed a few days ago that Arduino released new drivers (version 1.3.0) for the Arduino Nano BLE boards (now called Arduino mbed-enabled Boards). However, it seems that your library does not work on this new version anymore. I got this error when compiling a simple program, which is attached to this message. The program works with the old drivers (vers 1.1.6).

Code:
In file included from C:\Users\gauga\OneDrive\Documents\Arduino\libraries\phyphox_BLE\src/phyphoxBle.h:18:0,
                 from C:\Users\gauga\Desktop\stage\experiences_phyphox_arduino\test_accelerometer\test_accelerometer.ino:1:
C:\Users\gauga\OneDrive\Documents\Arduino\libraries\phyphox_BLE\src/phyphoxBLE_NRF52.h:80:44: error: 'DisconnectionCallbackParams_t' in 'Gap {aka class ble::interface::Gap<ble::generic::GenericGap<ble::pal::vendor::cordio::Gap, ble::pal::SecurityManager<ble::pal::vendor::cordio::CordioSecurityManager<ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor> >, ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor> >, ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor> > >}' does not name a type
  static void when_disconnection(const Gap::DisconnectionCallbackParams_t *);
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\gauga\OneDrive\Documents\Arduino\libraries\phyphox_BLE\src/phyphoxBLE_NRF52.h:84:40: error: 'ConnectionCallbackParams_t' in 'Gap {aka class ble::interface::Gap<ble::generic::GenericGap<ble::pal::vendor::cordio::Gap, ble::pal::SecurityManager<ble::pal::vendor::cordio::CordioSecurityManager<ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor> >, ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor> >, ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor> > >}' does not name a type
  static void when_connected(const Gap::ConnectionCallbackParams_t *);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks for your help!
Gautier


RE: phyphoxBle not working with the latest Nano BLE drivers - Jens Noriʇzsɔɥ - 10-26-2020

Dear Gautier, the issue has been fixed on Friday. It should be in the repositories in the course of the day…


RE: phyphoxBle not working with the latest Nano BLE drivers - Jens Noriʇzsɔɥ - 10-26-2020

There it is (just 5' ago): twitter.com/arduinolibs/status/1320646695642947584


RE: phyphoxBle not working with the latest Nano BLE drivers - Dominik Dorsel - 10-26-2020

Hey Gautier,

sorry for the late response. I found some additional problems with the upcomming "set connection parameters" which are not fixable right now. According to my github issue (https://github.com/arduino/ArduinoCore-mbed/issues/75) it looks like the ArduinoCore-mbed library will be updated later this week. With this update we can publish this feature aswell!


RE: phyphoxBle not working with the latest Nano BLE drivers - Gautier Creutzer - 10-27-2020

Thank you Jens and Dominik!