Menu

using LTE instead of WiFi

hdehghann
Joined
2021-04-02 06:43:34
Posts
6

using LTE instead of WiFi

Hi. If my ESP32 board has a simcard and uses an LTE internet for connection instead of wifi, as in this case my phone and the ESP32 are not using the same network, is there any special consideration we should have to use OTA ? or we can use the same code and config and nothing changes? 
or any concern suggestion about security ? (I think using LTE increases security rather than wifi)

Onno Dirkzwager
Joined
2016-06-04 21:36:48
Posts
64

In response to hdehghann (View post):

Hi. If my ESP32 board has a simcard and uses an LTE internet for connection instead of wifi, as in t...

Hi hdehghann,
You can use our service & CP. Your issues are going to be with the library (if you intend to use it)

So for example, I can OTA update my Arduino samd21 with LTE. But need custom code to do that.

In your case, it all depends on how close the core is to the original esp32 core.....

  • I imagine that the underlying Update.h is the same
  • Connecting to the internet is handled by a different library.
  • Connecting to hosts and getting data is handled by a different library.

I'm happy to work with you and figure this out! This might even lead to updates for our library.

Please send me some more info on the board, manufacturer and used Arduino core.

Onno Dirkzwager
Joined
2016-06-04 21:36:48
Posts
64

hdehghann any followup or questions? 

hdehghann
Joined
2021-04-02 06:43:34
Posts
6

Hi Onno
Thanks for following. here is my board : https://github.com/Xinyuan-LilyGO/LilyGO-T-SIM7000G

Onno Dirkzwager
Joined
2016-06-04 21:36:48
Posts
64

In response to hdehghann (View post):

Hi OnnoThanks for following. here is my board : https://github.com/Xinyuan-LilyGO/LilyGO-T-SIM7000G

Which IDE are you using? And are you using the default esp32 Arduino core?

Onno Dirkzwager
Joined
2016-06-04 21:36:48
Posts
64

And could you share an example of how you would get a file from the internet?
Because if you are able to get a Stream of data then we are already halfway and I could probably come up with some custom code to update your sketch on the esp32.

Onno Dirkzwager
Joined
2016-06-04 21:36:48
Posts
64

If we get that running then I can add a feature to the next version of our library to also be able to update the modem firmware.

But I need someone to help & test....

Onno Dirkzwager
Joined
2016-06-04 21:36:48
Posts
64

More questions:

  • which board / variant do you select in your IDE? It would be ideal if this board has it's own variant.
  • If you check for updates over LTE, would config mode still run on the local network by wifi?
taylorchan067
Joined
2022-06-13 15:43:25
Posts
1

In response to hdehghann (View post):

Hi. If my ESP32 board has a simcard and uses an LTE internet for connection instead of wifi, as in t...

Yes, lte does increase in security as wifi because there is more data than wifi which makes it more secure. And I do not know why your esp32 board and phone are not using the same network, because I am also using esp32, and my phone and board are sharing the same network. I used it on a daily basis as I take my online class of business entrepreneurship courses, search for job, etc. That all thing I do it from it and never face any difficulty. 

peter0900
Joined
2022-11-24 12:02:38
Posts
54
Deleted
jonemartin
Joined
2022-09-02 16:26:41
Posts
32
Deleted
johnira563
Joined
2023-04-28 15:06:40
Posts
0
Deleted
yosemite454
Joined
2023-04-28 15:27:52
Posts
1
Deleted
mickm5543
Joined
2023-04-28 15:43:11
Posts
1
Deleted
mikerooney
Joined
2023-06-07 09:29:09
Posts
179
Deleted