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

nRF52840 BLE Central

We would like to use a Dongle based on the nRF52840 as a BLE Central communication via NUS to our product. The example in the nRF Connect Desktop does just wat we need on the PV side of the link. What is the protocol for communication with the firmware loaded by nRF Connect to the dongle. Opening the module as a com port with a terminal program produces a repeated series of characters, but there is no other response. 

Parents
  • Karl,

    This line was a typo

    The example in the nRF Connect Desktop does just wat we need on the PV side of the link.

    The example in the nRF Connect Desktop does just wat we need on the PC side of the link.

    This is the stream received by RealTerm from the PCA10059.

    Using nRF Connect we can transfer data to and from NRF Toolbox  UART on iOS or Android.

    The pca10059 has been programmed with the code that is loaded by nRF Connect Desktop when the BLE Low Energy button is clicked (V2.3.2)

    Our peripheral device is using NUS on an nRF52810.

    We would like to perform the same functions as the nRF Connect BLE does; scan for devices, connect to one, and transfer data via NUS.

    Thanks for the response.

    Corky

  • Hello Corky,

    I understand, I just wanted to make sure I understood you correctly.

    crb said:
    This is the stream received by RealTerm from the PCA10059.

    Is the data you are receiving unexpected? It is hard for me to see if this is the intended output if you do not provide a sniffer trace as well. A sniffer trace listens for BLE packages, and provides the same kind of log for them, as the one you provided for the serial port.
    Are you unable to receive the serial data from the nRF52810 on the nRF52840 Dongle?

    crb said:
    The pca10059 has been programmed with the code that is loaded by nRF Connect Desktop when the BLE Low Energy button is clicked (V2.3.2)

    Could you please elaborate what you mean by this. Have you programmed the Dongle using the "Programmer" feature of the nRF Connect desktop application with an example from the SDK? For example the BLE central Nordic UART example?

    crb said:
    Our peripheral device is using NUS on an nRF52810.

    The BLE peripheral Nordic UART example from the SDK? If so, have you made any modifications to the example?

    crb said:
    We would like to perform the same functions as the nRF Connect BLE does; scan for devices, connect to one, and transfer data via NUS.

    I am not sure I completely understand you intention, could you confirm if I have understood you correctly: You would like to use the nRF52840 Dongle to transmit data it receives on its serial port to a nRF52810 peripheral device over a BLE connection? Possibly also having the nRF52810 write the received BLE data out on a connected serial port?

    Best regards,
    Karl

Reply
  • Hello Corky,

    I understand, I just wanted to make sure I understood you correctly.

    crb said:
    This is the stream received by RealTerm from the PCA10059.

    Is the data you are receiving unexpected? It is hard for me to see if this is the intended output if you do not provide a sniffer trace as well. A sniffer trace listens for BLE packages, and provides the same kind of log for them, as the one you provided for the serial port.
    Are you unable to receive the serial data from the nRF52810 on the nRF52840 Dongle?

    crb said:
    The pca10059 has been programmed with the code that is loaded by nRF Connect Desktop when the BLE Low Energy button is clicked (V2.3.2)

    Could you please elaborate what you mean by this. Have you programmed the Dongle using the "Programmer" feature of the nRF Connect desktop application with an example from the SDK? For example the BLE central Nordic UART example?

    crb said:
    Our peripheral device is using NUS on an nRF52810.

    The BLE peripheral Nordic UART example from the SDK? If so, have you made any modifications to the example?

    crb said:
    We would like to perform the same functions as the nRF Connect BLE does; scan for devices, connect to one, and transfer data via NUS.

    I am not sure I completely understand you intention, could you confirm if I have understood you correctly: You would like to use the nRF52840 Dongle to transmit data it receives on its serial port to a nRF52810 peripheral device over a BLE connection? Possibly also having the nRF52810 write the received BLE data out on a connected serial port?

    Best regards,
    Karl

Children
No Data
Related