RSS
Sort by » date activity ▼ answers views votes

16 questions

Tagged
  • x
24
views
no
votes
no
answers
Last activity 2017-12-07 13:17:25 +0200 by Fabian Frei

Thread cli example on nRF52840dk - USB not recognized

I try to run the thread cli example on the nRF52840dk with the SDK_for_Thread_v0.11.0_84a130f.

Windows 10 throws an error like "USB device not recognized / Error trying to get device description" (translated)

  • I tried several USB-Cable, dev kits and ...
(more)

38
views
no
votes
no
answers
Last activity 2017-12-02 00:54:27 +0100 by KV

CLI and wait_for_event

I am using ATT MTU throughput example and I noticed that using CLI (calling cli_start) causes the main while(1) loop forever. In other words, wait_for_event does not block until it gets an event. I verified it using the breakpoint ... (more)

103
views
1
vote
1
answer
Last activity 2017-11-03 08:12:41 +0200 by Jakub Rzeszutko

Problems with CLI example and Segger Embedded Studio

Hi, I'm working on a custom board based on the nRF52832. I'm developing on Win 8.1 using the latest version of SES and a J-Link Plus. SDK version 14.1. I've modifed the CLI example to ... (more)

95
views
2
votes
2
answers
Last activity 2017-10-12 12:52:20 +0100 by Roger flag of South Africa

Calling CLI lists without console

Hi,

In the Thread API under the Command Line Interface section, there are the following functions:

void otCliConsoleInit(otInstance *aInstance, otCliConsoleOutputCallback aCallback, void *aContext)

void otCliConsoleInputLine(char *aBuf, uint16_t aBufLength)

I'm assuming these functions can be used to manually ... (more)

56
views
1
vote
1
answer
Last activity 2017-10-03 08:44:13 +0100 by Jakub Rzeszutko

Disabling VT100 Commands in SDK14

I'm in the process of updating from SDK13 to SDK14. In the new CLI, there are a lot of NRF_CLI_VT100_CMD's that are used which weren't there before. If someone is using a plain serial port terminal application ... (more)

113
views
no
votes
2
answers
Last activity 2017-10-03 00:41:57 +0100 by wael

Unable to get CLI to work on SDK 14 [closed]

Hello,

I'm in the process of updating our codebase to SDK 14 and am facing some problems getting the CLI to work. My goal is to get CLI and logging to output on the same UART channel.

Here's ... (more)

120
views
no
votes
1
answer
Last activity 2017-08-30 09:40:28 +0100 by Jakub Rzeszutko

C++ compilation error using CLI with SDK 14: error: expected declaration before '}' token

Hi, i just renamed main.c to main.cpp.

In file included from ../../../main.cpp:57:0:
../../../../../../components/libraries/experimental_cli/nrf_cli.h:597:1: error: expected declaration before '}' token
 }
 ^

What should be the right way to fix that?

If i ... (more)

178
views
no
votes
1
answer
Last activity 2017-08-23 14:46:42 +0200 by jakub

CLI UART + NUS

Hello,

I'm trying to make CLI working with UART and BLE (NUS) backend simultaneously. Starting point is CLI example from SDK 14. What should I enable in sdk_config.h and how shuould I intialize CLI with UART and NUS ... (more)

49
views
no
votes
1
answer
Last activity 2017-08-21 13:45:22 +0200 by jakub

CLI command with parameter

Hello,

I would like to have something like this:

ROOT_COMMAND SubCommand CustomParameter

Example:

DeviceName Set ExampleDeviceName

Where CustomParameter can be a string or hex value, that I would like to get and store in non volatile memory using Flash Data ... (more)

53
views
no
votes
no
answers
Last activity 2017-07-09 21:07:09 +0100 by awef

nrf_cli w/o serial connection - reset loop

Using FreeRTOS to run nrf_cli. When Serial is not connected (as in RX,TX,GND) the board goes into a reset loop.

There are a few things that seem to help:

  1. Don't run cli_start()
  2. Don't run the thread ...
(more)

146
views
no
votes
no
answers
Last activity 2017-07-01 23:13:04 +0200 by awef

NRF52832 Uart Flow Control / CLI

When P0.15 is held high, the nrf_cli fails to talk to my computer via serial. Lowering P0.15 allows all buffered bytes to be sent to my terminal.

Oddly, Pin 15 is not part of my UART CONFIG.

As ... (more)

219
views
no
votes
2
answers
Last activity 2017-05-23 13:19:02 +0100 by Jakub Rzeszutko

CLI autocomplete

Hey. Has anybody played with autocomplete for command line interface. I like it alot and it is very helpfull. Now a autocomplete would be cool!

Here is what comes to mind:

  • key as arrows and tab should be treated as ...

(more)

258
views
1
vote
1
answer
Last activity 2017-05-16 16:35:33 +0100 by Jørgen Holmefjord flag of Norway

Using CLI alongside NRF_LOG_INFO() [closed]

Hello,

I'm trying to set up an app that enables the command line interface (CLI) over UART as well as the logging.

This is the what the main looks like:

int main(void)
{
    ret_code_t err_code;

    // Initialize nRF clock driver ...
(more)

230
views
no
votes
1
answer
Last activity 2017-05-12 14:22:10 +0200 by Jørgen Holmefjord flag of Norway

Integrating Command Line Interface (CLI) Example

Hi guys. I want to make use of CLI in my existing project based on ble_app_uart. I was looking at the diferences of there sdk_config.h and there is a lot of stuff happening.

I cound not find anyting regarding ... (more)

299
views
4
votes
1
answer
Last activity 2015-11-23 16:08:07 +0100 by Elm

Using RTT to configure the device?

Hi,

Can I use RTT to build a communicate to a command line interface (CLI) in the device?

This would require that the program does not block, as it does in SEGGER_RTT_WaitKey().

Is there any way for RTT to send ... (more)

1k
views
2
votes
2
answers
Last activity 2015-11-10 13:17:55 +0200 by Vitaliy

nrf51822 command line flashing

Hello

I'd like to write my own application for flashing nrf51822. It will add some additional information info hex file.

How can I burn hex file into the flash using any command line tool?

Best regards, Vitaliy

Statistics

  • Total users: 25687
  • Latest user: Felica Churchill
  • Resolved questions: 11282
  • Unanswered questions: 3823
  • Total questions: 27855

User menu

    or sign up

Recent questions