Home
last modified time | relevance | path

Searched refs:p_seq (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_storage.c273 genie_storage_status_e genie_storage_write_seq(uint32_t *p_seq, bool force_write) in genie_storage_write_seq() argument
280 if ((force_write == false) && (*p_seq > 0x03) && (*p_seq % GENIE_SEQ_SAVE_INTERVAL) != 0) in genie_storage_write_seq()
286 seq_write = (*p_seq & 0x00FFFFFF) | (GENIE_SEQ_MAGIC_NUMBER << 24); in genie_storage_write_seq()
299 genie_storage_status_e genie_storage_read_seq(uint32_t *p_seq) in genie_storage_read_seq() argument
311 *p_seq = seq_read & 0x00FFFFFF; in genie_storage_read_seq()
312 *p_seq += GENIE_SEQ_SAVE_INTERVAL; in genie_storage_read_seq()
314 genie_storage_write_seq(p_seq, true); //update seq in kv in genie_storage_read_seq()
/AliOS-Things-master/components/genie_service/core/inc/
A Dgenie_storage.h267 genie_storage_status_e genie_storage_write_seq(uint32_t *p_seq, bool force_write);
274 genie_storage_status_e genie_storage_read_seq(uint32_t *p_seq);

Completed in 6 milliseconds