4 posts / 0 new
Last post
ben.stickrod@bi...
Offline
Last seen:5 years 5 months ago
加入:2015-10-26 16:51
Duplicate notification

I seem to be getting a single duplicate notification when someone writes to one of my characteristics.

Example:
1. Write to the value of characteristic A
2. Send out X number of notifications from characteristic A for the value
3. I get X+1 notifications.

Does a write trigger its own notification?

Device:
MT_dialog
Offline
Last seen:1 month 3 weeks ago
Staff
加入:2015-06-08 11:34
Hi ben,

Hi ben,

There is no notification triggered when someone writes on a characteristic, perhaps something in your code triggers that extra notification.

Thanks MT_dialog

ben.stickrod@bi...
Offline
Last seen:5 years 5 months ago
加入:2015-10-26 16:51
Strange, I made a seperate

Strange, I made a seperate characteristic to trigger the series of notifications and the extra notification went away.

MT_dialog
Offline
Last seen:1 month 3 weeks ago
Staff
加入:2015-06-08 11:34
Hi ben,

Hi ben,

There is no notification triggering when you write a characteristic only a response from the slave that characteristic was written, can you check the writing indication function? perhaps the function triggers a notification generation.

Thansk MT_dialog