Skip to content

Commit

Permalink
detect wireless settings
Browse files Browse the repository at this point in the history
  • Loading branch information
silverchris committed Nov 7, 2020
1 parent a85a7c8 commit 6a91cc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mazda/wireless/wireless.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ void handleWifiInfoRequest(int fd, uint8_t *buffer, uint16_t length) {
void handleWifiSecurityRequest(int fd, uint8_t *buffer, uint16_t length) {
HU::WifiSecurityReponse response;

response.set_ssid(hostapd_config("MazdaCMU").c_str());
response.set_ssid(hostapd_config("ssid").c_str());
response.set_bssid(MAC_ADDRESS.c_str());
response.set_key(hostapd_config("password").c_str());
response.set_key(hostapd_config("wpa_passphrase").c_str());
response.set_security_mode(HU::WifiSecurityReponse_SecurityMode_WPA2_PERSONAL);
response.set_access_point_type(HU::WifiSecurityReponse_AccessPointType_DYNAMIC);

Expand Down

0 comments on commit 6a91cc4

Please sign in to comment.