phyphox Forums

Full Version: phyphoxBle not working with the latest Nano BLE drivers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Dear Gautier, the issue has been fixed on Friday. It should be in the repositories in the course of the day…
There it is (just 5' ago): twitter.com/arduinolibs/status/1320646695642947584
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!
Thank you Jens and Dominik!