Search found 5 matches

by Mahmoud Omar
Mon Jun 04, 2018 11:57 pm
Forum: ESP32 Arduino
Topic: ESP32 ESPNOW Duplex mode.
Replies: 0
Views: 2935

ESP32 ESPNOW Duplex mode.

I am trying to send and receive data through ESPNOW between two ESP32 boards, lets call them ESP1 & ESP2. The thing is that if i want to send data from ESP1 to ESP2 i have to initialize ESP1 as master and ESP2 as slave and when i want to get the reply from the first transmission I set ESP2 as master...
by Mahmoud Omar
Sun May 27, 2018 4:22 pm
Forum: ESP-IDF
Topic: Programming in C++ and using esp_wifi
Replies: 15
Views: 32153

Re: Programming in C++ and using esp_wifi

Also if there is a way to use the SPI slave code in arduino IDE it would be great.
because the only example i can find is for ESP8266 and it doesn't work with the ESP32.
by Mahmoud Omar
Sun May 27, 2018 4:19 pm
Forum: ESP-IDF
Topic: Programming in C++ and using esp_wifi
Replies: 15
Views: 32153

Re: Programming in C++ and using esp_wifi

I did the steps in your creating C++ application and it worked with me. Thank you very much. The thing is that i now have the ESPNOW code with arduino in C++ and i need to add SPI Slave code in the the same code. the spi slave is in c and when the structs are initializing it returns unimplemented: n...
by Mahmoud Omar
Sat May 26, 2018 3:43 pm
Forum: ESP-IDF
Topic: Programming in C++ and using esp_wifi
Replies: 15
Views: 32153

Re: Programming in C++ and using esp_wifi

Thank you for the link. I did everything and i get the following message in eclipse. make[1]: *** No rule to make target 'C:/msys32/home/Mahmoud/esp/trial/main/main.c', needed by 'main.o'. Stop. make: *** [C:\msys32\home\Mahmoud\esp\esp-idf/make/project.mk:467: component-main-build] Error 2 make: **...
by Mahmoud Omar
Sat May 26, 2018 12:38 am
Forum: ESP-IDF
Topic: Programming in C++ and using esp_wifi
Replies: 15
Views: 32153

Re: Programming in C++ and using esp_wifi

I have been using Arduino IDE to program the ESP32, i wanted to program the SPI slave example using it and failed so i switched to the ESP-IDF and everything was going well but when i need to use the Wifi the esp_wifi.h is advanced for me and i wonder how can i use the WiFi.h library from arduino ES...