in timeapp sample
in ANCS section , how can i subscribe both Notification Source and Data Source and obtain their callback ?
(https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Specification/Specification.html)
Brief description:
9FBF [notify characteristic ] - Notification Source
22EA[notify characteristic ] - Data Source69D1 [write] - control point
msg receive -> 9FBF notify with message ID, write command with message ID to 69D1, 22EA will callback the info of that msg
do it means i can get CCCD from both 9FBF , 22EA ?
and i can start notify both by writing a value of 0x0001 to the client characteristic configuration descriptor (CCCD). ?
( http://www.deyisupport.com/question_answer/wireless_connectivity/f/45/p/18256/61800.aspx )
i tried to search for CCCD , only can find CCCD in 0x9FBF,
so 0x22EA never receive callback even i write value to 0x69D1
with reference to "timeapp_discover.c"
is the callback of both notify arrive at TimeAppDiscAlertNtf ?