Page 1 of 1

Sending and receiving http requests and responses over BLE through a smartphone with bluetooth tether enabled

Posted: Mon Mar 20, 2023 9:43 am
by Tomahawk_SMH
I want to connect my esp32 to my android on which I have enabled bluetooth tethering enabled it's 4G data. The problem is that the HTTP client on esp32 needs a wifi client but I don't want to use wifi due to power inefficiency. Is there any HTTP library that could use GET method using the internet from bluetooth tether? I'd appreciate any help or referencing to any example of this application.

Re: Sending and receiving http requests and responses over BLE through a smartphone with bluetooth tether enabled

Posted: Tue Mar 21, 2023 11:54 am
by corz.org
Isn't there an implementation of cURL for ESP32?

Re: Sending and receiving http requests and responses over BLE through a smartphone with bluetooth tether enabled

Posted: Sat Mar 25, 2023 6:43 pm
by Tomahawk_SMH
Thanks for your reply but I saw cURL and noticed that it is only a tool for coding any data as a URL and I don't see how it helps reaching web pages through BLE

Re: Sending and receiving http requests and responses over BLE through a smartphone with bluetooth tether enabled

Posted: Sun Mar 26, 2023 2:06 am
by ESP_Sprite
Tomahawk_SMH wrote:
Sat Mar 25, 2023 6:43 pm
I saw cURL and noticed that it is only a tool for coding any data as a URL
You noticed wrong. Suggest you look again.

Re: Sending and receiving http requests and responses over BLE through a smartphone with bluetooth tether enabled

Posted: Mon Mar 27, 2023 3:56 pm
by Tomahawk_SMH
I still can't understand how cURL can help me send an http GET and receive a response throught BLE.