From fcf9a68c0f665a4eb955656888d0f1e42451c4f9 Mon Sep 17 00:00:00 2001 From: Bertrand Lemasle Date: Mon, 6 Aug 2018 20:18:19 +1200 Subject: [PATCH] Disable SIM808 phone functionality when powering on the gps only --- Hardware.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Hardware.cpp b/Hardware.cpp index cfd399c..e257c22 100644 --- a/Hardware.cpp +++ b/Hardware.cpp @@ -63,6 +63,8 @@ namespace hardware { VEBOSE("gpsPowerOn"); powerOn(); + //SIM808 turns phone on by default but we don't need it + if(!networkPoweredCount) device.setPhoneFunctionality(SIM808_PHONE_FUNCTIONALITY::MINIMUM); device.enableGps(); }