A little hassle with ESP32..!!
@arunksoman When you told me use esp_now to communicate with client but not with mobile you mean to use BLE connection between server and mobile?
I'm simply asking you that are you suggesting me this kind of architecture??
Mobile to server - BLE connection
Server to client - ESP_NOW
Is this what you've meant bro?
@kowshik1729 Yes, now you are absolutely right. That is what I tried to convey. The instructables given above is saying two way communication between client and server BLE is possible with android. But I didn't tried that. But I will try that soon.
@arunksoman I have read about ESP_NOW protocol from the Espressif page and it is mentioned that ESP_Now makes use of Wifi but without any connections. Which means my power consumption obviously increases. As I am going to use this application in a wearable use case I want some power-efficient solution.
@kowshik1729 Did you read Espressif page and datasheet completely?
ESP-NOW is yet another protocol developed by Espressif, which enables multiple devices to communicate with one another without using Wi-Fi. The protocol is similar to the low-power 2.4GHz wireless connectivity that is often deployed in wireless mouses. So, the pairing between devices is needed prior to their communication. After the pairing is done, the connection is safe and peer-to-peer, with no handshake being required.
Espressif ESP-NOW OVERVIEW
"The ESP-Now protocol is connection-less, you don't need to set up a session/get an ip-address to communicate between nodes. This saves time and battery power, exactly what we need. "
Also You can try this protocol with deep sleep mode.
@arunksoman Thank you soo much for enlightening me. I shall surely try this feature
@jibin_lks Can you please share the example code and connection diagram?
I been trying to interface Xiao esp32c3 with LoRa via SPI. After uploading the code doesn't get executed by the board but give the message log: "waiting for download". After few attempts by even resigning to other pins as spi instead of default spi pins, found this is occurring specifically when the CS pin is connected to the board. Any help to resolve this?
@jacob_jipson Glad to hear that.
@salmanfaris The problem was resolved. Thankyou so much.
Did you replace the NN folder in the lib as we do for XIAO esp32? and for the AI Thinker ESP32-CAM, you don't need to do that.
now, try to delete the library and re-add a new one and compile.