refactor hmd_traits into separate file, make class in application, and remove hardware.h/cpp
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "wivrn_client.h"
|
||||
#include "hardware.h"
|
||||
#include "application.h"
|
||||
#include "protocol_version.h"
|
||||
#include "secrets.h"
|
||||
#include "smp.h"
|
||||
@@ -102,7 +102,7 @@ void wivrn_session::handshake(T address, bool tcp_only, crypto::key & headset_ke
|
||||
send_control(from_headset::crypto_handshake{
|
||||
.protocol_version = wivrn::protocol_version,
|
||||
.public_key = headset_keypair.public_key(),
|
||||
.name = model_name(),
|
||||
.name = application::get_hmd_traits().model_name(),
|
||||
});
|
||||
|
||||
to_headset::crypto_handshake crypto_handshake = std::get<to_headset::crypto_handshake>(receive(10s));
|
||||
|
||||
Reference in New Issue
Block a user