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

Use nrf51 dk to connect to a bluetooth device

Hi,

I just got my nrf51 dk and my task is to connect it with a bluetooth device, say a bluetooth treadmill, and retrieve data from it. The bluetooth treadmill was designed to be connected from a mobile phone that has a bluetooth module. Assuming that I know the MAC address of bluetooth module of the treadmill and use it to connect to the treadmill, I wonder if there are any relevant examples in library that you would recommend me to read?

Thanks.

  • I don't have experience with BT Classic and I'm not sure what you mean. You want to hook the HC06 to the nRF51 DK via wired UART and then send data over the air using a virtual UART? This should be no problem. In fact there is an example in the SDK, ble_app_uart demonstrating this. The example establishes a virtual UART and sends data to, e.g., an iPhone or Android app and at the same time connects to the J-Link Segger chip on the nRF51 DK via (wired) UART and sends data to an emulated COM port via the USB cable. In your case you could just chose to send data back and forth to the HC06 instead of the Segger chip.

Related