Arming/Disarming Using PixHawk GPS

Good morning ,
I’m currently having a certain problem with the Rddrone fmuk66 ( similar to PX4) .
In QgroundControl it is well possible for me to launch a C++ program to my rover and disarm throught the QGroundControl interface .
I was wondering if the Disarming of the Rover could be made by using the switch of the PixHawk GPS which is linked to the board ? if yes how ?
Thank you.