10-21-2020, 01:27 PM
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).
Thanks for your help!
Gautier
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 *);
^~~~~~~~~~~~~~~~~~~~~~~~~~
Gautier