hi, i am using nrf 52840 dongle , is there any support of AT commands to communicate with dongle .i want to communicate without using ui only by sending commands.
if not any cli commands to advertise ,scan and connect .
hi, i am using nrf 52840 dongle , is there any support of AT commands to communicate with dongle .i want to communicate without using ui only by sending commands.
if not any cli commands to advertise ,scan and connect .
Hi,
is there any support of AT commands to communicate with dongle
No, the AT commands are used to control the modem in nRF91 Series devices.
if not any cli commands to advertise ,scan and connect .
You can take a look at the New command line interface - part 1 and New command line interface - part 2. There are some examples in the SDK: Command Line Interface (CLI) Example (peripheral/cli), BLE Interactive Command Line Interface Example (ble_central_and_peripheral/experimental/ble_app_interactive) or Console over Bluetooth Application (ble_peripheral\experimental\ble_app_cli). You will need the nRF52840 Dongle Programming Tutorial to guide you adapting SDK projects for the nRF52840 Dongle
-Amanda H.
Hi,
is there any support of AT commands to communicate with dongle
No, the AT commands are used to control the modem in nRF91 Series devices.
if not any cli commands to advertise ,scan and connect .
You can take a look at the New command line interface - part 1 and New command line interface - part 2. There are some examples in the SDK: Command Line Interface (CLI) Example (peripheral/cli), BLE Interactive Command Line Interface Example (ble_central_and_peripheral/experimental/ble_app_interactive) or Console over Bluetooth Application (ble_peripheral\experimental\ble_app_cli). You will need the nRF52840 Dongle Programming Tutorial to guide you adapting SDK projects for the nRF52840 Dongle
-Amanda H.
hi amanda,
thanks for replay,
i tried with flashing the example sdk code mentioned above, the dongle is not detecting as comport to send commands so do i need to a change anything in example code or hardware in nrf52840 dongle to use those example.
if so please suggest me
Hi,
shivaraj said:i tried with flashing the example sdk code mentioned above, the dongle is not detecting as comport to send commands so do i need to a change anything in example code or hardware in nrf52840 dongle to use those example.
Please refer to the nRF52840 Dongle Programming Tutorial for adapting SDK projects for the nRF52840 Dongle.
-Amanda H.
Thanks Amanda, for replay
i understood and adapted ble_app_interactive example to nrf52840 dongle,
with help of this ticket https://devzone.nordicsemi.com/f/nordic-q-a/43871/ble_app_interactive-code-for-nrf52840-dongle
my question is can i use USB port( UART )to send and receive data for the above mentioned example.
if not, how can i use with nrf52840 dongle ?
Hi,
shivaraj said:can i use USB port( UART )to send and receive data for the above mentioned example.
The nRF52840 dongle there is no UART connected to the PC, other than the virtual COM port that is used for programming via Serial DFU (USB).
You should consider the nRF52840 DK instead if you want to develop firmware for the nRF52840. The nRF52840 dongle is primarily intended to be used together with nRF Connect for desktop and is not well suitable as a development board. This is primarily because it lacks an onboard debugger.
shivaraj said:if not, how can i use with nrf52840 dongle ?
It depends on what pins you use for the UART. You can see what pins that are available on the dongle by looking at the edges. The UART is not connected to the USB port.
So if you want to do this via the dongle, you need to either:
1: connect something that can communicate via UART to the pins on the Dongle
2: Port the UART part to USB on the dongle, and then write a script that does what nrfutil does.
Please also see Andreas's explanation in this post.
So, it is possible, but it is a bit of work. If what you imagined was using the Dongle as a DK (just plug in the usb and communicate over UART), then this is not possible. When you use UART over USB on a DK, it is actually the Segger chip on the DK that translates from UART to USB.
-Amanda H.
thank you amanda for confirming that with dongle we can't use uart over usb,
to use with other pins of dongle (on edge of dongle) with uart can u suggest any example or post to change in the code so as to send commands for dongle to use your example code of ble_app_interactive.
and can u expand the 2 nd point UART part to usb.
thanks in advance