TNF API Changes

  • 2
  • Idea
  • Updated 10 months ago
  • Implemented
  • (Edited)
In the next release after v2.0.17 we will be making modifications to TNF subscriptions. TNFs will no longer be subscribed to by default and in order to receive updates related to TNFs you will need to explicitly subscribe to them using the command 'sub tnf all'

If you're using FlexLib you can also set the property IsTNFSubscribed to true in order to subscribe.
Photo of Greg Folker

Greg Folker

  • 3 Posts
  • 0 Reply Likes

Posted 10 months ago

  • 2
Photo of John G3WGV

John G3WGV

  • 174 Posts
  • 33 Reply Likes
Thanks for the heads-up Greg. Will the API version number be updated? Alternatively, does it cause any problem with the current version to issue the sub tnf message?
Photo of Greg Folker

Greg Folker

  • 3 Posts
  • 0 Reply Likes
The API version will be updated when this change goes live. 

It doesn't hurt to issue the command right now in the current version of the API but it will return with an error because it won't know what the command is. 
Photo of John G3WGV

John G3WGV

  • 174 Posts
  • 33 Reply Likes
Thanks Greg. That's the best of all options. My controller doesn't really know about TNF yet but I was thinking about changing that, so I'll bear these changes in mind. I already use the version number to determine the behaviour of some sections of my code. Do you yet know the new version number? 1.3.0.1 perhaps for a small change like this?

Is there a public document anywhere that details the changes through the various versions?
(Edited)
Photo of Greg Folker

Greg Folker

  • 3 Posts
  • 0 Reply Likes
For a minor change like this the version number would most likely reflect a small change, such as 1.3.0.1. At the moment we do not know an exact number but it will be greater than 1.3.0.0, much of that depends on how many other large/smaller changes we try to fit into the same release.

As far as documentation goes for this change we will be updating the Wiki in the near future to reflect the new sub commands for TNFs which can be found here http://wiki.flexradio.com/index.php?title=TCP/IP_sub

-Greg