Hi Dialog,
I am working on software DA14585_SDK 6.0.10.511 and hardware DA14585AC (DA14585 00000).
When I am trying to read ADC_1 characteristic's data, as in original code "ble_app_peripheral" project, data is not coming but through notification data is coming.
Earlier we were using same code but on DA14585_SDK 6.0.2 and DA14585AB then we able to read data through read and notification command both.
How I can read data without notification in DA14585_SDK 6.0.10.511?
Thanks
Keywords:
Device:
Hi rajan22,
The ADC_1 characteristic is a notifiable/readable characteristic, so you will get the updated values of the characteristic if you enable the notifications. Can you please clarify what you are trying to accomplish? Do you want to have a “read” characteristic without the notification property?
Thanks, PM_Dialog
Hi,
I want "read" along with notification. So, in the case of reading sensor data, in long time period, I can send read command and whenever need data quickly then through notification. That's why "read" command needed in my application.
Thanks
Hi rajan22,
The read and notify permission are completely different procedures. The read request is sent by the central, and the notifications are sent from the peripheral in specific time periods. You could have both a readable and a notifiable characteristic, but I am not able to understand you are trying to accomplish with the combination of those in your application. In order to send notifications, the notifications should be enabled from the client side. Would you like to have the notifications enabled and since you read the characteristic, then the data are going to be sent through notifications?
Thanks, PM_Dialog