Hello,
I am trying to use the Beacon Scanner library but I'm getting this error when building for Photon 2:
/Users/me/particle/beacon-scanner/lib/BeaconScanner/src/lairdbt510.cpp:202:18: error: 'BLE_GAP_SEC_STATUS_SUCCESS' was not declared in this scope
202 | case BLE_GAP_SEC_STATUS_SUCCESS:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/me/particle/beacon-scanner/lib/BeaconScanner/src/lairdbt510.cpp:206:18: error: 'BLE_GAP_SEC_STATUS_CONFIRM_VALUE' was not declared in this scope
206 | case BLE_GAP_SEC_STATUS_CONFIRM_VALUE:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [../build/target/user/platform-32-m/beacon-scanner/BeaconScanner/src/lairdbt510.o] Error 1
make[3]: *** [user] Error 2
make[2]: *** [modules/tron/user-part] Error 2
make[1]: *** [make-main] Error 2
make: *** [compile-user] Error 2
* The terminal process "/bin/bash '-c', 'make -f '/Users/me/.particle/toolchains/buildscripts/1.15.0/Makefile' compile-user -s'" terminated with exit code: 2.
* Press any key to close the terminal.
This is on Device OS 5.8.0.
It builds fine when I build for an Argon.
What can I do to make this work on a Photon 2?
Thanks