Please consider registering

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
Forum Posts: 15
Member Since:
February 10, 2021
sp_UserOfflineSmall Offline

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
Jouni Aro
Forum Posts: 925
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:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 116

pramanj: 86

ibrahim: 74

rocket science: 60

kapsl: 57

gjevremovic: 49

Xavier: 42

fred: 41

TimK: 41

Fransua33: 39

Member Stats:

Guest Posters: 0

Members: 2528

Moderators: 17

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1243

Posts: 5291

Newest Members:

BeelineDooxync, aimeerp18, TerryMob, AslanProom, nichol4818, damonesson, hqbchanel1, BriceLag, KarenJaw, maziebaylor0055

Moderators: Jouni Aro: 925, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 761, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 38, Niklas Nurminen: 0, Matti Siponen: 189, Lusetti: 0

Administrators: admin: 1