diff options
| author | JF <jf@codingfield.com> | 2020-04-19 20:44:59 +0200 |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-04-19 20:44:59 +0200 |
| commit | dd6aecbf6b343e40f75808f5e26a077eb22a2ed2 (patch) | |
| tree | 0bffe3183f10ce05ba904690fd8a4ef8e71a55d0 /src/BLE | |
| parent | 6e1bd118c5ecc53016548072501591b329500870 (diff) | |
Integration of nimble, work in progress.
Advertising is working.
Diffstat (limited to 'src/BLE')
| -rw-r--r-- | src/BLE/BleManager.c | 3 | ||||
| -rw-r--r-- | src/BLE/BleManager.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/BLE/BleManager.c b/src/BLE/BleManager.c index 8caf120a..d8f0bd85 100644 --- a/src/BLE/BleManager.c +++ b/src/BLE/BleManager.c @@ -1,3 +1,5 @@ +#if 0 + #include <libraries/util/sdk_errors.h> #include <softdevice/common/nrf_sdh.h> #include <libraries/util/app_error.h> @@ -778,3 +780,4 @@ void ble_manager_delete_bonds() { err_code = pm_peers_delete(); APP_ERROR_CHECK(err_code); } +#endif
\ No newline at end of file diff --git a/src/BLE/BleManager.h b/src/BLE/BleManager.h index da5f8e3f..6222fbb5 100644 --- a/src/BLE/BleManager.h +++ b/src/BLE/BleManager.h @@ -1,5 +1,5 @@ #pragma once -#include <ble/ble_services/ble_cts_c/ble_cts_c.h> +//#include <ble/ble_services/ble_cts_c/ble_cts_c.h> #ifdef __cplusplus extern "C" { @@ -39,7 +39,7 @@ void ble_manager_start_advertising(void *p_erase_bonds); void ble_manager_init_peer_manager(); // TODO use signals from RTOS to notify new time -void ble_manager_set_new_time_callback(void (*OnNewTime)(current_time_char_t* currentTime)); +//void ble_manager_set_new_time_callback(void (*OnNewTime)(current_time_char_t* currentTime)); void ble_manager_set_ble_disconnection_callback(void (*OnBleDisconnection)()); void ble_manager_set_ble_connection_callback(void (*OnBleConnection)()); |
