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
  • Hello,

    The BLE central NUS example forwards input received over BLE to the serial port using UART, and vice verse - input received on serial port is forwarded to the connected peripheral over BLE.

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

    Could you elaborate what you mean by 'PV side of the link'? I am not certain I understand what you mean.

    What is the protocol for communication with the firmware loaded by nRF Connect to the dongle.

    If you are asking how to communicate with the dongle over a serial port: the default UART settings for the BLE Central Nordic UART example is: 115200 BAUDRATE, 8 data bit, 1 stop bit, no parity, HW flow control: None. If you open any serial terminal with these UART settings, you will be able to communicate with the dongle, and receive the serial input on a connected Nordic UART peripheral device( outputted to its serial port ).
    If this is not what you were asking about, please elaborate.

    Opening the module as a com port with a terminal program produces a repeated series of characters, but there is no other response. 

    This sounds strange. Could you provide a serial log for this, along with a sniffer trace? So that I may see what is being sent over BLE, and what is being written to the terminal.

    For the record, have you flashed the dongle with the BLE Central Nordic UART example, without modification? Could you also tell me how you are communicating with the dongle over BLE - are you using the nRF Toolbox application for a mobile phone, or have you flashed another Nordic device with the BLE peripheral UART/Serial Port Emulation over BLE example?

    Best regards,
    Karl

     

     

     

     

Reply
  • Hello,

    The BLE central NUS example forwards input received over BLE to the serial port using UART, and vice verse - input received on serial port is forwarded to the connected peripheral over BLE.

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

    Could you elaborate what you mean by 'PV side of the link'? I am not certain I understand what you mean.

    What is the protocol for communication with the firmware loaded by nRF Connect to the dongle.

    If you are asking how to communicate with the dongle over a serial port: the default UART settings for the BLE Central Nordic UART example is: 115200 BAUDRATE, 8 data bit, 1 stop bit, no parity, HW flow control: None. If you open any serial terminal with these UART settings, you will be able to communicate with the dongle, and receive the serial input on a connected Nordic UART peripheral device( outputted to its serial port ).
    If this is not what you were asking about, please elaborate.

    Opening the module as a com port with a terminal program produces a repeated series of characters, but there is no other response. 

    This sounds strange. Could you provide a serial log for this, along with a sniffer trace? So that I may see what is being sent over BLE, and what is being written to the terminal.

    For the record, have you flashed the dongle with the BLE Central Nordic UART example, without modification? Could you also tell me how you are communicating with the dongle over BLE - are you using the nRF Toolbox application for a mobile phone, or have you flashed another Nordic device with the BLE peripheral UART/Serial Port Emulation over BLE example?

    Best regards,
    Karl

     

     

     

     

Children
No Data
Related