Code Monkey home page Code Monkey logo

nrf51-simple-radio's Introduction

nrf51-simple-radio

A simple radio protocol for the nRF51 series, with full BSD-licensed source code.

This is very much a work in progress, but could possibly serve as a useful base for anyone looking to understand how to use the radio on the nRF51 series for a custom protocol.

What is done here may or may not be good things to do, and the entire protocol is done primarily for my own understanding of the radio peripheral.

Usage

To compile, run the Makefiles in app/tx/pure-gcc/ and app/rx/pure-gcc. You will need the official nRF51 SDK, available from www.nordicsemi.com and my pure-gcc setup from https://github.com/hlnd/nrf51-pure-gcc-setup. Set correct paths in the project makefiles.

To run the few unit tests for the queue, you'd have to use CppUTest and set its path in the test makefile.

This has been developed on Linux and not tested on any other platform.

Current features

  • 64 byte packets (configurable).
  • ACKs on successful reception.
  • Event on packet sent, packet lost (configurable number of retransmits) and packet received.
  • RX always on, TX only on when sending.
  • Queues for packets (configurable size); will send all as fast as possible when actually sending.

Future development could include anything. Feature requests will (most likely) not be implemented, but pull requests will be considered!

nrf51-simple-radio's People

Contributors

hlnd avatar oyv avatar

Watchers

 avatar

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.