HW layer for the Nucleo board, it only work with old BLE_API
Dependents: Hello_BLE F446RE-BLE
Fork of X_NUCLEO_IDB0XA1 by
Diff: BlueNRGDevice.cpp
- Revision:
- 67:23f9772ef7bf
- Parent:
- 64:6d7b775c3f6d
- Child:
- 68:e0a37e81f0a0
--- a/BlueNRGDevice.cpp Wed Apr 01 09:48:50 2015 +0000 +++ b/BlueNRGDevice.cpp Thu Apr 02 10:02:59 2015 +0000 @@ -195,4 +195,27 @@ DEBUG("enHighPower=%d, paLevel=%d\n\r", enHighPower, paLevel); aci_hal_set_tx_power_level(enHighPower, paLevel); return BLE_ERROR_NONE; +} + +/**************************************************************************/ +/*! + @brief get permitted Tx power values + @param[in] values pointer to pointer to permitted power values + @param[in] num number of values +*/ +/**************************************************************************/ +void BlueNRGDevice::getPermittedTxPowerValues(const int8_t **values, size_t *num) { + // <TODO> +} + + +/**************************************************************************/ +/*! + @brief shut down the the BLE device + @param[out] error if any +*/ +/**************************************************************************/ +ble_error_t BlueNRGDevice::shutdown(void) { + // <TODO> + return (ble_error_t) 0; } \ No newline at end of file