Skip to content

Commit

Permalink
Document wifi network struct for sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Nov 14, 2024
1 parent 36453d1 commit 806690f
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions src/network_interfaces/Wippersnapper_AIRLIFT.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ class Wippersnapper_AIRLIFT : public Wippersnapper {
_pass = WS._config.network.pass;
}

/**********************************************************/
/****************************************************************/
/*!
@brief a structure to hold network information
@brief a structure to hold network information for sorting
*/
/**********************************************************/
/****************************************************************/
struct WiFiNetwork {
char ssid[33]; // Maximum SSID length is 32 characters + null terminator
int rssi;
char ssid[33]; /*!< SSID (Max 32 characters + null terminator */
int rssi; /*!< Received Signal Strength Indicator */
};

/*******************************************************************/
Expand Down
10 changes: 5 additions & 5 deletions src/network_interfaces/Wippersnapper_ESP32.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ class Wippersnapper_ESP32 : public Wippersnapper {
_pass = WS._config.network.pass;
}

/**********************************************************/
/****************************************************************/
/*!
@brief a structure to hold network information
@brief a structure to hold network information for sorting
*/
/**********************************************************/
/****************************************************************/
struct WiFiNetwork {
char ssid[33]; // Maximum SSID length is 32 characters + null terminator
int rssi;
char ssid[33]; /*!< SSID (Max 32 characters + null terminator */
int rssi; /*!< Received Signal Strength Indicator */
};

/*******************************************************************/
Expand Down
10 changes: 5 additions & 5 deletions src/network_interfaces/Wippersnapper_ESP8266.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ class Wippersnapper_ESP8266 : public Wippersnapper {
_pass = WS._config.network.pass;
}

/**********************************************************/
/****************************************************************/
/*!
@brief a structure to hold network information
@brief a structure to hold network information for sorting
*/
/**********************************************************/
/****************************************************************/
struct WiFiNetwork {
char ssid[33]; // Maximum SSID length is 32 characters + null terminator
int rssi;
char ssid[33]; /*!< SSID (Max 32 characters + null terminator */
int rssi; /*!< Received Signal Strength Indicator */
};

/*******************************************************************/
Expand Down
10 changes: 5 additions & 5 deletions src/network_interfaces/Wippersnapper_WIFININA.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ class Wippersnapper_WIFININA : public Wippersnapper {
strlcpy(WS._config.network.pass, _pass, sizeof(WS._config.network.pass));
}

/**********************************************************/
/****************************************************************/
/*!
@brief a structure to hold network information
@brief a structure to hold network information for sorting
*/
/**********************************************************/
/****************************************************************/
struct WiFiNetwork {
char ssid[33]; // Maximum SSID length is 32 characters + null terminator
int rssi;
char ssid[33]; /*!< SSID (Max 32 characters + null terminator */
int rssi; /*!< Received Signal Strength Indicator */
};

/*******************************************************************/
Expand Down
10 changes: 5 additions & 5 deletions src/network_interfaces/ws_networking_pico.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ class ws_networking_pico : public Wippersnapper {
_pass = WS._config.network.pass;
}

/**********************************************************/
/****************************************************************/
/*!
@brief a structure to hold network information
@brief a structure to hold network information for sorting
*/
/**********************************************************/
/****************************************************************/
struct WiFiNetwork {
char ssid[33]; // Maximum SSID length is 32 characters + null terminator
int rssi;
char ssid[33]; /*!< SSID (Max 32 characters + null terminator */
int rssi; /*!< Received Signal Strength Indicator */
};

/*******************************************************************/
Expand Down

0 comments on commit 806690f

Please sign in to comment.