I just started using this library, I converted a .NET Framework 4.8 app I had from that used GsmComm. I'm loving it so far. I did have one problem: after I created a modem, disposing it would hang the task unless I ran serialPort.DiscardInBuffer(); first. I wrote a class around the modem so it would run this everytime, but it feels like something AtLib could handle itself:
public async Task CloseAsync()
{
if (_serialPort?.IsOpen == true)
{
_serialPort.DiscardInBuffer();
}
_modem?.Dispose();
}