Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

Revision:
96:f98c65780f4a
Parent:
80:cdcc094ab166
Child:
113:2fb5fde31edc
--- a/nRF51822n.cpp	Mon Mar 02 11:34:45 2015 +0000
+++ b/nRF51822n.cpp	Mon Mar 02 11:34:45 2015 +0000
@@ -81,6 +81,16 @@
     return BLE_ERROR_NONE;
 }
 
+void nRF51822n::getPermittedTxPowerValues(const int8_t **valueArrayPP, size_t *countP)
+{
+    static const int8_t permittedTxValues[] = {
+        -40, -30, -20, -16, -12, -8, -4, 0, 4
+    };
+
+    *valueArrayPP = permittedTxValues;
+    *countP = sizeof(permittedTxValues) / sizeof(int8_t);
+}
+
 ble_error_t nRF51822n::init(void)
 {
     /* ToDo: Clear memory contents, reset the SD, etc. */