File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use std::{
77use byteorder:: { ReadBytesExt , WriteBytesExt , LE } ;
88
99// opcodes
10- // note: incomplete; only contains opcodes that we currently use
10+ // note: incomplete; only contains opcodes that we use or explored
1111#[ derive( Debug ) ]
1212pub enum OpCode {
1313 ProtocolVersion = 0x00 ,
@@ -18,6 +18,7 @@ pub enum OpCode {
1818 Select = 0x06 ,
1919 MtuGet = 0x07 ,
2020 Write = 0x08 ,
21+ #[ allow( dead_code, reason = "currently unused but useful during exploration" ) ]
2122 Ping = 0x09 ,
2223 HardwareVersionGet = 0x0A ,
2324 FirmwareVersionGet = 0x0B ,
@@ -200,6 +201,7 @@ impl Response for HardwareVersionResponse {
200201 }
201202}
202203
204+ #[ allow( unused, reason = "currently unused but useful during exploration" ) ]
203205pub struct PingRequest ( pub u8 ) ;
204206
205207impl Request for PingRequest {
You can’t perform that action at this time.
0 commit comments