Template: 5G HAT Power and Reset control On Raspberry Pi
From Waveshare Wiki
Troubleshooting
Check if the module detects SIM:
AT+CPIN? # Should return READY
Check if the module is registered to the network:
AT+CEREG? # Should return 0,1 or 0,5
Check if the APN is correct and has an IP: AT+CGCONTRDP?
AT+CGCONTRDP # Should return APN details and IP address.