添加加密EFUSE的mac并发送到APP

This commit is contained in:
OPTOC
2025-10-23 18:39:07 +08:00
parent 793817d00e
commit 21b4e242a0
4 changed files with 144 additions and 3 deletions

View File

@@ -48,15 +48,21 @@ typedef struct
// 环形buff
RingBuffer data_handle_buffer;
uint32_t fc_address;
// efuse MAC 地址
uint8_t efuse_mac[6];
uint8_t efuse_mac_encrypt[6];
}sertrf_t;
typedef struct
typedef struct __attribute__((packed))
{
char ble_name[32];
char wifi_ap_ssid[32];
char wifi_ap_password[32];
char wifi_sta_ssid[32];
char wifi_sta_password[32];
uint8_t efuse_mac_encrypt[6];
}sertrf_stauct_t;
/**
* @brief 模块初始化