rtl433  UNKNOWN
RTL-433 utility
samp_grab.c File Reference

IQ sample grabber (ring buffer and dumper). More...

Functions

samp_grab_tsamp_grab_create (unsigned size)
 
void samp_grab_free (samp_grab_t *g)
 
void samp_grab_push (samp_grab_t *g, unsigned char *iq_buf, uint32_t len)
 
void samp_grab_reset (samp_grab_t *g)
 
void samp_grab_write (samp_grab_t *g, unsigned grab_len, unsigned grab_end)
 grab_end is counted in samples from end of buf. More...
 

Detailed Description

IQ sample grabber (ring buffer and dumper).

Copyright (C) 2018 Christian Zuckschwerdt

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Function Documentation

◆ samp_grab_create()

samp_grab_t* samp_grab_create ( unsigned  size)

◆ samp_grab_free()

void samp_grab_free ( samp_grab_t g)

References samp_grab::sg_buf.

◆ samp_grab_push()

void samp_grab_push ( samp_grab_t g,
unsigned char *  iq_buf,
uint32_t  len 
)

◆ samp_grab_reset()

void samp_grab_reset ( samp_grab_t g)

◆ samp_grab_write()

void samp_grab_write ( samp_grab_t g,
unsigned  grab_len,
unsigned  grab_end 
)