Searched refs:p_mac (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/components/genie_service/core/src/ |
A D | genie_triple.c | 24 genie_storage_status_e genie_triple_write(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key) in genie_triple_write() argument 33 memcpy(data + GENIE_TRIPLE_PID_SIZE + GENIE_TRIPLE_KEY_SIZE, p_mac, GENIE_TRIPLE_MAC_SIZE); in genie_triple_write() 46 if ( p_pid == NULL || p_mac == NULL || p_key == NULL) { in genie_triple_write() 61 printk("%02x", p_mac[i]); in genie_triple_write() 66 ret = aos_kv_set("pro_mac", p_mac, GENIE_TRIPLE_MAC_SIZE + 1, 1); in genie_triple_write() 82 genie_storage_status_e genie_triple_read(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key) in genie_triple_read() argument 111 memcpy(p_mac, data + GENIE_TRIPLE_PID_SIZE + GENIE_TRIPLE_KEY_SIZE, GENIE_TRIPLE_MAC_SIZE); in genie_triple_read() 151 memcpy(p_mac, mac, GENIE_TRIPLE_MAC_SIZE); in genie_triple_read() 157 printk("%02x", p_mac[i]); in genie_triple_read()
|
/AliOS-Things-master/components/genie_service/core/inc/ |
A D | genie_triple.h | 30 genie_storage_status_e genie_triple_write(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key); 39 genie_storage_status_e genie_triple_read(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key);
|
A D | genie_storage.h | 145 genie_storage_status_e genie_triple_write(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key); 146 genie_storage_status_e genie_triple_read(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key);
|
Completed in 5 milliseconds