You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\hsntu\Documents\Arduino\libraries\GsmAsync-master\src/GsmAsync.h:43:7: note: no known conversion for argument 1 from 'HardwareSerial*' to 'const GsmAsync&'
C:\Users\hsntu\Documents\Arduino\libraries\GsmAsync-master\src/GsmAsync.h:43:7: note: no known conversion for argument 1 from 'HardwareSerial*' to 'GsmAsync&&'
exit status 1
no matching function for call to 'GsmAsync::GsmAsync(HardwareSerial*&)'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered:
Hi. This part of the code has not been updated.Check the C ++ file. How to use lib becomes more understandable.
Use the following form:
GsmAsync gsmAsync;
gsmAsync.init(&Serial1,timeoutHandler,errorHandler); // in Setup
Arduino:1.8.13 (Windows Store 1.8.42.0) (Windows 10), Kart:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
GsmAsync02NetworkStatus:41:22: error: no matching function for call to 'GsmAsync::GsmAsync(HardwareSerial*&)'
GsmAsync gsmAsync(gsm);
In file included from C:\Users\hsntu\AppData\Local\Temp\arduino_modified_sketch_108564\GsmAsync02NetworkStatus.ino:22:0:
C:\Users\hsntu\Documents\Arduino\libraries\GsmAsync-master\src/GsmAsync.h:46:5: note: candidate: GsmAsync::GsmAsync()
C:\Users\hsntu\Documents\Arduino\libraries\GsmAsync-master\src/GsmAsync.h:46:5: note: candidate expects 0 arguments, 1 provided
C:\Users\hsntu\Documents\Arduino\libraries\GsmAsync-master\src/GsmAsync.h:43:7: note: candidate: constexpr GsmAsync::GsmAsync(const GsmAsync&)
class GsmAsync
C:\Users\hsntu\Documents\Arduino\libraries\GsmAsync-master\src/GsmAsync.h:43:7: note: no known conversion for argument 1 from 'HardwareSerial*' to 'const GsmAsync&'
C:\Users\hsntu\Documents\Arduino\libraries\GsmAsync-master\src/GsmAsync.h:43:7: note: candidate: constexpr GsmAsync::GsmAsync(GsmAsync&&)
C:\Users\hsntu\Documents\Arduino\libraries\GsmAsync-master\src/GsmAsync.h:43:7: note: no known conversion for argument 1 from 'HardwareSerial*' to 'GsmAsync&&'
exit status 1
no matching function for call to 'GsmAsync::GsmAsync(HardwareSerial*&)'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered: