Closed flybyray closed 3 years ago
Checked the DWM222 Modem manually
AT+CMGF?
and found that it was in PDU mode. I used smstools before.
I think the current implementation of ATLib is using Text mode.
After switching to Text Mode via minicom. I could send SMS.
Hi
Thank you for reporting this, I appreciate feedback that can make this library better! I'll look into it and see what I can do. You shouldn't need to use minicom, did you try SetSmsMessageFormatAsync(...) to set the mode?
sorry for not updating this issue. yes i already found that call and it worked. maybe just update the minimal example from README.md. I started with that but the modem was in PDU mode from previous usage.
Thanks, I've updated it now :)
https://github.com/hbjorgo/ATLib/blob/a71502cc1f73644bc9648dd466ae637f1420cf73/src/HeboTech.ATLib/Modems/Generic/ModemBase.cs#L141