Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

The channel response Callback function

Rank

Total Posts: 5

Joined 2014-01-20

PM

This is more a question to help my understand of how things work.

In the demo app, it uses messages from the response callback to trigger setting a different part of the channel before finally opening it. I understand this.

If I perform the setting of the channel parameters outside of the callback function, the channel event callback function never gets called.

If I perform the setting of the channel parameters outside of the response callback function and still setup the response callback function (but with no code inside - just playing), the chancel event callback starts receiving data.

Could someone help me understand why this is so.

Thanks      
Avatar
RankRankRankRank

Total Posts: 744

Joined 2012-09-14

PM

Could you post a code example of what you are attempting to do and which demo app which you are using?

Thanks