你好 :
我在 `main.c` 檔案開頭使用了 `k_cycle_get_32();` 函數取得時間,然後在 `ble_bond.c` 檔案中使用相同的函數再次取得時間。兩次取得的時間相減後,我發現 `0x000163DF` 之後發生了一次清除操作。如何手動執行此清除操作?實驗表明,這會影響按鍵掃描時間。目前版本為 NCS v2.9.2,項目為 nrf_desktop。
你好 :
我在 `main.c` 檔案開頭使用了 `k_cycle_get_32();` 函數取得時間,然後在 `ble_bond.c` 檔案中使用相同的函數再次取得時間。兩次取得的時間相減後,我發現 `0x000163DF` 之後發生了一次清除操作。如何手動執行此清除操作?實驗表明,這會影響按鍵掃描時間。目前版本為 NCS v2.9.2,項目為 nrf_desktop。
Hi,
Can you elaborate on what you are measuring and what the problem is? Settings only need to be loaded once after reset. Also, from what I can see you measure the time from entering main() until that task is performed, but other operations are also done during this time. I am also unsure about the topic: "Settings taking too long to load can affect the scan key time". Can you elaborate on this, both what you do and what the problem is (also, what is "key scan time"?)
Hello, we have temporarily resolved this issue. Please help us close it. Thank you!
Hi,
I am glad to hear that. May I ask how you temporarily resolved the issue?
This part involves client-side code, so it's not convenient to disclose it here. My colleague has registered for another private issue, and we will continue the discussion in that ticket later.
Thank you !
This part involves client-side code, so it's not convenient to disclose it here. My colleague has registered for another private issue, and we will continue the discussion in that ticket later.
Thank you !