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

Tomahawk_SMH
Posts: 5
Joined: Mon Jul 18, 2022 5:54 pm

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

Postby Tomahawk_SMH » Mon Mar 20, 2023 9:43 am

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.

User avatar
corz.org
Posts: 80
Joined: Fri Feb 03, 2023 10:44 pm
Location: Aberdeen
Contact:

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

Postby corz.org » Tue Mar 21, 2023 11:54 am

Isn't there an implementation of cURL for ESP32?

Tomahawk_SMH
Posts: 5
Joined: Mon Jul 18, 2022 5:54 pm

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

Postby Tomahawk_SMH » Sat Mar 25, 2023 6:43 pm

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

ESP_Sprite
Posts: 8884
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Sun Mar 26, 2023 2:06 am

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.

Tomahawk_SMH
Posts: 5
Joined: Mon Jul 18, 2022 5:54 pm

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

Postby Tomahawk_SMH » Mon Mar 27, 2023 3:56 pm

I still can't understand how cURL can help me send an http GET and receive a response throught BLE.

Who is online

Users browsing this forum: No registered users and 62 guests