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
67

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
67

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
67

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
67

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
67

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
67

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?