Skip to content

Commit 36b62e4

Browse files
committed
Initial integration of hid-io-protocol into hid-io-core
- Removes protocol/hidio in favour of hid-io-protocol - Uses fixed sized buffers * Allows testing embedded and host versions with same/similar code-base - Large cleanup of hid-io-protocol * Removed unnecessary byte buffer code and added it to CommandImplementation instead * Remove duplicate functionality (now that byte buffer is no longer in Commands) * Changed send_buffer to tx_packet_buffer_send which automatically handles the serialization buffer (simplifies buffer creation) * Using a single serialization buffer instead of using each stack (test case CommandInterface) * Removed as many ArrayLength hardcodings as possible
1 parent bfe49ee commit 36b62e4

File tree

15 files changed

+937
-2073
lines changed

15 files changed

+937
-2073
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ flexi_logger = "^0.16"
9898
futures = { version = "^0.3", optional = true }
9999
futures-util = { version = "^0.3", optional = true }
100100
glob = { version = "^0.3", optional = true }
101+
heapless = { version = "^0.5" }
101102
hidapi = { version = "1.2.4", default-features = false, features = ["linux-static-hidraw"], optional = true }
102103
hid-io-protocol = { path = "hid-io-protocol" }
103104
libc = { version = "^0.2", optional = true }

0 commit comments

Comments
 (0)