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 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
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
Hi,
shivaraj said: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.
The BLE Interactive Command Line Interface Example seems to do most of what you are requesting. It does not have a project for PCA10059 (nRF52840 Dongle), and it is not configured for using the USB port as the backend for the CLI library (only RTT and UART), but both these things should be quite simple to modify.
First, you have to follow all steps described in the nRF52840 Dongle Programming Tutorial and refer to this post. Then, add and enable the relevant configs about the nrf_cli_cdc_acm and app_usbd_cdc_acm modules as the sdk_config.h in the Command Line Interface (CLI) Example under peripherals should be a good reference, it has the project for pca10059.
I would recommend that you solder a debug header on the dongle, and buy one of these cables. That way you can develop and debug applications for the dongle, through the nRF52840 DK.
shivaraj said:and can u expand the 2 nd point UART part to usb.
If you want to use the USB interface for UART, you need to incorporate something like the USB CDC ACM Example into the application. Please see this post.
-Amanda H.
Thanks Amanda ,
i tried with checking all u mentioned but i am not able to interface UART for example cli code (ble_central_peripheral/ble_app_interactive).
issue is like after configuring external pins as uart i did get data in terminal.
can u help with providing cli example for dongle to communicate with uart. (if not can u suggest any link to to get that code).
if not can u brief about steps to get what i have asked above.
Hi,
shivaraj said:can u help with providing cli example for dongle to communicate with uart. (if not can u suggest any link to to get that code).
Please see the Command Line Interface (CLI) Example (\RF5_SDK\examples\peripheral\cli\pca10059 for the nRF 52840 dongle)
-Amanda H.
thank you for replay,
i have commented the ble part code to check with uart it is replaing and at some part code is getting crash , can u tell what might be the issue amanda
thank you for replay,
i have commented the ble part code to check with uart it is replaing and at some part code is getting crash , can u tell what might be the issue amanda