Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Depreciated Code

Depreciated Code

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 289 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Frank C
    wrote on last edited by
    #1

    There are some really great dev options here for building sensors :)

    I'm looking at using mGetCommand in my sketch to read the command sent to my node. I read that mGetCommand is marked as Depreciated in the code, and that this and many other methods are marked as Deprecated, as mentioned in the "Deprecated List":

    • https://www.mysensors.org/apidocs-beta/deprecated.html
    • https://www.mysensors.org/apidocs-beta/group__MyMessagegrp.html#gae2370fc35a3e46b0d83d1efeb9947701

    Is there a date when these methods will be obsolete and/or replaced ?
    And is there somewhere to find other methods to use that are not being currently deprecated ?
    I'm using version 2.3.1

    mfalkviddM 1 Reply Last reply
    0
    • F Frank C

      There are some really great dev options here for building sensors :)

      I'm looking at using mGetCommand in my sketch to read the command sent to my node. I read that mGetCommand is marked as Depreciated in the code, and that this and many other methods are marked as Deprecated, as mentioned in the "Deprecated List":

      • https://www.mysensors.org/apidocs-beta/deprecated.html
      • https://www.mysensors.org/apidocs-beta/group__MyMessagegrp.html#gae2370fc35a3e46b0d83d1efeb9947701

      Is there a date when these methods will be obsolete and/or replaced ?
      And is there somewhere to find other methods to use that are not being currently deprecated ?
      I'm using version 2.3.1

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @frank-c each of the deprecated methods should have information on what to use instead. But I see that such information is not available for all deprecated methods.

      On https://www.mysensors.org/apidocs-beta/deprecated.html isAck and MY_RADIO_NRF24 are good examples of what it should look like:
      0_1573824532018_8ae08830-f83e-4d39-b01f-f9c310d56bbe-image.png
      0_1573824592913_7a266da6-88aa-4150-ae8e-c614a659daf2-image.png

      I don't think we have any hard rules on when these will be removed, but I think most of them will be removed whenever 3.x is released (if/when that happens). But the project is driven by the community, so it would depend on what people want.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Frank C
        wrote on last edited by
        #3

        @mfalkvidd , I see. That makes sense, thanks.

        1 Reply Last reply
        1
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        20

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular