Homekit GA 9_8_12 reboot_device.vbs typo

Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
jpl
Offline
Last seen:7 months 1 week ago
Joined:2017-05-02 09:42
Homekit GA 9_8_12 reboot_device.vbs typo

Hi Dialog Team,

Just a quick note to let you know that

workspace_SmartSnippets_Studio\DA1468x_SDK_BTLE_v_1.0.8_homekit_GA_9_8_12\utilities\scripts\qspi\reboot_device.vbs

was trying to read an incorrect registry for Jlink at line 9

jlink_path = objShell.RegRead("HKCU\Software\SEGGER\J-Link\InstallPath") + "JLink.exe"

After checking my registry, I found out that J-Link keeps the InstallPath under the version number like this

Computer\HKEY_CURRENT_USER\Software\SEGGER\J-Link\V512f

After changing line 9 of reboot_devce.vbs to

jlink_path = objShell.RegRead("HKCU\Software\SEGGER\J-Link\V512f\InstallPath") + "JLink.exe"

then there was no more error running scripts.

A quick suggestion is to make the vbs scan through the registry tree for
Computer\HKEY_CURRENT_USER\Software\SEGGER\J-Link
and look for InstallPath recursively.

Thanks, overall good experience with the SDK, everything works out of the box. Well done.

Cheers
JP

Device:
IM_Dialog
Offline
Last seen:2 weeks 22 hours ago
Joined:2016-12-06 22:25
Thanks for taking the time to

Thanks for taking the time to report this, we appreciate your feedback.

我会请求提高内部机票这issue is investigated.

Best regards

IM_Dialog