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: 10
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: 869
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: 267

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 109

pramanj: 86

ibrahim: 71

kapsl: 57

gjevremovic: 49

TimK: 41

fred: 41

Fransua33: 39

Xavier: 34

rocket science: 33

Member Stats:

Guest Posters: 0

Members: 1283

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1100

Posts: 4643

Newest Members:

henryking123, pcygraig5029, corejavatuts, jaynelumpkin4, nandant07, vnd18, arnetteleverett, autumnzzi6, vickiviera, dianames129491

Moderators: Jouni Aro: 869, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 633, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Teppo Uimonen: 21, Markus Johansson: 30, Matti Siponen: 100, Lusetti: 0

Administrators: admin: 1