Search found 12 matches

by huybk213
Sun Sep 22, 2019 6:02 am
Forum: ESP32 IDF
Topic: WIFI/BLE Simultaneously
Replies: 50
Views: 23233

Re: WIFI/BLE Simultaneously

Hi every one. I'm using esp-idf v3.2.2 stable and i have a trouble with WiFi and BLE coexist. I'm success to config wifi information via custom GATT server. Mobile phone will send information such as SSID, Password... to esp32 via custom GATT server. But when i'm provide wrong ssid - wrong password,...
by huybk213
Sun Sep 22, 2019 5:53 am
Forum: ESP32 IDF
Topic: BLE GATT server undiscoveryable when WiFi fail
Replies: 1
Views: 77

Re: BLE GATT server undiscoveryable when WiFi fail

In event WIFI_STA_START, i,m try to connect to AP by calling func esp_wifi_connect ( with wrong SSID and password ).
Then BLE service is no more running.
by huybk213
Sun Sep 22, 2019 5:07 am
Forum: ESP32 IDF
Topic: BLE GATT server undiscoveryable when WiFi fail
Replies: 1
Views: 77

BLE GATT server undiscoveryable when WiFi fail

Hi everyone. My project has wifi and ble gatt server coexist. I'm able to run program with BLE and WiFi Simultaneously. I'm able to provide WiFi SSID and Password via ble gatt server, and ESP32 successful connect to AP. But when i'm trying to config wrong SSID - wrong password, but when esp32 trying...
by huybk213
Fri Jul 26, 2019 4:56 am
Forum: ESP32 IDF
Topic: Large file in spiffs
Replies: 0
Views: 150

Large file in spiffs

Hi everyone, Im trying to store large file into spi flash on esp32, the fire size about 250kB. Everytime i want to store file in to spiflash, i will delete the old file and write a new file to spiffs. But after some times write data to spiffs region, device cannot save data to spiffs anymore. System...
by huybk213
Wed Jul 24, 2019 11:01 am
Forum: General Discussion
Topic: ESP32 Run multi application
Replies: 0
Views: 179

ESP32 Run multi application

Hi everyone, My idea is running multi application in flash. For example, i have 3 application. One is factory reset, second is bluetooth classic application, and third is bluetooth low energy application. I'm trying to make wifi, ble and bluetooth audio co-exist, but performance is so bad. So i want...
by huybk213
Tue Jul 09, 2019 10:36 am
Forum: ESP32 IDF
Topic: Mkdir not working in example storage/sd_card
Replies: 7
Views: 731

Re: Mkdir not working in example storage/sd_card

ESP_igrr wrote:
Tue Jul 09, 2019 10:05 am
Have you enabled LFN (long file names) in menuconfig, Component config, FATFS? If not, you will have to use an 8.3 name for the directory.
Great!!!!
Thank you so much, i did not enable long file name support before.
Problem now solved, thank you.
by huybk213
Tue Jul 09, 2019 9:50 am
Forum: ESP32 IDF
Topic: Mkdir not working in example storage/sd_card
Replies: 7
Views: 731

Re: Mkdir not working in example storage/sd_card

huybk213: as common with other POSIX functions, you can check the exact error cause using 'errno' variable, if a function has returned -1. You can also use strerror function to convert errno value into a human-readable message. In this specific case, I would guess that the directory has already bee...
by huybk213
Tue Jul 09, 2019 9:46 am
Forum: ESP32 IDF
Topic: Mkdir not working in example storage/sd_card
Replies: 7
Views: 731

Re: Mkdir not working in example storage/sd_card

Ritesh wrote:
Sat Jul 06, 2019 8:41 am

Hello,

Which File System you have used for SD card? Because earlier into SPIFFS there was same issue of directory level support was messing.

So, There might be chances of file system issue or something like that.
Dear Ritesh,
My sdcard was formated in FAT32 MODE
by huybk213
Fri Jul 05, 2019 5:59 pm
Forum: ESP32 IDF
Topic: Mkdir not working in example storage/sd_card
Replies: 7
Views: 731

Mkdir not working in example storage/sd_card

Hi everyone, I'm currently using IDF last version. I'm trying to run example storage/sd_card. Sdcard example seem to be good. I want to create new folder using command "mkdir", but mkdir alway return error -1. All line below is my program and log. Code void app_main(void) { ESP_LOGI(TAG, "Initializi...
by huybk213
Fri Jun 14, 2019 5:07 am
Forum: Showcase
Topic: ESP32 TFT display library
Replies: 66
Views: 62198

Re: ESP32 TFT display library

Hi every one,

I'm using ESP32 TFT display library with ST7789 driver.

But color was invert, for example when i call function TFT_fillWindow(TFT_BLACK) , the screen is WHITE, and TFT_fillWindows(TFT_RED) the screen is green.

I don't know why this problem happen.

Go to advanced search