sandeepmistry / arduino-BLEPeripheral

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.
MIT License
462 stars 179 forks source link

fix compile issues for debug defines #93

Closed bojh closed 7 years ago

bojh commented 7 years ago

Compile issue using NRF_51822_DEBUG in nRF51822.cpp: bleEvt->evt.gap_evt.params.sec_params_request.peer_params.timeout is not a part of the ble_gap_sec_params_t structure in ble_gatt.h for all used softdevices s132, s130 (SDK_11), and s110 (SDK_8) Compile issue using BLE_PERIPHERAL_DEBUG in BLEPeripheral.cpp: printing the address parameter in function.

sandeepmistry commented 7 years ago

I'm closing this in favour of https://github.com/sandeepmistry/arduino-BLEPeripheral/commit/bda37fb41836501933c558953feb9ebc6d40a28f. The timeout value is still present in older S110 versions.