This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to incorporate "current time service"

OS in development environment :Windows10
HARD :(Taiyo Yuden)EBSHSN Series Evaluation Board : Central / Peripherals
CPU :(Nordic) nRF52832 / ARMR Cortex-M4F 32 bit processor 28-pin Land Grid Array / 15GPIOs / SWD
Soft Ver:nRF5_SDK_15.3.0_59ac345
Sample program to use: "ble_app_cts_c"

I would like to change the "Current Time Service" sample program as follows, so please tell me how to fix it.
1) Enable CTS immediately after startup.
2) Correct the communication speed to a fixed type.
3) Do not make security settings.
Thank you

Parents
  • Hello,

    1. The default implementation doesn't start service discovery until the link is secured ( on PM_EVT_CONN_SEC_SUCCEEDED). But you can start this on connection instead.

    2. Could you please elobarate what you mean by this? Is it related to the connection interval?

    3. You can remove the peer manager and handle the security request like it is done in the ble_app_uart example. This will reject any pairing requests from GAP central devices.

Reply
  • Hello,

    1. The default implementation doesn't start service discovery until the link is secured ( on PM_EVT_CONN_SEC_SUCCEEDED). But you can start this on connection instead.

    2. Could you please elobarate what you mean by this? Is it related to the connection interval?

    3. You can remove the peer manager and handle the security request like it is done in the ble_app_uart example. This will reject any pairing requests from GAP central devices.

Children
No Data
Related