Servers by jDrones

GeoFence - setting FENCE_ENABLE or sending MAV_CMD_DO_FENCE_ENABLE

Is there a difference between sending a MAVLink command vs setting value 1 in the FENCE_ENABLE parameter?

Should be no difference

Thanks @amilcarlucas, it seems that sending this command does not set the FENCE_ENABLE parameter, however it seems working - restrict drone from flying beyond fence, and triggers fail safe for enabling the fence if drone is outside (breach).
How can I tell the current fence state without the parameter ?

Servers by jDrones