Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT-FS → Thread

   

Source for 1.6.0 version of ANT_NET.dll?

Rank

Total Posts: 17

Joined 2011-01-24

PM

I'd like to add a way to detect the insertion or removal of the USB ANT stick in the ANT_Device class. ANTFS_Client already does this with Response.OpenPass and Response.SerialFail but I can't find the source for this.

The source in ANT_Libraries for ANT_NET.dll builds to version 1.4.0, but the ANT_NET.dll used in ANTFSClientDemo is version 1.6.0. Is the source for ANT_NET.dll version 1.6.0 available somewhere?
My plan is to find the ANTFS_Client and copy the ResponseHandler code that posts these responses. I'm open to other ideas though      
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

The underlying implementation of detection of the USB stick for ANT-FS is in the C++ library (ANT_LIB). You can look at antfs_host.cpp/hpp of the version in the website. The implementation in the client is the same (also in C++), but it is currently undergoing some changes and we would prefer to release the source code once all the modifications are done.      
Rank

Total Posts: 17

Joined 2011-01-24

PM

Thanks. I found antfs_host.cpp/hpp in the static lib used in ANTFSDemo. Is there any plans to add this support to ANT_Device or should I just plan on editing ANT_Device? ANT_Device and ANTFS_host are structured quite differently. I was hoping that they would both inherit from a base class where this type of functionality could be shared.      
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

Yes, we are considering that, although it is not something that will happen in the short term.