Dialog Semiconductor customer support - DA14585 read https://support.dialog-semiconductor.com/resource-keywords/da14585-read en Reading a dummy value https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/reading-dummy-value

Hi.
I'm using a DA14585 Pro Kit with SDK 6.0.6, and i'm currently trying to store a dummy value (let's pretend the value is 1) to a variable and read it using a service on my application. I'm trying to do it based on the ble_app_peripheral project, but no luck so far - as I've understood, by activating the Control Point (user_svc1_ctrl_wr_ind_handler), it calls a timer function (app_adcval1_timer_cb_handler) that will notify the central when the timer expires... the problem is that this only works for notification process, since when I press the 'read' option, a No Value answer is given. The other problem is that this is not what I want, since I don't want to update a value, but only display a single one.

So, my question is: how do I use the READ command to display a pre-loaded value in central device? (in my case, LightBlue iOS app).

Thanks

Keywords: 
Device: 
Tue, 05 Dec 2017 14:09:14 +0000 TMiranda 122043 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/reading-dummy-value#comments