Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Fix the nRF52840 dongle was not recognized when calling EnumSerialPorts - #276

Open
General-zjs wants to merge 3 commits into
NordicSemiconductor:masterfrom
General-zjs:master
Open

General-zjs wants to merge 3 commits into
NordicSemiconductor:masterfrom
General-zjs:master

Conversation

@General-zjs

Copy link
Copy Markdown

Fix the problem that the nRF52840 dongle was not recognized when calling the function 'EnumSerialPorts' in 'src\common\platform\win\serial_port_enum. cpp'

The issue is found: NordicSemiconductor/pc-ble-driver-py#64
https://devzone.nordicsemi.com/f/nordic-q-a/52531/the-issue-when-using-pc-ble-driver-py-for-nrf52840-dongle

Signed-off-by: h1562075881 1562075881@qq.com

…ing the function 'EnumSerialPorts' in 'src\common\platform\win\serial_port_enum.cpp'

Signed-off-by: h1562075881 <1562075881@qq.com>
@CLAassistant

CLAassistant commented Nov 19, 2022

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@General-zjs

Copy link
Copy Markdown
Author

When I compile and run "examples port_enumeration main. c", the NRF52840 dongle cannot be recognized.
When I run "pc_ble_driver_py/examples/serial_port_enum. py" in Python, it also cannot be recognized.

…al numbers read are the same

Signed-off-by: h1562075881 <1562075881@qq.com>
Signed-off-by: h1562075881 <1562075881@qq.com>
@General-zjs

Copy link
Copy Markdown
Author

[util.cmake]
When compiling connectivity, the default download path of nrf5 sdk source code is too long, which will cause compilation failure.
So change the default download path of nrf5 sdk source code to the pc-ble-driver home directory

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants