Add BLE and CTS client. Time can be retrieved from a CTS server (like NRFConnect) once it's bond.

WIP, the code is really ugly
This commit is contained in:
JF
2019-12-21 17:58:00 +01:00
parent 528fc56616
commit ecf307c559
6 changed files with 695 additions and 26 deletions

View File

@@ -260,9 +260,12 @@ macro(nRF5x_setup)
# LCD/GFX
include_directories(
"${NRF5_SDK_PATH}/external/thedotfactory_fonts"
"${NRF5_SDK_PATH}/components/ble/ble_db_discovery"
)
list(APPEND SDK_SOURCE_FILES
"${NRF5_SDK_PATH}/components/ble/ble_db_discovery/ble_db_discovery.c"
"${NRF5_SDK_PATH}/components/ble/ble_services/ble_cts_c/ble_cts_c.c"
"${NRF5_SDK_PATH}/external/thedotfactory_fonts/orkney24pts.c"
)