1
0
Fork 0
Commit Graph

462 Commits

Author SHA1 Message Date
Kevin Matz 455ce23681 whitespace cleanup 2023-05-18 15:50:13 -04:00
Kevin Matz de346b15b4 shared pointer aliases require correct base class types 2023-05-18 15:39:26 -04:00
Kevin Matz 74815726bf only PDU derived classes are elegible to be Messages 2023-05-18 15:38:43 -04:00
Kevin Matz f01b3c8a56 be explicit when using shared pointers 2023-05-18 15:37:27 -04:00
Kevin Matz c4ab516efe set badbit if stream is corrupt 2023-05-18 14:45:38 -04:00
Kevin Matz 8dc6c36e36 use auto to prevent length truncation/rollover 2023-05-18 14:45:10 -04:00
Kevin Matz 41c89e06e0 initialize at allocation 2023-05-18 14:44:31 -04:00
Kevin Matz f7a79c5a40 omit length bytes from flag data 2023-05-18 14:44:06 -04:00
Kevin Matz 7315070462 pdu block members are owned by the block and do not require separate memory management. 2023-05-18 14:43:35 -04:00
Kevin Matz 0c442b74a2 whitespace cleanup 2023-05-18 14:42:06 -04:00
Kevin Matz 4a067ad66b evaluate unsigned integer as a bool 2023-05-18 14:39:05 -04:00
Kevin Matz bd15cbd5aa reorder header 2023-05-16 10:28:14 -04:00
Kevin Matz 7029286883 tolerate addresses that don't begin with a '/' 2023-05-16 10:27:56 -04:00
Kevin Matz d5bd61c35b introspection is public 2023-05-16 10:15:08 -04:00
Kevin Matz 79e9e2f360 rearrange header 2023-05-16 10:09:14 -04:00
Kevin Matz 7e679f3016 decouple address matching from message dispatching 2023-05-16 09:52:18 -04:00
Kevin Matz 0398b63907 capture less when scheduling bundles 2023-05-16 09:50:14 -04:00
Kevin Matz 39bba1f5b0 local include with quotes 2023-05-16 09:49:26 -04:00
Kevin Matz 16f3c66562 whitespace cleanup 2023-05-15 11:42:17 -04:00
Kevin Matz ba2927e6ee sending methods are constant 2023-05-15 11:40:43 -04:00
Kevin Matz 654dfed224 always offer parameter descriptions 2023-05-15 11:39:24 -04:00
Kevin Matz 7e4734f56a checksums are simply additive 2023-05-15 11:38:05 -04:00
Kevin Matz 216a08f100 sender for bundles 2023-05-15 11:28:53 -04:00
Kevin Matz fdf801c962 use callbacks to send the byte stream 2023-05-15 11:28:39 -04:00
Kevin Matz 0bd30d1151 the received packet may be a message or a bundle 2023-05-15 11:24:19 -04:00
Kevin Matz 31ec3ade78 add documentation for the spec 1.0 stream format 2023-05-15 11:23:49 -04:00
Kevin Matz bf61bd9c3e recieve methods are public 2023-05-15 11:22:33 -04:00
Kevin Matz ac1c5d64d7 remove duplicate allocation 2023-05-15 11:21:49 -04:00
Kevin Matz 4fd1c4de29 introspection is protected 2023-05-15 11:21:08 -04:00
Kevin Matz 64901a27cb adding children doen't need to be virtual 2023-05-15 11:20:47 -04:00
Kevin Matz f0d5556230 name match a const string 2023-05-15 11:20:16 -04:00
Kevin Matz f72ca7e9f6 root dispatching doesn't pop the pattern list 2023-05-15 11:19:29 -04:00
Kevin Matz 6853a2af5c name matching is protected, and not virtual 2023-05-15 11:18:28 -04:00
Kevin Matz 0c22c70b38 check if method is root 2023-05-15 11:12:45 -04:00
Kevin Matz 767c0a9e34 remove unnecessary headers 2023-05-15 10:55:39 -04:00
Kevin Matz fe4d94628c use message string i/o 2023-05-15 10:55:24 -04:00
Kevin Matz 5b65fd8187 corrected initializer for blob data 2023-05-15 10:54:19 -04:00
Kevin Matz 6022d4bbc6 consistant patterns for byte alignment 2023-05-15 10:52:54 -04:00
Kevin Matz 745222cbf9 be wrong instead of throwing exemptions 2023-05-15 10:50:59 -04:00
Kevin Matz 706fe5a3f9 corrected sub-string indexing for nested arrays 2023-05-13 11:36:45 -04:00
Kevin Matz 81746d635e convenience functions for adding arguments by value 2023-05-13 11:34:50 -04:00
Kevin Matz 63df16831e use raw character data for regex definition 2023-05-13 11:33:45 -04:00
Kevin Matz 983ae8a412 destructor, for vtable 2023-05-13 11:33:15 -04:00
Kevin Matz 49a446c5aa optional method naming in constructor 2023-05-13 11:32:58 -04:00
Kevin Matz e1faba699e optional argument value setting in constructor 2023-05-13 11:32:35 -04:00
Kevin Matz 28c7bba442 optimize out unnecessary allocation 2023-05-13 11:31:01 -04:00
Kevin Matz 4cc4d16fba unify string padding 2023-05-13 11:29:38 -04:00
Kevin Matz 310eae05ec don't hard code constants 2023-05-13 11:25:32 -04:00
Kevin Matz 4f76a2f96c add code path for (eventually) receiving discovery messages 2023-05-03 16:10:52 -04:00
Kevin Matz 3745f44a5f remove hard-coded constants 2023-05-03 16:02:21 -04:00
Kevin Matz f4c91891e0 more nuanced failure mode tracking 2023-05-03 16:02:06 -04:00
Kevin Matz 3882af3659 corrected checksum element ordering 2023-05-03 15:59:14 -04:00
Kevin Matz 6c7d62ca6b arbitrary data checksumming 2023-05-03 15:57:37 -04:00
Kevin Matz c0074e62b7 documentation updates 2023-05-03 15:56:48 -04:00
Kevin Matz 41b51f7aa9 unit lookup helpers 2023-05-02 13:01:33 -04:00
Kevin Matz e1f0836a55 additional documentation 2023-05-02 13:00:57 -04:00
Kevin Matz 9985f21cb2 split device types 2023-05-02 13:00:41 -04:00
Kevin Matz 887ce0f5a4 comprehensive parameter descriptions 2023-05-02 12:59:26 -04:00
Kevin Matz 91fa0c71e4 structure for parameter metadata 2023-05-02 12:50:06 -04:00
Kevin Matz ec98049b39 bibs for RDM additional message sets 2023-05-02 12:43:47 -04:00
Kevin Matz a1b08fd22d publicly accessible UID 2023-04-28 21:02:35 -04:00
Kevin Matz 9b27820873 RDM API cleanup 2023-04-28 20:46:13 -04:00
Kevin Matz 29173eacf2 use the BCD serial number for the RDM device id 2023-04-28 20:19:15 -04:00
Kevin Matz ab17dc05ba template the BCD converters 2023-04-28 20:16:41 -04:00
Kevin Matz 35dc0f30d2 configure RDM device info 2023-04-27 09:26:05 -04:00
Kevin Matz 73615db6c4 additional device info details 2023-04-27 09:25:07 -04:00
Kevin Matz 7fffc6d0dd formatting cleanup 2023-04-27 09:23:56 -04:00
Kevin Matz 08ca66fcb3 only claim the manufacturer ID if there isn't one 2023-04-27 09:20:41 -04:00
Kevin Matz 176ddf1df6 refactor check-summing to be pointers and referances 2023-04-27 09:10:15 -04:00
Kevin Matz d80e4c6559 group template functions for readability 2023-04-27 09:09:01 -04:00
Kevin Matz 5455d805d5 remove ineffective optimization 2023-04-27 09:05:09 -04:00
Kevin Matz bc36227387 cast to a pointer of the referance, not the value 2023-04-26 14:34:45 -04:00
Kevin Matz fc48300964 connect RDM responder I/O 2023-04-26 10:05:16 -04:00
Kevin Matz e951c25461 let the universe decide what to do with start codes 2023-04-26 10:04:06 -04:00
Kevin Matz f1612dc60e use a callback to send RDM data 2023-04-26 10:02:20 -04:00
Kevin Matz db3da280da pre allocate memory for the message data 2023-04-26 10:01:33 -04:00
Kevin Matz dafa95ec76 use callbacks to process alternate start codes 2023-04-26 09:59:14 -04:00
Kevin Matz 7802f201e0 documentation 2023-04-26 09:58:03 -04:00
Kevin Matz 2fdef29242 use the widget mode to determine the appropriate RDM configuration 2023-04-25 16:48:24 -04:00
Kevin Matz 54b2335c98 disambiguation for the include search path 2023-04-25 16:47:27 -04:00
Kevin Matz 098d936897 documentation and namespace cleanup 2023-04-25 12:14:03 -04:00
Kevin Matz c40d1fcdf5 documentation cleanup 2023-04-25 10:25:54 -04:00
Kevin Matz d91838dc5b receive packets 2023-04-25 10:10:16 -04:00
Kevin Matz 960e228e59 non-REST'style namespaces may need to reimpliment name matching 2023-04-25 10:09:51 -04:00
Kevin Matz 929ca62016 use guidance from opensoundcontrol website regarding client-server model 2023-04-25 09:03:46 -04:00
Kevin Matz 402bcf9188 add testing notes to the correct task list 2023-04-25 09:02:00 -04:00
Kevin Matz 38ff40e646 sending is a requirement of inheritors 2023-04-25 08:17:06 -04:00
Kevin Matz 773375757e bundle dispatching 2023-04-24 16:44:04 -04:00
Kevin Matz 0bfab08041 mark dispatching as const 2023-04-24 16:43:35 -04:00
Kevin Matz d7722f24f3 init the timetag to the epoch 2023-04-24 16:40:37 -04:00
Kevin Matz fa8b0482da omit the packet class 2023-04-24 16:39:40 -04:00
Kevin Matz e94db990ac explicit virtual destructor 2023-04-24 13:06:26 -04:00
Kevin Matz 031d00bed4 drop the packet class 2023-04-24 13:05:54 -04:00
Kevin Matz 23572904d2 timetag values to/from system time 2023-04-24 13:04:49 -04:00
Kevin Matz 4023cdaa81 drop the non-standard 128-bit timetag 2023-04-24 13:04:13 -04:00
Kevin Matz 22141d9a03 don't build NTP until there is a user 2023-04-24 13:03:30 -04:00
Kevin Matz 8fd3cc83cf a clock with the NTP epoch 2023-04-24 13:03:13 -04:00
Kevin Matz 7a25eeada7 callbacks for the method to trigger 2023-04-23 19:30:51 -04:00
Kevin Matz 913a1f789b use a regex to match the method name 2023-04-23 19:29:21 -04:00
Kevin Matz 76b8f974e7 patterns are a list 2023-04-23 11:56:57 -04:00