소스 검색

add: 添加luat_nimble_mac_set适配

Wendal Chen 2 년 전
부모
커밋
c1d3bc0f3c
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      app/port/luat_nimble_air101.c

+ 7 - 0
app/port/luat_nimble_air101.c

@@ -94,3 +94,10 @@ int luat_nimble_init(uint8_t uart_idx, char* name, int mode) {
     }
     return 0;
 }
+
+#include "wm_efuse.h"
+int luat_nimble_mac_set(const char* tmac) {
+    tls_set_bt_mac_addr((u8*)tmac);
+    return 0;
+}
+