Skip to content

Commit

Permalink
Prepare sending System Id for App pairing
Browse files Browse the repository at this point in the history
  • Loading branch information
ah- committed Mar 1, 2018
1 parent 448d623 commit 759ec86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bluetooth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ impl<'a> Bluetooth<'a> {

let data1 = [10, 2, 0, DEVICE_TYPE_KEYBOARD, DEVICE_MODEL_ANNE_PRO, 1, 2, 3, 4, 5, 6];
let data2 = [8, 2, 1, 7, 8, 9, 10, 11, 12];
self.send(MsgType::System, SystemOp::AckGetId as u8, &data1);
self.send(MsgType::System, SystemOp::AckGetId as u8, &data2);
//self.send(MsgType::System, SystemOp::AckGetId as u8, &data1);
//self.send(MsgType::System, SystemOp::AckGetId as u8, &data2);
}
_ => {
debug!("msg: System {} {:?}", message.operation, message.data).ok();
Expand Down

0 comments on commit 759ec86

Please sign in to comment.