disconnection of the GSM/SMS network

Hello
I created a system with an arduino uno and gsm card ( Quectel M10 antennova developped with telefonica).
This system can send a SMS when a digital input state change and i can know his state if I ask it by SMS .

Sometimes, the system can't send SMS alarm and can't receipt SMS message. I must stop the power of cards for to reset the system.

Is it possible to know if there is a problem for to recept or to send SMS message?

Is there a fonction for to know if network for SMS is available ?

If it's not available, should I reset the system?

Thank you

If it's that unreliable, send an 'AT' to the shield first and wait for the 'OK'. If you don't receive it within a given time frame then assume the shield has locked and power cycle it?