Commit Graph

100 Commits

Author SHA1 Message Date
Lars Toenning
23e2dc9057 feat: Add ICAOEQ capability to FSD client 2024-01-23 20:25:30 +01:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Mat Sutcliffe
dfc288bfd7 Refactor rehosting logic in FSD client 2023-03-12 19:00:02 +00:00
Lars Toenning
acf8df95a6 Adjust rehosting with automatic server 2023-03-01 20:45:22 +01:00
Lars Toenning
a62da56d5f Use HTTP to get VATSIM IP in automatic mode 2023-02-28 08:29:58 +01:00
Lars Toenning
cc6f0d151d Round to 8.33 kHz channel when receiving text messages
Related to #186
2023-02-10 19:08:49 +01:00
Lars Toenning
8747b91ea6 Remove unused ChannelSpacing parameter 2023-02-10 19:08:49 +01:00
Mat Sutcliffe
5818a44d96 Issue #128 Adjust text message frequency to nearest frequency in use 2022-05-25 19:47:35 +01:00
Mat Sutcliffe
59a27a0d72 Send slowfast before ordinary position update
This solves a server-side performance issue.
2022-05-25 19:47:33 +01:00
Mat Sutcliffe
d2fadccf4e [FSD] Add rehost packet ($XX) for VATSIM 2022-02-20 14:33:08 +00:00
Mat Sutcliffe
5106859ed9 [FSD] Refactor m_socket member 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
f945f296c8 [FSD] Add slowfast and stopped packets for Velocity 2022-02-20 14:33:07 +00:00
Lars Toenning
bc660e5f81 Extract method to convert between FlightRules and FlightType 2022-02-13 16:58:20 +01:00
oktal3700
dfeb281368 [FSD] Send incremental parts packets to pilots only
I was just told by Mike and Ross that ACC packets should be sent to 94836 (pilot clients) not 94835 (all clients).
2022-02-01 18:19:25 +00:00
Roland Rossgotterer
1c23dfc0ab Delete network reply at the very end 2022-02-01 14:01:21 +01:00
Mat Sutcliffe
4b00c0e3bf Bump Vatsim protocol version number 2022-01-29 16:07:54 +00:00
Mat Sutcliffe
a4448dddc6 Issue #94 Implement $SF packet to toggle visual pilot data sending
Still send a visual pilot data update at the slow rate of
every 5 seconds when visual pilot data update is disabled.
2022-01-29 14:44:46 +00:00
Mat Sutcliffe
872f546881 [FSD] Vatsim auth token webservice to avoid sending password as plaintext 2022-01-29 14:41:12 +00:00
Mat Sutcliffe
efb6a3211d Interpolate the dynamic offset time for aircraft situations 2022-01-29 14:40:55 +00:00
Mat Sutcliffe
6d66066d6a Add height AGL and nose gear angle in VisualPilotDataUpdate 2022-01-29 14:40:55 +00:00
Mat Sutcliffe
242a10c9d6 Issue #94 Add new FSD packet type VisualPilotDataUpdate 2022-01-29 14:40:54 +00:00
Mat Sutcliffe
a583ac056c Issue #94 Add server capability flag for VISUPDATE 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
8dc206d62b Issue #93 Reduce update offset for 5 Hz updates and rename member 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
a592bb2bbe Include style 2021-09-18 15:07:49 +01:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
eb6b0ff289 Fix clang-tidy and clazy warnings 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
cfb51f3a3f Issue #113 Add SIMDATA packet logic in CFSDClient 2021-08-10 16:07:35 +01:00
Mat Sutcliffe
33209fa1eb Use std::as_const (C++17 feature) 2021-07-13 17:56:31 +01:00
Mat Sutcliffe
22301c1a1f Use structured bindings (C++17 feature) 2021-07-13 17:56:29 +01:00
Mat Sutcliffe
7955d0a06e Remove workarounds for fixed bugs 2021-07-13 17:56:23 +01:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Roland Rossgotterer
7a76c6cade [FSD] Normalize heading to 360 deg before sending 2020-09-16 23:00:07 +01:00
Mat Sutcliffe
5f18d87e0b Issue #77 Break dependency of loghandler and tokenbucket on time and units 2020-08-29 14:16:20 +01:00
Mat Sutcliffe
8e065a8fef Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
802576eda9 Issue #77 Rename 2020-08-29 14:16:11 +01:00
Mat Sutcliffe
92edbb90c2 Issue #77 Refactor to inline functions 2020-08-29 14:16:10 +01:00
Lars Toenning
f987b81e6d Add feedback when .wallop message is sent
This does the following:
- Opens a message-tab called "SUP" when a .wallop message is sent.
- Throws a validation error if another message is directly send into this "SUP" channel as another .wallop should be used.
2020-07-26 19:46:06 +02:00
tzobler
66a1a87805 protocol type -MD added 2020-06-12 19:07:57 +01:00
Klaus Basan
991ba5ede8 [FSD] Style and comments 2020-06-12 18:42:56 +01:00
Roland Rossgotterer
9fa3221abc Replace deprecated endl with Qt::endl 2020-06-12 18:42:54 +01:00
Klaus Basan
15b3ac2daa [FSD] Also log/display socker error string 2020-06-12 18:42:52 +01:00
Klaus Basan
388138203e [FSD] Send correct pilot rating, use threadsafe getters in some places
The thread safety is still premature for the FSD client class.
However, most likely no critical as those values have to be preset and never change.
2020-06-12 18:42:49 +01:00
Klaus Basan
4d7468f913 [FSD] Check attributes of full JSON parts 2020-06-12 18:42:48 +01:00
Klaus Basan
afa5ba1fee [FS9] Doxygen, no need to make enum value const 2020-06-12 18:42:46 +01:00
Klaus Basan
92d53a4077 [FG] Do not send modelstring or a shorter livery string for FG
* FG does not support modelstrings for "flyable" planes
* remove unused setSimInfo functions, consolidated, cleanup
* simulator dependent "getSwiftLiveryString"
* encapsulated in getConfiguredLiveryString, getConfiguredModelString
* see https://discordapp.com/channels/539048679160676382/567091362030419981/698124094482415616
2020-06-12 18:42:45 +01:00
Klaus Basan
ce9b9e3e5b [FSD] Gradually increase number of read lines from FSD socket
* Avoid overflow by gradually reading more lines
* Also improved sending in the same way
2020-06-12 18:42:44 +01:00
Klaus Basan
f56adb7af4 [FSD] Ignore IVAO RegistrationInfo 2020-06-12 18:42:42 +01:00
Klaus Basan
077677134c [FSD] Clearer "too many lines" message 2020-06-12 18:42:40 +01:00
Klaus Basan
f6c5e6f3cb [FSD] Demote ASSERT to VERIFY 2020-06-12 18:42:31 +01:00