botletics / SIM7000-LTE-Shield

Botletics SIM7000 LTE CAT-M1/NB-IoT Shield for Arduino
https://www.botletics.com/products/sim7000-shield
GNU General Public License v3.0
483 stars 215 forks source link

fona.setNetworkSetting() using variables #295

Open SashCuaz opened 2 years ago

SashCuaz commented 2 years ago

Hi dear, I would like to set the network apn from a external app, we save the data in a json config file as strings and we tried to use the function fona.setNetworkSettings in order to apply the changes. After we are triying to do that, the compiler does not let us to set the values like pointer (const char *), It is posible to use the function with variables like from APN, USER and PASS?