CLWiFi

TODO: Add description

Installation

If available in Hex, the package can be installed by adding cl_wifi to your list of dependencies in mix.exs:

First go here to figure out how to generate the deploy token

def deps do
  [{:cl_wifi, git: "https://github.com/connect-labs/cl_wifi.git", tag: "0.1.0"}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/cl_wifi.

Example Config

config :cl_wifi,
  start_path: "/",
  success_path: "/connected-successfully",
  failed_path: "/failed-to-connect",
  cloudtrax_secret: (System.get_env("CLOUDTRAX_SECRET") || "fargo"),
  cloudtrax_download: 5000,
  cloudtrax_upload: 3000,
  cloudtrax_session_time: 3600,
  location_server_api_token: (System.get_env("LOCATION_SERVER_API_TOKEN") || "ecfd2634-3b16-4dda-b757-bc00cf1423c5"),
  location_server_url: (System.get_env("LOCATION_SERVER_URL") || "http://localhost:8001/wifi/events"),
  store_server_api_token: (System.get_env("WIFI_STORE_SERVER_API_TOKEN") || "ecfd2634-3b16-4dda-b757-bc00cf1423c5"),
  store_server_url: (System.get_env("WIFI_STORE_SERVER_URL") || "http://localhost:8002"),
  event_module: Main.WiFiEvents