Forráskód Böngészése

document default web password

Andrew Tridgell 3 éve
szülő
commit
d67af773f0
2 módosított fájl, 5 hozzáadás és 2 törlés
  1. 3 0
      README.md
  2. 2 2
      RemoteIDModule/parameters.h

+ 3 - 0
README.md

@@ -118,6 +118,9 @@ WIFI_SSID and password from WIFI_PASSWORD which you can set with
 DroneCAN parameter tools such as the DroneCAN GUI tool or
 DroneCAN parameter tools such as the DroneCAN GUI tool or
 MissionPlanner CAN tool.
 MissionPlanner CAN tool.
 
 
+The default SSID is RID_xxxxxxxx where xxxxxxxx is the factory WiFi
+MAC address of the board. The default password is ArduRemoteID.
+
 The web server has a secure firmware update mechanism which will only
 The web server has a secure firmware update mechanism which will only
 allow a properly signed firmware with a signature corresponding to one
 allow a properly signed firmware with a signature corresponding to one
 of the 5 public keys in the parameters. If no public keys are set then
 of the 5 public keys in the parameters. If no public keys are set then

+ 2 - 2
RemoteIDModule/parameters.h

@@ -27,8 +27,8 @@ public:
     float bt5_power;
     float bt5_power;
     uint8_t done_init;
     uint8_t done_init;
     uint8_t webserver_enable;
     uint8_t webserver_enable;
-    char wifi_ssid[21] = "RID_123456";
-    char wifi_password[21] = "penguin1234";
+    char wifi_ssid[21] = "";
+    char wifi_password[21] = "ArduRemoteID";
     struct {
     struct {
         char b64_key[64];
         char b64_key[64];
     } public_keys[MAX_PUBLIC_KEYS];
     } public_keys[MAX_PUBLIC_KEYS];