Go to the documentation of this file.
61 #include "custom_config.h"
69 #define NDCS_CONNECTION_MAX (10 < CFG_MAX_CONNECTIONS ?\
70 10 : CFG_MAX_CONNECTIONS)
71 #define NDCS_TIME_WITH_DST_VAL_LEN 8
72 #define NDCS_CHAR_FULL 0x07
@ NDCS_DST_OFFSET_DOUB_DAYLIGHT_TIME
Definition: ndcs.h:85
ndcs_dst_offset_t dst_offset
Definition: ndcs.h:97
void ndcs_dst_offset_update(ndcs_dst_offset_t dst_offset)
Update DST offset.
sdk_err_t ndcs_service_init(uint8_t char_mask)
Initialize an NDCS instance and add in the DB.
prf_date_time_t date_time
Definition: ndcs.h:96
@ NDCS_DST_OFFSET_STANDAR_TIME
Definition: ndcs.h:82
Profile/Service Common Types.
uint16_t sdk_err_t
SDK API result type.
Definition: ble_error.h:243
The date and time structure. The packed size is 7 bytes.
Definition: ble_prf_types.h:101
@ NDCS_DST_OFFSET_DAYLIGHT_TIME
Definition: ndcs.h:84
void ndcs_day_time_update(prf_date_time_t *p_day_time)
Update day time.
@ NDCS_DST_OFFSET_HALF_HOUR
Definition: ndcs.h:83
Time with DST.
Definition: ndcs.h:95
ndcs_dst_offset_t
Daylight Saving Time Offset.
Definition: ndcs.h:81