File: ubertooth_hw_u1.h

package info (click to toggle)
spectools 201108r1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 972 kB
  • ctags: 1,225
  • sloc: ansic: 10,234; sh: 2,496; makefile: 96; xml: 25
file content (32 lines) | stat: -rw-r--r-- 995 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Ubertooth1 interface, for the Ubertooth One hardware
 *
 * This code 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.
 *
 * This code is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef __UBERTOOTH_HW_U1_H__
#define __UBERTOOTH_HW_U1_H__

#include "spectool_container.h"

/* U1 scan results */
typedef struct _ubertooth_u1_usb_pair {
	char bus[64];
	char dev[64];
} ubertooth_u1_usb_pair;

int ubertooth_u1_device_scan(spectool_device_list *list);

int ubertooth_u1_init_path(spectool_phy *phydev, char *buspath, char *devpath);
int ubertooth_u1_init(spectool_phy *phydev, spectool_device_rec *rec);

#endif