Avatar

Please consider registering
guest

sp_LogInOut Log In sp_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 RSS sp_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: 1012
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: 518

Currently Online: Elvaspr
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 684

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1469

Posts: 6266

Newest Members:

Elvaspr, jackchen, joliecheney96, digitechroshni, LouieWreve, Kickbiche, karrimacvitie5, graciela2073, sagarchau, elviralangwell4

Moderators: Jouni Aro: 1012, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 322, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1