mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
378 B
C
24 lines
378 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include "lte.h"
|
|
|
|
int main(int argc, char **argv) {
|
|
binsource_t bs;
|
|
char* output;
|
|
|
|
binsource_init(&bs);
|
|
binsource_seed_time(&bs);
|
|
|
|
output = malloc(100);
|
|
|
|
if (binsource_generate(&bs,output,100)) {
|
|
printf("Error generating bits\n");
|
|
exit(-1);
|
|
}
|
|
printf("output: ");
|
|
bit_fprint(stdout,output,100);
|
|
printf("Done\n");
|
|
exit(0);
|
|
}
|