Bläddra i källkod

Reverted back to http instead of https. Https seems to be unstable and unreliable for now.

tags/v1.2.2
Bertrand Lemasle 6 år sedan
förälder
incheckning
401d5e26d9
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      src/config/BackupNetwork.h

+ 1
- 1
src/config/BackupNetwork.h Visa fil

@@ -6,7 +6,7 @@
#define POSITIONS_CONFIG_NET_DEFAULT_SAVE_THRESHOLD 30 ///< Determines how many positions will be saved before a network backup is needed (only when not moving though).
#define POSITIONS_CONFIG_NET_DEFAULT_APN "Vodafone" ///< APN used for GPRS context
#define POSITIONS_CONFIG_NET_DEFAULT_URL "https://yourserver.com/endpoint" ///< URL to which positions data will be send through an HTTP POST request
#define POSITIONS_CONFIG_NET_DEFAULT_URL "http://yourserver.com/endpoint" ///< URL to which positions data will be send through an HTTP POST request
#define POSITIONS_CONFIG_NET_DEFAULT_EXPECTED_RESPONSE 201 ///< Expected response code from the server that indicates that the positions has been successfully backuped.
/**
\def POSITIONS_CONFIG_NET_DEFAULT_UNAVAILABLE_NETWORK_POSTPONE_THRESHOLD


Laddar…
Avbryt
Spara