Add network link to ue-server implementation #13

Open
dkanus wants to merge 23 commits from feature_link into master
Showing only changes of commit 202fa39a42 - Show all commits

View File

@ -10,12 +10,10 @@ const UE_RECEIVED_FIELD_SIZE: usize = 4;
// Defines how many bytes is used to encode "LENGTH" field, describing length of
dkanus marked this conversation as resolved Outdated

Wtf

Wtf
// next JSON message from ue-server
dkanus marked this conversation as resolved Outdated

Wtf

Wtf
const UE_LENGTH_FIELD_SIZE: usize = 4;
// Value indicating that next byte sequence from ue-server reports amount of bytes received by
// that server so far. Value itself is arbitrary.
// Arbitrary value indicating that next byte sequence from ue-server reports amount of bytes
// received by that server so far.
dkanus marked this conversation as resolved Outdated

Remove " Value itself is arbitrary", change to "Arbitrary value indicating that ..."?

Remove " Value itself is arbitrary", change to "Arbitrary value indicating that ..."?
const HEAD_UE_RECEIVED: u8 = 85;
dkanus marked this conversation as resolved Outdated

Weird empty line

Weird empty line
// Value indicating that next byte sequence from ue-server contains JSON message.
// Value itself is arbitrary.
// Arbitrary value indicating that next byte sequence from ue-server contains JSON message.
const HEAD_UE_MESSAGE: u8 = 42;
// Maximum allowed size of JSON message sent from ue-server.
const MAX_UE_MESSAGE_LENGTH: usize = 25 * 1024 * 1024;