Which SDK nrf51802 runs supports Bluetooth 4.2?
The last SDK for nRF51x series is version 12.3 it only supports BLE 4.x.