Commit Graph

59 Commits (446fb8e10bb4ff2b0a3b77e8422fd15aad9ebb04)

Author SHA1 Message Date
Grzegorz Rychlik 446fb8e10b Change project configs 2020-01-03 12:02:54 +01:00
Pawel Kurowski 61ce149258 Update GetTargetDll to search for payload 2020-01-03 11:16:13 +01:00
Pawel Kurowski 0c42bdcc8b Add resource generator that will embed NodeRelayDll 2020-01-03 10:16:00 +01:00
Grzegorz Rychlik c6e8a764d2 WIP: Upload in-memory Loader 2020-01-02 13:44:51 +01:00
Grzegorz Rychlik f927eb8d22 Merge branch 'ReduceIO' into 'master'
Send the snapshot over ApiBridge only if it changed

See merge request C3/C3!144
2019-11-29 15:18:17 +00:00
Grzegorz Rychlik 55fed26099 Merge branch 'RemoveActions' into 'master'
Remove actions

See merge request C3/C3!145
2019-11-29 15:17:02 +00:00
Grzegorz Rychlik 855b47a48a Change SnapshotProxy API 2019-11-25 13:29:20 +01:00
Grzegorz Rychlik 89aa4dde63 Move implementation to .cpp 2019-11-25 12:27:30 +01:00
Grzegorz Rychlik 205b4e785f Remove unsused Actions definition 2019-11-15 15:47:24 +01:00
Grzegorz Rychlik 944de76fd0 Remove Actions queue
Actions queue was write-only, effectively leaking memory
2019-11-15 15:38:18 +01:00
Grzegorz Rychlik 686bbdeb9c Send the snapshot over ApiBridge only if it changed 2019-11-14 17:50:18 +01:00
Grzegorz Rychlik 08c3087aa7 Merge branch 'Decouple' into 'master'
Decouple

See merge request C3/C3!141
2019-10-31 15:53:29 +00:00
Grzegorz Rychlik 9847f5563a Move Commands enum out of Relay
Commands are also used in Devices
2019-10-31 15:10:56 +01:00
Grzegorz Rychlik a05a737f8c Decouple Device and AbstractConnector rom Relay and GateRelay 2019-10-31 14:30:20 +01:00
Janusz Szmigielski c921db8165 Merge branch 'AsyncApiBridge' into 'master'
Handle API bridge received messages asynchronously

See merge request C3/C3!139
2019-10-10 14:29:17 +01:00
Grzegorz Rychlik 21f609a0ec Handle API bridge received messages asynchronously 2019-10-10 14:00:41 +02:00
Pawel Kurowski 6326f81444 InterfaceFactory::GetInterfaceData 2019-09-23 12:02:02 +02:00
Pawel Kurowski 864c4ed858 Merge remote-tracking branch 'origin/BeaconCleanup' 2019-09-23 09:59:07 +02:00
Pawel Kurowski 0955650262 Simplify Usage Of ByteVector With Custom Types 2019-09-19 18:13:34 +02:00
Pawel Kurowski 3f238b349f Specialize ByteConverter for Identifiers and RouteId 2019-09-19 14:17:49 +02:00
Pawel Kurowski ec1d1a55b5 Add ByteVector::reed proxy to ByteView::Read 2019-09-19 11:57:22 +02:00
Pawel Kurowski 5201a2391d Specialize ByteConverter template to support read/write of custom type with ByteVector/ByteView 2019-09-19 11:24:44 +02:00
Grzegorz Rychlik 03a37a71a7 Free the Beacon stager memory 2019-09-13 15:56:04 +02:00
Pawel Kurowski a44f9ba632 Merge branch 'RenameFrequencyToDelay' into 'master'
Replace UpdateFrequency with UpdateDelay

See merge request C3/C3!134
2019-09-13 13:30:55 +01:00
Pawel Kurowski f536b7a027 Merge branch 'CloseConnection' into 'master'
Close connection when peripheral is closed. Resolve access violation after...

See merge request C3/C3!132
2019-09-13 13:30:31 +01:00
Pawel Kurowski 53d893dd9b Merge branch 'PerformanceUpgrades' into 'master'
Performance upgrades

See merge request C3/C3!133
2019-09-13 13:29:31 +01:00
Pawel Kurowski c1450c37d5 Merge branch 'ZeroMemoryByteVector' into 'PerformanceUpgrades'
Zero memory byte vector

See merge request C3/C3!136
2019-09-13 13:29:11 +01:00
Grzegorz Rychlik ca171709e5 Terminate Beacon thread
Warning: Beacause Beacon's `exit` command closes the process, this uses
TerminateThread function. This may lead to serious and unpredictable
issues.
2019-09-13 13:48:43 +02:00
Pawel Kurowski a2f9047aef Increase OpSec by clearing memory when ByteVector is not needed anymore. 2019-09-13 11:31:12 +02:00
Pawel Kurowski f84c7501b2 Fix documentation for CloseConnection 2019-09-12 17:32:25 +02:00
Pawel Kurowski f5145a096d Replace UpdateFrequency with UpdateDelay 2019-09-12 17:18:43 +02:00
Pawel Kurowski 40a2dea268 Fix UpdateDelay on gateway devices 2019-09-12 17:07:37 +02:00
Pawel Kurowski 66f24a2212 Add CloseConnection to Connectors and ConnectorBridges 2019-09-12 15:28:44 +02:00
Pawel Kurowski 89ffafa210 Merge branch 'master' into PerformanceUpgrades 2019-09-12 14:31:13 +02:00
Pawel Kurowski 01ddcef28f Merge branch 'MultiPacketReceive' into BetterByteVector 2019-09-12 13:52:39 +02:00
Pawel Kurowski ffe0d66fcd Allow retriving N bytes of data without coping using variadic ByteView::Read 2019-09-12 13:37:52 +02:00
Pawel Kurowski 17d2604c26 Add ByteView::Read for non owning containers 2019-09-11 18:13:42 +02:00
Pawel Kurowski a238e59291 Add std::hash for ByteVector and ByteView 2019-09-11 17:27:05 +02:00
Pawel Kurowski eabd5725c9 Calculate and reserve size for storing data in Byte Vector to avoid relocations 2019-09-11 16:37:24 +02:00
Pawel Kurowski 1daca2514d Avoid coping data arguments when storing them in ByteVector 2019-09-11 13:37:54 +02:00
Pawel Kurowski 864a913081 Close connection when peripheral is closed. Resolve access violation after race condition in Connectors 2019-09-11 11:35:52 +02:00
Grzegorz Rychlik 70b4d6c17a Merge branch 'DefaultCreateCommand' into 'master'
Default create command

See merge request C3/C3!129
2019-09-10 15:09:56 +01:00
Pawel Kurowski b4cd108f03 Allow multiple packets to be received from channel 2019-09-09 17:02:14 +02:00
Janusz 11b22130a3 Fix Interface's default "create" Command parameters. 2019-09-09 14:31:14 +02:00
Pawel Kurowski 408ee1da67 Add ByteVector::Create 2019-09-09 10:17:32 +02:00
Pawel Kurowski e58e609471 Make ByteVector Concat work with all types compatible with ByteVector::Write, and add variadic usage 2019-09-09 10:17:31 +02:00
Janusz 1fc5064956 Fix Command name "UpdateDelayJitter" -> "Set UpdateDelayJitter" 2019-09-06 16:47:52 +02:00
Janusz 6f94296866 Put Channel<> and rest of CRTPs to Interfaces namespace. 2019-09-06 16:47:52 +02:00
Grzegorz Rychlik 26be33078f Change file permissions in UncShareFile channel 2019-09-06 15:21:00 +02:00
ja256 d52549ecfb
Update CONTRIBUTING.md 2019-09-03 13:39:14 +02:00