Commit Graph

956 Commits

Author SHA1 Message Date
cf06c0fa9a the RDM section of the spec describes two gateway types 2023-05-20 13:27:20 -04:00
9e36ab422c additional device type described in the spec 2023-05-20 13:26:32 -04:00
796ef5f8ca provide OpCode in the Packet constructor 2023-05-20 13:24:14 -04:00
9a0fd158d6 never read into the net number in ways that could cause an invalid value 2023-05-20 13:20:33 -04:00
88c9cfa7c9 POD structure for PortAddress 2023-05-20 13:19:17 -04:00
9c1b14ac3e decoder for some acronyms 2023-05-20 07:20:50 -04:00
a41d8bfc87 enforce base classes on header and data segments 2023-05-18 15:51:13 -04:00
bf5f9812aa remove duplicate check for preexisting data segment 2023-05-18 15:50:39 -04:00
455ce23681 whitespace cleanup 2023-05-18 15:50:13 -04:00
de346b15b4 shared pointer aliases require correct base class types 2023-05-18 15:39:26 -04:00
74815726bf only PDU derived classes are elegible to be Messages 2023-05-18 15:38:43 -04:00
f01b3c8a56 be explicit when using shared pointers 2023-05-18 15:37:27 -04:00
c4ab516efe set badbit if stream is corrupt 2023-05-18 14:45:38 -04:00
8dc6c36e36 use auto to prevent length truncation/rollover 2023-05-18 14:45:10 -04:00
41c89e06e0 initialize at allocation 2023-05-18 14:44:31 -04:00
f7a79c5a40 omit length bytes from flag data 2023-05-18 14:44:06 -04:00
7315070462 pdu block members are owned by the block and do not require separate memory management. 2023-05-18 14:43:35 -04:00
0c442b74a2 whitespace cleanup 2023-05-18 14:42:06 -04:00
4a067ad66b evaluate unsigned integer as a bool 2023-05-18 14:39:05 -04:00
13981ff727 consider native byte order when interpreting data 2023-05-18 14:38:32 -04:00
14e4bdc5b5 immitate the C++20 byteorder enum 2023-05-18 14:37:50 -04:00
17f9ee21d6 use size type for size attributes 2023-05-18 14:36:14 -04:00
45c2e5c116 convenient streaming of null-terminated strings 2023-05-18 14:33:40 -04:00
c0e7464919 remove unused alias, which just masked what was actually happening 2023-05-18 14:33:04 -04:00
999026abb7 whitespace cleanup 2023-05-18 14:32:33 -04:00
bd15cbd5aa reorder header 2023-05-16 10:28:14 -04:00
7029286883 tolerate addresses that don't begin with a '/' 2023-05-16 10:27:56 -04:00
d5bd61c35b introspection is public 2023-05-16 10:15:08 -04:00
79e9e2f360 rearrange header 2023-05-16 10:09:14 -04:00
7e679f3016 decouple address matching from message dispatching 2023-05-16 09:52:18 -04:00
0398b63907 capture less when scheduling bundles 2023-05-16 09:50:14 -04:00
39bba1f5b0 local include with quotes 2023-05-16 09:49:26 -04:00
1d2a3b7941 add loopback test for OSC #bundle 2023-05-16 08:44:10 -04:00
4fa70b4ff2 tests cleanup 2023-05-16 08:43:43 -04:00
16f3c66562 whitespace cleanup 2023-05-15 11:42:17 -04:00
ba2927e6ee sending methods are constant 2023-05-15 11:40:43 -04:00
654dfed224 always offer parameter descriptions 2023-05-15 11:39:24 -04:00
7e4734f56a checksums are simply additive 2023-05-15 11:38:05 -04:00
258910efe1 loopback test for Tx->Rx 2023-05-15 11:29:22 -04:00
216a08f100 sender for bundles 2023-05-15 11:28:53 -04:00
fdf801c962 use callbacks to send the byte stream 2023-05-15 11:28:39 -04:00
0bd30d1151 the received packet may be a message or a bundle 2023-05-15 11:24:19 -04:00
31ec3ade78 add documentation for the spec 1.0 stream format 2023-05-15 11:23:49 -04:00
bf61bd9c3e recieve methods are public 2023-05-15 11:22:33 -04:00
ac1c5d64d7 remove duplicate allocation 2023-05-15 11:21:49 -04:00
4fd1c4de29 introspection is protected 2023-05-15 11:21:08 -04:00
64901a27cb adding children doen't need to be virtual 2023-05-15 11:20:47 -04:00
f0d5556230 name match a const string 2023-05-15 11:20:16 -04:00
f72ca7e9f6 root dispatching doesn't pop the pattern list 2023-05-15 11:19:29 -04:00
6853a2af5c name matching is protected, and not virtual 2023-05-15 11:18:28 -04:00