File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -168,20 +168,20 @@ int ArduinoCellular::getSignalQuality(){
168168}
169169
170170TinyGsmClient ArduinoCellular::getNetworkClient (){
171- return TinyGsmClient (modem);
171+ return ManagedTinyGsmClient (modem);
172172}
173173
174174HttpClient ArduinoCellular::getHTTPClient (const char * server, const int port){
175- return HttpClient (* new TinyGsmClient (modem), server, port);
175+ return HttpClient (* new ManagedTinyGsmClient (modem), server, port);
176176}
177177
178178#if defined(ARDUINO_CELLULAR_BEARSSL)
179179HttpClient ArduinoCellular::getHTTPSClient (const char * server, const int port){
180- return HttpClient (* new BearSSLClient (* new TinyGsmClient (modem)), server, port);
180+ return HttpClient (* new BearSSLClient (* new ManagedTinyGsmClient (modem)), server, port);
181181}
182182
183183BearSSLClient ArduinoCellular::getSecureNetworkClient (){
184- return BearSSLClient (* new TinyGsmClient (modem));
184+ return BearSSLClient (* new ManagedTinyGsmClient (modem));
185185}
186186#endif
187187
You can’t perform that action at this time.
0 commit comments