Dear all:
Now ,i have to create a "Time Profile(Time Server)".
and i have know the Time profile which contain Current Time Server,Next DST change Service and Reference Time Update Service.
I only want build the Current Time Service on nRF51822(nRF6310 D.K board).
I program the file reference the ble_bas.c(battery service, for notify and data struct)
See the Attaction file(ble_app_time.rar)
when i burn into my D.K board ,at my device(iphone) is see the "Time server" and get the Current Time Service and the characteristic(Exact Time 256) , but i can't get the correct the data type , read value .
how to solve it ?
and what is ble_gatts_char_md_t,ble_gatts_attr_t and ble_gatts_attr_md_t?how to setting correctly?