btbb.h (504380409447d46e43e2e18507639fcf2698cf40) | btbb.h (7469b4d151d90e9053add0650f258acd6b481f45) |
---|---|
1/* -*- c -*- */ 2/* 3 * Copyright 2007 - 2013 Dominic Spill, Michael Ossmann, Will Code 4 * 5 * This file is part of libbtbb 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 46 unchanged lines hidden (view full) --- 55 * 56 * The library limits max_ac_errors to 5. Using a larger value will 57 * take up a lot of memory (several GB), without decoding many useful 58 * packets. Even a limit of 5 results in a syndrome table of several 59 * hundred MB and lots of noise. For embedded targets, a value of 2 is 60 * reasonable. */ 61int btbb_init(int max_ac_errors); 62 | 1/* -*- c -*- */ 2/* 3 * Copyright 2007 - 2013 Dominic Spill, Michael Ossmann, Will Code 4 * 5 * This file is part of libbtbb 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 46 unchanged lines hidden (view full) --- 55 * 56 * The library limits max_ac_errors to 5. Using a larger value will 57 * take up a lot of memory (several GB), without decoding many useful 58 * packets. Even a limit of 5 results in a syndrome table of several 59 * hundred MB and lots of noise. For embedded targets, a value of 2 is 60 * reasonable. */ 61int btbb_init(int max_ac_errors); 62 |
63char *btbb_get_release(void); 64char *btbb_get_version(void); 65 |
|
63btbb_packet *btbb_packet_new(void); 64void btbb_packet_ref(btbb_packet *pkt); 65void btbb_packet_unref(btbb_packet *pkt); 66 67/* Search for a packet with specified LAP (or LAP_ANY). The stream 68 * must be at least of length serch_length + 72. Limit to 69 * 'max_ac_errors' bit errors. 70 * --- 197 unchanged lines hidden --- | 66btbb_packet *btbb_packet_new(void); 67void btbb_packet_ref(btbb_packet *pkt); 68void btbb_packet_unref(btbb_packet *pkt); 69 70/* Search for a packet with specified LAP (or LAP_ANY). The stream 71 * must be at least of length serch_length + 72. Limit to 72 * 'max_ac_errors' bit errors. 73 * --- 197 unchanged lines hidden --- |