Patrick Nicolas
4879d2ce67
Fix serialized_size for std::variant
2025-02-08 10:24:15 +01:00
Guillaume Meunier
fe10178add
Check the PIN when pairing
2024-12-01 17:25:28 +01:00
Guillaume Meunier
c6e773fd22
Add support for authentication and encryption
2024-11-26 23:59:35 +01:00
Guillaume Meunier
c5db0258be
Add protocol revision number in protocol hash
2024-11-10 21:17:08 +01:00
Patrick Nicolas
fdb79b1939
Drop xrt::drivers namespace
2024-10-03 23:39:32 +02:00
Patrick Nicolas
6946d5144a
Add function to get serialized size
2024-10-03 21:52:36 +02:00
Patrick Nicolas
00a4562625
Pack UDP send in tracking thread
2024-10-02 18:39:40 +02:00
Patrick Nicolas
824e8d464d
Serialize structures in chunks when possible
...
When a structure has consecutive trivially serializable packed fields,
group them together in a single write call. This effectively splits
structures with a mix of trivial and non trivial fields into chunks.
Also splits when there is padding.
2024-09-24 15:57:49 +02:00
Patrick Nicolas
e3c7338c35
Remove some copies in serialization
2024-09-24 15:57:49 +02:00
Patrick Nicolas
5a394da2cd
Remove read_index in deserialization packet
2024-08-31 14:34:36 +02:00
Patrick Nicolas
0aa5284165
Replace std::vector with shared_ptr in deserialization
2024-08-31 14:34:36 +02:00
Patrick Nicolas
b253ce0485
Replace resize + memcpy by insert in serialization
2024-08-18 14:00:29 +02:00
Patrick Nicolas
895b546d25
Optimize trivially serializable structs/arrays
2024-08-18 14:00:29 +02:00
Patrick Nicolas
8cffc4d3cb
Avoid allocations during serialization
2024-08-18 09:59:38 +02:00
Patrick Nicolas
7aa85dfa64
Reuse buffers to send network data
2024-04-02 10:45:42 +02:00
Patrick Nicolas
82ca58cbea
Drop std::pair support in serialization
2024-03-05 09:23:27 +01:00
Guillaume Meunier
1ec1f23862
Serialize string length on 16 bits
2024-03-05 09:23:27 +01:00
Guillaume Meunier
3076e61f49
Added serialization of std::pair
2023-12-16 14:16:47 +01:00
Guillaume Meunier
7f08d096aa
Move serialization hash unit tests in a separate file
2023-12-16 14:16:47 +01:00
Patrick Nicolas
e2868547e2
remove copies in audio thread
2023-11-22 00:00:55 +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
c799fa6aa4
Remove FEC code, reduce data copies
2023-11-22 00:00:55 +01:00
Guillaume Meunier
6dce276889
clang-format
2022-11-28 22:35:10 +01:00
Patrick Nicolas
c97512d912
specialize serialization of vector<uint8_t>
2022-11-27 10:18:28 +01:00
Patrick Nicolas
539466e664
specialize serialization for video data
2022-11-26 23:03:15 +01:00
Guillaume Meunier
4baf2b17eb
move stuff in common, clang-format, update copyright
2022-11-13 11:00:04 +01:00