This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Create service for reading and writing data

Hello All,

I am new too BLE so sorry in advance for this generic question. I am trying too get Temperature data from sensor while in connection state(Phone connected). Also need too set calibration data into sensor every 1 hours. 

I am very new too Characteristic and services in BLE. As per my understanding too do above task I would need to create one custom Service with Notify (Sending sensor data) characteristic and  Write(Get calibration data) Characteristic. 

Am I correct with this or else there is already a service defined for above task. If there is any document or example for Creating or understanding this will also help. 

Your answer is really appreciated. 

Regards,

Jayesh

Related