npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

pc-nrfconnect-rssi

v1.1.0

Published

Demo application for nRF528xx SoC

Downloads

8

Readme

nRF Connect RSSI Viewer

Build Status

Simple app for nRF Connect that shows a visualization of RSSI data. The app shows dBm per frequency in the 2400-2480 MHz range, and allows the user to tweak settings like sweep delay and animation duration. The app can be installed from the Add/remove apps screen in nRF Connect.

The following devices are supported:

  • PCA10040 nRF52832 Development Kit
  • PCA10059 nRF52840 Dongle

screenshot

Background

While the RSSI Viewer is a useful tool in itself, the main purpose behind it is to demonstrate how to implement apps for nRF Connect. In addition to the RSSI Viewer, app developers can check out the boilerplate app and documentation for creating apps.

Implementation

Firmware

The app comes with firmwares for the supported devices that sends RSSI data over serial port. The source code for these firmwares can be found in fw/src, and are included as hex files in fw/. When selecting a device, the app will program the chip with a corresponding hex file (unless the firmware has not already been programmed).

The serial port communication from the app to the firmware is simply a few ASCII commands for starting, stopping, and adjusting settings. From the firmware to the app there is a binary flow of 3 bytes: [0xff, channel_number, rssi].

UI components and actions

The RSSI data is visualized in the MainView by a Chart component that is based on chart.js. In the SidePanel there is a ControlPanel component that allows the user to tweak some settings. Serial port communication and programming is done by the actions. The components and actions are tied together by index.jsx.

Building from source

Dependencies

To build the app you will need to install the following tools:

  • Node.js (>=6.9)
  • npm (>=5.6.0) / yarn (>=1.4.0)

Clone the repository

Open a terminal, go to the following directory, and clone the repository:

  • Linux/macOS: cd $HOME/.nrfconnect-apps/local
  • Windows: cd %USERPROFILE%/.nrfconnect-apps/local

Alternatively, clone the repository in a different directory and symlink it into .nrfconnect-apps/local.

Building

After cloning the repository, install the required dependencies:

npm install

Then build the app:

npm run dev

If everything was successful, you should now be able to launch the app in nRF Connect.