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: 1026
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:
48 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 726

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_gallery

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1