diff options
| author | JF <jf@codingfield.com> | 2020-04-25 13:09:47 +0200 |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-04-25 13:09:47 +0200 |
| commit | 5fcb90a14951ec70a8ec41a656f6f58358b9986b (patch) | |
| tree | 79d76983041ad00cb990cdabf450bbc86093eb4b /src/Components/Ble/CurrentTimeClient.h | |
| parent | 89ccdd00032dbd6f97ce5cff57f588b6bd88ef2a (diff) | |
NimbleController : CTS & ANS working but not at the same time (conflict during discovery)
Diffstat (limited to 'src/Components/Ble/CurrentTimeClient.h')
| -rw-r--r-- | src/Components/Ble/CurrentTimeClient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/Ble/CurrentTimeClient.h b/src/Components/Ble/CurrentTimeClient.h index 94892cef..43deadcc 100644 --- a/src/Components/Ble/CurrentTimeClient.h +++ b/src/Components/Ble/CurrentTimeClient.h @@ -17,7 +17,7 @@ namespace Pinetime { public: explicit CurrentTimeClient(DateTime& dateTimeController); void Init(); - int OnDiscoveryEvent(uint16_t connectionHandle, const ble_gatt_error *error, const ble_gatt_svc *service); + bool OnDiscoveryEvent(uint16_t connectionHandle, const ble_gatt_error *error, const ble_gatt_svc *service); int OnCharacteristicDiscoveryEvent(uint16_t conn_handle, const ble_gatt_error *error, const ble_gatt_chr *characteristic); int OnCurrentTimeReadResult(uint16_t conn_handle, const ble_gatt_error *error, const ble_gatt_attr *attribute); |
