- // TODO: need a better way to create addresses from std strings
-
- let lsf = LsfFrame::new_voice(
- &Address::Callsign(Callsign(b"VK7XT ".clone())),
- &Address::Broadcast,
- );
-
- tx.transmit_stream_start(lsf.clone());
+ let mut setup = LinkSetup::new_voice(source, destination);
+ setup.set_channel_access_number(channel_access_number);
+ tx.transmit_stream_start(&setup);