Embedded software for BLE chip (nRF51822)