That would somehow be tricky since remote requires an active connection which was not present at that time, as I understood.
Howeverthere already is a solution available: Watchdog.
It's not remotely triggerable, but is a means for a devices to monitor itself via inbuilt hardware.
You might like to have a look at this implementation of @rickkas7
BTW, in addition to @bko's possible ways to impact cell reconnection in your own code, there are also some less "esoteric" ways. When using SYSTEM_MODE(SEMI_AUTOMATIC)
or SYSTEM_MODE()
manual a lot of the Cellular.xxxx()
and Particle.xxxx()
functions can interfere when used "wrong".