Connect a Laptop with Windows to Peripheral UART example

Sure, my question is very stupid, but after one day I found nothing to explain the principle of the situation, I decided to ask.

I have a laptop with built-in Bluetooth 5.2 and Windows 11. It runs a terminal testing program.

I have nRF5340 DK with the example Peripheral UART installed (nRF Connect SDK1.8.0). The board works normally, I tested it with a phone with Android and nRF Connect for Mobile. Everything is working fine. The board is connected to a desktop computer on which a terminal program is running and connected to COM port ( not USB).

Windows (laptop), sees the board. After pressing adding device (on Win), the LED on the board (connected) lights up for 1 second, Windows thinks about 5 seconds, and says try again. I imagine that it will connect to the board, and a window will appear to install a serial port to which I can connect through the terminal program. No PIN display window appears. I tried to quickly press button 1, possibly to confirm, nothing. I can transmit data over the phone without the board being BONDED. Let me just say that I've been doing Nordic for 6 months, and I've learned some things. But here I can't even imagine what should happen. Google didn't help either. Does anything else need to be installed on the board?

In the final version, it should be a remote device to which with any laptop with Bluetooth 5.2, to be able to connect and through a terminal program to exchange data via serial port.

  • The link works normally, the file is MP4. I tried it on WinXP, Win10, Win11, Firefox, Edge. You either choose to download it or watch it directly in the browser.

    I guess you use Linux and it has restrictions on paths and names. Or you have some kind of restriction somewhere. Anyway. The first new link I gave is on the same file, but renamed (the old link also works).

    https://stivi.eu/bg1/data/lw1100.mp4

     

    The second link in the case where the row is allowed.

    .passkey_confirm = auth_passkey_confirm;

    There are no errors, a warning triangle or anything like that.

    https://stivi.eu/bg1/data/lw1101.mp4

  • The page seems to be blocked by our firewall, so I won't be able to open this link unfortunately.

    But you're able to see the Bluetooth device in the device manager, correct?

    Best regards,

    Simon

  • No, it's not there. Nothing is added, even for a short time, with an exclamation mark. I also reviewed the properties of existing Bluetooth devices for any errors, nothing. I tried to find something in the Event viewer of a Windows, again nothing.

    The links open even on a phone with Android without any problems directly in the browser.

  • Hi

    The links were blocked by our office firewall, so I had to connect to another network to get a hold of it. I've seen the videos now. Thank you for sharing.

    It still seems to be a host thing. Most likely, it's due to the dual pairing request sent by the central, which means this is an issue with Windows 11, and I guess specifically the Home version. Just to try and narrow this down, can you try building an example with the Zephyr controller (for example the peripheral HR sample here). I think you should see the same behavior there as well. This way we can make sure it's not I.E. the SoftDevice controller on the nRF side causing this issue.

    Best regards,

    Simon

  • \SDK\ncs\v1.8.0\nrf\samples\bluetooth\peripheral_hr_coded

    This example does not work. It is programmed but there is an error, the board is not detected with a phone and laptop. No name in list.

     

    \SDK\ncs\v1.8.0\zephyr\samples\bluetooth\peripheral_hr

    This one works with a phone. The laptop detects it. But after knocking on the device, Zephyr Heartrate Sensor, think for about 15 seconds, and write try again. There is no debug information in the SEGGER window. Strange, I pushed twice to connect and I see only once in Sniffer.

    It's strange to me, the laptop doesn't just connect to Nordic. It connects to everything else I've tried.

    I have to decide what to do.

    hr_zephyr.zip

Related