Closed Bug 1149006 Opened 11 years ago Closed 8 years ago

Revise start/stopNotifications() of Gatt client API to include write CCCD behavior.

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: yrliou, Unassigned)

References

Details

(Whiteboard: [webbt-api])

In the first edition implemented by Bug 1140951, applications need to write CCCD by themselves. This bug is to include write CCCD behavior inside start/stopNotifications() API. To achieve this, we should probably - maintain the subscribe count for each subscribed characteristic - write CCCD to enable notification/indication by checking characteristic property if it's the first app subscribing this characteristic - write CCCD to disable notification and indication if the subscribe count of this characteristic drop to 0
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.