/*
Pseudocode:
- copy into samp buffer (? may want to let the downstream stuff do this; We may not even really need a local samp buffer)
+ copy into samp buffer
+ (? may want to let the downstream stuff do this; We may not even really need a local samp buffer)
+ (could/probably should do this in tdma_rx)
demod a half slot
look for UW in slot-wide bit buffer
if UW found
set slot offset to match where a frame should be
go to slot_sync_rx to try and decode found frame
else
- set up for next half slot, repeat
+ set up for next half slot, repeat
+ next half slot overlaps current slot
*/
}
Put 1 slot's worth of samples into the TDMA modem
TODO: I'm still not entirely sure of what I want the semantics of this to look like
*/
-void tdma_rx(struct TDMA_MODEM * tdma, COMP * samps);
+void tdma_rx(struct TDMA_MODEM * tdma, COMP * samps,u64 timestamp);
/* Hideous debug function */
void tdma_print_stuff(struct TDMA_MODEM * tdma);