GithubHelp home page GithubHelp logo

nordicsemiconductor / pc-nrfconnect-rssi Goto Github PK

View Code? Open in Web Editor NEW
36.0 19.0 15.0 16.33 MB

RSSI Viewer app for nRF Connect for Desktop

License: Other

C 81.19% Shell 2.16% TypeScript 16.05% SCSS 0.31% JavaScript 0.28%

pc-nrfconnect-rssi's Introduction

nRF Connect RSSI Viewer

Build Status License

nRF Connect RSSI Viewer is a tool that shows dBm per frequency in the 2400-2480 MHz range, and allows the user to tweak settings like sweep delay and animation duration.

screenshot

Installation

See the InfoCenter pages for information on how to install the application.

Development

See the app development pages for details on how to develop apps for the nRF Connect for Desktop framework.

Feedback

Please report issues on the DevZone portal.

Contributing

See the infos on contributing for details.

License

See the LICENSE file for details.

pc-nrfconnect-rssi's People

Contributors

aadnekar avatar bencefr avatar bihanssen avatar boundlesscalm avatar chunfantasy avatar datenreisender avatar dependabot[bot] avatar ivansanchez avatar jesper2k avatar kievdevel avatar kylebonnici avatar mrodem avatar nicolai-nordic avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pc-nrfconnect-rssi's Issues

devDependencies or dependencies

Shouldn't chart.js, react-bootstrap-slider, react-chartjs-2, bootstrap, and jQuery be dependencies instead of being devDependencies? Normal use would indicate a requirement of them, not just for development.

NORDIC - nrf52840 In our application we need to receive data from two uart together

Dear Sir,
we are developing an application on the nRF52840 kit with SDK 15.0.0. We are using Keil as compiler. In our application we need to receive data from two uart together. If we use only one uart the application work fine, but if we add the second uart the firmware have a strange behavior: one of the two uart after a certain time stops to work. The time and the uart that stops are not always the same, it seems casual.
What can happen?
Attached you can find the files main.c, the nrf_serial library and the file sdk_config.h.
Please, help us because we are very worry, we need to complete the project soon.

#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>

#include "nrf.h"
#include "nrf_drv_clock.h"
#include "nrf_gpio.h"
#include "nrf_delay.h"
#include "nrf_log.h"
#include "nrf_log_ctrl.h"
#include "nrf_drv_power.h"
#include "nrf_serial.h"
#include "app_timer.h"


#include "app_error.h"
#include "app_util.h"
#include "boards.h"

/** @file
 * @defgroup nrf_serial_example main.c
 * @{
 * @ingroup nrf_serial_example
 * @brief Example of @ref nrf_serial usage. Simple loopback.
 *
 */

#define OP_QUEUES_SIZE          3
#define APP_TIMER_PRESCALER     NRF_SERIAL_APP_TIMER_PRESCALER

static void sleep_handler(void)
{
    __WFE();
    __SEV();
    __WFE();
}

NRF_SERIAL_DRV_UART_CONFIG_DEF ( m_uart0_drv_config,
                      RX_PIN_NUMBER, TX_PIN_NUMBER,
                      RTS_PIN_NUMBER, CTS_PIN_NUMBER,
                      NRF_UART_HWFC_DISABLED, NRF_UART_PARITY_EXCLUDED,
                      NRF_UART_BAUDRATE_9600,
											UART_DEFAULT_CONFIG_IRQ_PRIORITY);

NRF_SERIAL_DRV_UART_CONFIG_DEF ( m_serial_uart_badge_reading_drv_config ,
                      3 , 4 ,	// Rx pin = P0.03 -- Tx pin = P0.04
                      RTS_PIN_NUMBER , CTS_PIN_NUMBER ,
                      NRF_UART_HWFC_DISABLED , NRF_UART_PARITY_EXCLUDED ,
                      NRF_UART_BAUDRATE_115200 ,
                      UART_DEFAULT_CONFIG_IRQ_PRIORITY ) ; 

#define SERIAL_FIFO_TX_SIZE 32
#define SERIAL_FIFO_RX_SIZE 32

NRF_SERIAL_QUEUES_DEF(serial_queues, SERIAL_FIFO_TX_SIZE, SERIAL_FIFO_RX_SIZE);

NRF_SERIAL_QUEUES_DEF ( serial_uart_badge_reading_queues , SERIAL_FIFO_TX_SIZE , SERIAL_FIFO_RX_SIZE ) ;

#define SERIAL_BUFF_TX_SIZE 1
#define SERIAL_BUFF_RX_SIZE 1

NRF_SERIAL_BUFFERS_DEF(serial_buffs, SERIAL_BUFF_TX_SIZE, SERIAL_BUFF_RX_SIZE);

// Configuro i buffer delle seriali	
NRF_SERIAL_BUFFERS_DEF ( serial_uart_badge_reading_buffs , SERIAL_BUFF_TX_SIZE , SERIAL_BUFF_RX_SIZE ) ;

NRF_SERIAL_CONFIG_DEF(serial_config, NRF_SERIAL_MODE_IRQ,
                      &serial_queues, &serial_buffs, NULL, sleep_handler);
											
											// Configuro le seriali											
NRF_SERIAL_CONFIG_DEF ( serial_uart_badge_reading_config , NRF_SERIAL_MODE_IRQ ,
                        &serial_uart_badge_reading_queues , &serial_uart_badge_reading_buffs , NULL , sleep_handler ) ;	// sostituito NULL ( il secondo ) a sleep_handlerù
												
NRF_SERIAL_UART_DEF ( serial_uart , 0 ) ;

NRF_SERIAL_UART_DEF ( serial_uart_badge_reading , 1 ) ;

char	buff_received_uart_badge [ 30 ] = "" ;
char	tmp_buff_debug  [ 50 ] = "" ;
char	UID_badge [ 10 ] = "" ;

int main(void)
{
    ret_code_t ret ;
		ret_code_t ret_loop ;
	
    ret = nrf_drv_clock_init();
    APP_ERROR_CHECK(ret);
    ret = nrf_drv_power_init(NULL);
    APP_ERROR_CHECK(ret);

    nrf_drv_clock_lfclk_request(NULL);
    ret = app_timer_init();
    APP_ERROR_CHECK(ret);

    // Initialize LEDs and buttons.
    bsp_board_init(BSP_INIT_LEDS | BSP_INIT_BUTTONS);

    ret = nrf_serial_init(&serial_uart, &m_uart0_drv_config, &serial_config);
    APP_ERROR_CHECK(ret);
	
    // Inizializzo la seriale 	
    ret = nrf_serial_init ( &serial_uart_badge_reading , &m_serial_uart_badge_reading_drv_config , &serial_uart_badge_reading_config ) ;
    APP_ERROR_CHECK(ret);
	
    static char tx_message[] = "Hello nrf_serial 1!\n\r";

    ret = nrf_serial_write(&serial_uart,
                           tx_message,
                           strlen(tx_message),
                           NULL,
                           NRF_SERIAL_MAX_TIMEOUT);
													 
    APP_ERROR_CHECK(ret);	

    while (true)
    {
        char a ;

        /********************* Seriale 1. *********************
        */
        ret_loop = nrf_serial_read ( &serial_uart_badge_reading , &a , sizeof ( a ) , NULL , 5 ) ;

        if ( ret_loop == NRF_SUCCESS )
        {		
            ( void ) nrf_serial_write ( &serial_uart , &a , sizeof ( a ) , NULL , 0 ) ;
            nrf_serial_flush ( &serial_uart_badge_reading , 5 ) ;

        }					

        char c ;

        /********************* Seriale 2. *********************
        */
        ret = nrf_serial_read ( &serial_uart , &c , sizeof ( c ) , NULL , 5 ) ;        			

        if ( ret == NRF_SUCCESS )
        {
            ( void ) nrf_serial_write ( &serial_uart , &c , sizeof ( c ) , NULL , 0 ) ;
            nrf_serial_flush ( &serial_uart , 5 ) ;	

        }

    }

}

/** @} */

pc-nrfconnect-rssi not compile !

Hello,
I'm using the 'SEGGER Embedded Studio for ARM 3.40'. I tried to compile the 'pc-nrfconnect-rssi-master' project , but I have an error. The error code is 'No such file or directory'. I installed SEGGER on path :''C:\Program Files\SEGGER" and sdk on path:"C:\nordic_semi\nRF5_SDK_15.0.0_a53641a".
image1
Do you have an suggestion for help me ?

No signal when connecting the DK after starting RSSI Viewer

Hi,

I'm not getting a signal.

Not sure what I could be doing wrong ...

You don't need to have a device advertising to guarantee that some noise will be registered, or?
And there is no GO button that I'm not seeing, or?

sebo@mach:~/Downloads/nrfconnect-2.2.1$ ./nrfconnect
Gtk-Message: Failed to load module "overlay-scrollbar"
[14:23:50:0059] [warn] Not checking for nRF Connect updates. Auto update is not yet supported for this platform.
Created new window in existing browser session.
[11309:11346:0112/142431.909435:ERROR:browser_gpu_channel_host_factory.cc(107)] Failed to launch GPU process.

14:26:10.8900 Application data folder: /home/sebo/.config/nrfconnect
14:28:04.8600 /dev/ttyACM0 is open

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/labels.yml
npm
package.json
  • @nordicsemiconductor/pc-nrfconnect-shared ^177.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.