Commit Graph
19 Commits
Author SHA1 Message Date
Guillaume Meunier 043a673c59 Add a delay before allowing the next connection if the wrong PIN is entered 2024-12-02 17:54:47 +01:00
Patrick Nicolas 954b5a7038 rename enroll -> pair 2024-11-26 23:59:35 +01:00
Guillaume Meunier 59192bac6c Only allow pairing a headset if no headset is known or if it is explicitly asked for 2024-11-26 23:59:35 +01:00
Guillaume Meunier 2778f7dd7e Allow disabling encryption on the server command line 2024-11-26 23:59:35 +01:00
Guillaume Meunier c6e773fd22 Add support for authentication and encryption 2024-11-26 23:59:35 +01:00
Patrick Nicolas efe19824c5 Shutdown sockets on connection close 2024-11-14 18:18:59 +01:00
Patrick Nicolas 20f0137380 Cleanup some includes 2024-10-03 23:39:32 +02:00
Patrick Nicolas 28284a9694 wivrn namespace: move all server classes 2024-10-03 23:39:32 +02:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
Guillaume Meunier d0850e819c Add dbus server 2024-09-27 19:25:57 +02:00
Patrick Nicolas ca1f478299 Receive larger buffers for TCP socket 2024-08-31 14:34:36 +02:00
Patrick Nicolas 1266a46947 Deactivate connection on socket error 2024-06-03 20:59:06 +02:00
Patrick Nicolas 3a5404d191 Reconnection support 2024-06-03 20:59:03 +02:00
Patrick Nicolas 111afd4737 Allow operations using only TCP 2024-05-16 15:19:56 +02:00
Patrick Nicolas 94e60d4e8b Use same packet definitions for both sockets 2023-12-16 14:16:47 +01:00
Patrick Nicolas 8b0895913b Reduce some copies in serialization
Also update a bunch of stuff
2023-11-22 00:00:55 +01:00
Patrick Nicolas 38fcf7dc00 Rework stream socket
Stream socket on server now uses the same port as the control socket.
Client does not assign a port to its stream socket, instead it sends a
handshake packet at the beginning, the server reads the remote port from
it.
2023-11-08 19:15:59 +01:00
Guillaume Meunier 4baf2b17eb move stuff in common, clang-format, update copyright 2022-11-13 11:00:04 +01:00
Guillaume Meunier 294c4f81ba Add server source, originally in monado 2022-11-12 23:59:28 +01:00