Skip to content

Commit 4fb12d1

Browse files
authored
Merge pull request #155 from InfiniTimeOrg/remove_ble_services
Remove 3 copies of ble services
2 parents c7e512a + f57ea5e commit 4fb12d1

16 files changed

+356
-623
lines changed

CMakeLists.txt

+9-6
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,12 @@ add_library(sim-base STATIC
8888
# nrf/components/libraries/timer
8989
sim/libraries/gpiote/app_gpiote.h # includes hal/nrf_gpio.h
9090
# nibmle
91+
sim/host/ble_att.h
9192
sim/host/ble_gap.h
9293
sim/host/ble_gatt.h
9394
sim/host/ble_gatt.cpp
95+
sim/host/ble_hs_mbuf.h
96+
sim/host/ble_hs_mbuf.cpp
9497
sim/host/ble_uuid.h
9598
sim/host/ble_uuid.cpp
9699
sim/host/os_mbuf.h
@@ -126,10 +129,6 @@ target_sources(infinisim PUBLIC
126129
sim/displayapp/LittleVgl.cpp
127130
sim/components/battery/BatteryController.h
128131
sim/components/battery/BatteryController.cpp
129-
sim/components/ble/AlertNotificationService.h
130-
sim/components/ble/AlertNotificationService.cpp
131-
sim/components/ble/MotionService.h
132-
sim/components/ble/MotionService.cpp
133132
sim/components/ble/MusicService.h
134133
sim/components/ble/MusicService.cpp
135134
sim/components/ble/NimbleController.h
@@ -140,8 +139,6 @@ target_sources(infinisim PUBLIC
140139
sim/components/firmwarevalidator/FirmwareValidator.cpp
141140
sim/components/heartrate/HeartRateController.h
142141
sim/components/heartrate/HeartRateController.cpp
143-
sim/components/motion/MotionController.h
144-
sim/components/motion/MotionController.cpp
145142
sim/drivers/Bma421.h
146143
sim/drivers/Bma421.cpp
147144
sim/drivers/Cst816s.h
@@ -198,6 +195,10 @@ target_sources(infinisim PUBLIC
198195
${InfiniTime_DIR}/src/components/datetime/DateTimeController.cpp
199196
${InfiniTime_DIR}/src/components/settings/Settings.h
200197
${InfiniTime_DIR}/src/components/settings/Settings.cpp
198+
${InfiniTime_DIR}/src/components/ble/AlertNotificationService.h
199+
${InfiniTime_DIR}/src/components/ble/AlertNotificationService.cpp
200+
${InfiniTime_DIR}/src/components/ble/MotionService.h
201+
${InfiniTime_DIR}/src/components/ble/MotionService.cpp
201202
${InfiniTime_DIR}/src/components/ble/NavigationService.h
202203
${InfiniTime_DIR}/src/components/ble/NavigationService.cpp
203204
${InfiniTime_DIR}/src/components/ble/NotificationManager.h
@@ -206,6 +207,8 @@ target_sources(infinisim PUBLIC
206207
${InfiniTime_DIR}/src/components/ble/SimpleWeatherService.cpp
207208
${InfiniTime_DIR}/src/components/fs/FS.h
208209
${InfiniTime_DIR}/src/components/fs/FS.cpp
210+
${InfiniTime_DIR}/src/components/motion/MotionController.h
211+
${InfiniTime_DIR}/src/components/motion/MotionController.cpp
209212
${InfiniTime_DIR}/src/components/motor/MotorController.h
210213
${InfiniTime_DIR}/src/components/motor/MotorController.cpp
211214
${InfiniTime_DIR}/src/drivers/Hrs3300.h

sim/components/ble/AlertNotificationService.cpp

-125
This file was deleted.

sim/components/ble/AlertNotificationService.h

-68
This file was deleted.

sim/components/ble/MotionService.cpp

-126
This file was deleted.

0 commit comments

Comments
 (0)