GithubHelp home page GithubHelp logo

Rework the rf12_config string about jeelib HOT 4 CLOSED

jeelabs avatar jeelabs commented on June 30, 2024
Rework the rf12_config string

from jeelib.

Comments (4)

JohnOH avatar JohnOH commented on June 30, 2024

If we are permitted to change the layout of the string then I would also change how the frequency offset is saved. In the RF12demo branch the frequency offset is stored as a 4 bit and also an 8 bit number rather than a 12 bit number. this was to permit the driver to detect when an 'old' style (pre RF12demo V11) of configuration was in the eeprom.

from jeelib.

jcw avatar jcw commented on June 30, 2024

Good idea. I don't think we need to keep backward compat on the EEPROM, assuming the new one will fail the CRC anyway.

It does require some care in actual use: use matching RF12demo and RF12 driver code, i.e. recompile and reflash both and things should work. There has always been a form of coupling between RF12demo and rf12_config().

from jeelib.

JohnOH avatar JohnOH commented on June 30, 2024
On 30/09/2013 12:52, Jean-Claude
  Wippler wrote:

  Good idea. I don't think we need to keep backward compat on the
    EEPROM, assuming the new one will fail the CRC anyway.

I'm not sure the CRC fail method will work unless we change the CRC
algorithm. 
  It does require some care in actual use: use matching RF12demo
    and RF12 driver code, i.e. recompile and reflash both and things
    should work. There has always been a form of coupling between
    RF12demo and rf12_config().
  —
    Reply to this email directly or view
      it on GitHub.

from jeelib.

jcw avatar jcw commented on June 30, 2024

I'd like to keep this as as for RF12 and revisit the issue on the RF69 driver.

from jeelib.

Related Issues (20)

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.