Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
Problen of subscription confusion
April 8, 2021
10:46, EEST
Avatar
UlrichFM
Member
Members
Forum Posts: 15
Member Since:
February 10, 2021
sp_UserOfflineSmall Offline

Hello,
I have a problem with subscriptions on the Ansi C Client SDK.
I have already managed to make several subscriptions without problem; but now, i have add two more monitored items that cause me problem. The problem is that, when the first change, the callBack function of subscriptions does not execute but when the second monitored items change, it is considerd as the two of the monitored items have changed then, two CallBack functions are executed and when i debug it, i realise that only the datas of this second monitored item are used for the two callback executed (and the clienthandle of each CallBack is the clienthandle of each monitored item)
I make sure that the two monitored items have different clientHandle but they are confused.
Can somebody help me please ?

April 8, 2021
13:08, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1044
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Hi Ulrich,

It sounds indeed that something is not correct. The confusion can also happen in the server, in which case there is not much to do in the client side.

To find out, whether the problem in on the server or client side, you can use Wireshark to record the actual communication from the server. if it looks different to what you get out from the SDK, then we can report that to the developers. But if it looks like the server is sending wrong notifications, you will have to contact the server developers.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 60
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 100
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 773
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1558
Posts: 6567
Newest Members:
aracelyhaley4, raphaelschonell, Ashmag, kathyreimann56, brittanylemos, dorthycundiff76, PromotionToold, CHHinrichs, rodricklienhop, jose_Wanderlei
Moderators: Jouni Aro: 1039, Pyry: 1, Petri: 1, Bjarne Boström: 1054, Jimmy Ni: 26, Matti Siponen: 359, Lusetti: 0
Administrators: admin: 1