Search found 105 matches

by abansal22
Mon Jul 25, 2022 1:32 pm
Forum: ESP-IDF
Topic: how can I determine how many files are open on the SD card?
Replies: 7
Views: 2801

Re: how can I determine how many files are open on the SD card?

well the subject is the question. I studied a lot. VFS driver etc. may be somebody knows the solution ? I am not aware of any function, but you can take one variable named index.Whenever you open file just increment the index pointer and when ever you closes the file just decrement the index pointe...
by abansal22
Mon Jul 25, 2022 1:25 pm
Forum: ESP-IDF
Topic: gatt_server_service_table cannot change Service And charatteristics
Replies: 2
Views: 1342

Re: gatt_server_service_table cannot change Service And charatteristics

I compile and download this gatt_server_service_table example I check form my mobile with BLE Tester I can see all the services and characteristics: Service 000000ff-000-1000-8000-008059b34fb And the following characteristics: 0000FF001-000-1000-8000-008059b34fb 0000FF003-000-1000-8000-008059b34fb ...
by abansal22
Mon Jul 25, 2022 1:18 pm
Forum: ESP-IDF
Topic: File Server shows no files inside the directories
Replies: 4
Views: 2082

Re: File Server shows no files inside the directories

Hello, While I'm exploring the file sever example in the SDK: https://github.com/espressif/esp-idf/tree/639e7ad494d93fc82159f9fe854041bc43a96d5f/examples/protocols/http_server/file_serving I was successful in connecting and visualising the files in the base_path. base_path = "/sdcard" However, when...
by abansal22
Fri Jun 10, 2022 4:51 pm
Forum: ESP32 Arduino
Topic: ESP32 connecting with RFID RC522 fails
Replies: 4
Views: 5337

Re: ESP32 connecting with RFID RC522 fails

The numbers listed on the drawing are ok, but are not the default. You can supply numbers to SPI when you call begin (https://github.com/espressif/arduino-esp32/blob/master/libraries/SPI/src/SPI.h#L63) SPI.begin(18, 19, 23, 21); //SCK, MISO, MOSI, SS https://randomnerdtutorials.com/esp32-pinout-ref...
by abansal22
Fri Jun 10, 2022 7:32 am
Forum: ESP-IDF
Topic: How to make BLE client connect to only specific server
Replies: 10
Views: 8494

Re: How to make BLE client connect to only specific server

@abansal22 I was finally able to form a bond, do you know how to connect to only bonded device. I the thread I mentions said something about a PR but I couldn't find any such PR Good to hear that! I think bonding itself means to connect with the specific device. In the bonding process, they exchang...
by abansal22
Fri Jun 10, 2022 6:57 am
Forum: ESP-IDF
Topic: How to make BLE client connect to only specific server
Replies: 10
Views: 8494

Re: How to make BLE client connect to only specific server

I meant, the server and client boots up and connects for first time. The client then stores some info about the server so that it connects to this particular server only (if there are other servers in the vicinity) next time it connects and not to some other server with save service and uuid. May b...
by abansal22
Fri Jun 10, 2022 6:52 am
Forum: ESP-IDF
Topic: How to make BLE client connect to only specific server
Replies: 10
Views: 8494

Re: How to make BLE client connect to only specific server

Please can anyone help ? What is mean by specific server. if the server expose the specific uuid, you can filter out. you can use the OOB method to filter out the desired server, you can use the mac of the device to filter it out. how do you want it? I meant, the server and client boots up and conn...
by abansal22
Fri Jun 10, 2022 6:23 am
Forum: ESP32 Arduino
Topic: ESP32 connecting with RFID RC522 fails
Replies: 4
Views: 5337

Re: ESP32 connecting with RFID RC522 fails

means you want to connect using the esp-idf?
by abansal22
Fri Jun 10, 2022 6:21 am
Forum: ESP-IDF
Topic: How to make BLE client connect to only specific server
Replies: 10
Views: 8494

Re: How to make BLE client connect to only specific server

listout wrote:
Fri Jun 10, 2022 5:30 am
Please can anyone help ?
What is mean by specific server. if the server expose the specific uuid, you can filter out. you can use the OOB method to filter out the desired server, you can use the mac of the device to filter it out. how do you want it?
by abansal22
Thu Apr 07, 2022 3:54 am
Forum: ESP-IDF 中文讨论版
Topic: undefined reference to `app_main'
Replies: 8
Views: 31361

Re: undefined reference to `app_main'

I have the exact same issue and I am not using CPP file. c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/freertos/libfreertos.a(port_common.c.obj): in function `main_task': C:/Espress...