I am developing a sensor device and a corresponding iOS-app that shall communicate using Bluetooth low energy. The sensor device needs to maintain the current date and time in a
Start The time service in iOS Phone.
Read the Time from Phone (exposed by service) into sensor. ( for this your iPHone acts as peripheral )
Sensor in this case acts as a Master.
Get the data from iPhone and set it into sensor.
I hope you can code for Sensor.