espressif / esp-wolfssl

WolfSSL port for ESP-IDF & ESP8266_RTOS_SDK
38 stars 13 forks source link

After introducing the wolfssl library using the Bluetooth example code, Bluetooth does not work #20

Closed zhy2020 closed 1 year ago

zhy2020 commented 1 year ago

Hi, I ran into a new problem when I introduced the wolfssl library while using the Bluetooth sample code, and Bluetooth didn't work. The program prompts "MAC address is not set". image image

Then I added the code before the Bluetooth initialization: uint8_t mac[6] = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55}; esp_base_mac_addr_set(mac);

The program no longer says "MAC address is not set," but Bluetooth still doesn't start scanning and print the scan result. I don't know what went wrong

zhy2020 commented 1 year ago

Sorry, this is a problem caused by the 'ESP_LOGI' output. When I used printf, the console printed the scan results normally.