GithubHelp home page GithubHelp logo

crash0v3r1de / nethackrf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from makar853/nethackrf

0.0 1.0 0.0 39 KB

.net framework classes for hackrf transceiver

License: The Unlicense

C# 100.00%

nethackrf's Introduction

NetHackrf

This project allows to control HackRF tranceivers using .net environment.

Usage

Firstly, you need to get list of connected hackrf devices by using NetHackrf.HackrfDeviceList() which returns array of NetHackrf.hackrf_device_info objects.

Each NetHackrf.hackrf_device_info object has OpenDevice() method which returns NetHackrf object.

To start receiving or transmitting data you need to run StartRX() or StartTX() method of NetHackrf object which would return System.IO.Stream object. Stream object is used to write or read IQ interleaved data.

Hackrf is a half-duplex device thus only one stream can be used at a time. Before using StartRX() or StartTX() methods again, you should stop the existing stream by using its Dispose() method.

You can control transceiver by writing NetHackrf class properties which are:

  • double FilterBandwidthMHz
  • double CarrierFrequencyMHz
  • double SampleFrequencyMHz
  • bool AntPower
  • bool ClkOut
  • double LNAGainDb
  • double VGAGainDb
  • double TXVGAGainDb
  • bool AMPEnable

About

This project uses precompiled dynamic link libraries which have been released under GNU LGPL v2.1 license and BSD license:
libusb-1.0.dll https://github.com/libusb/libusb
hackrf.dll https://github.com/mossmann/hackrf/tree/master/host/libhackrf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.