Registry / Framework

framework · v0.1.0
Cormorant
Separate variation in packet delivery from a constant difference between clocks.
Use Cormorant
use vendor::cormorant::cormorant;
Run the example
nest demo cormorant@0.1.0
blyxc native-run cormorant-demo/main.blyx
Example source and expected output
use vendor::cormorant::cormorant;
fn main() {
let sent = [0, 16];
let arrived = [100, 148];
let initial = 0.0;
let result = cormorant_trace(sent, arrived, initial);
if len(result) == 0 { println!("invalid"); return; }
let mut i = 0;
while i < len(result) {
println!(at(result, i));
i += 1;
}
}
Expected output
32
2
1
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.0 | Download ZIP | 637e3ebbb2 | f3b87069492ac78af0c74606bf74064b1a2c5e3087b05cf11de77288f926dc4f |