tester: add ota control message sends to ctrl bin

This commit is contained in:
decentclock
2022-09-25 19:30:18 -04:00
parent f59aa3de57
commit 2a4945f44a
2 changed files with 13 additions and 2 deletions

View File

@@ -2,7 +2,9 @@ use anyhow::Result;
use sphinx_auther::nonce;
use sphinx_auther::secp256k1::{PublicKey, SecretKey};
use sphinx_auther::token::Token;
pub use sphinx_glyph::types::{Config, ControlMessage, ControlResponse, Interval, Policy};
pub use sphinx_glyph::types::{
Config, ControlMessage, ControlResponse, Interval, OtaParams, Policy,
};
use std::sync::{Arc, Mutex};
// u64 is the nonce. Each signature must have a higher nonce