Depreciated Code
-
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 thatmGetCommand
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
-
@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
andMY_RADIO_NRF24
are good examples of what it should look like:
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.
-
@mfalkvidd , I see. That makes sense, thanks.
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 12 Mar 2025, 23:39 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
PJON and Minicore not working
Development • 21 Mar 2025, 19:51 • Trand 21 Mar 2025, 19:51