Skip to content

An example of searching iBeacon using gtk-rs and btleplug.

Notifications You must be signed in to change notification settings

riddleling/beacon-searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beacon Searcher

Screenshot

screenshot

Compile & Run

  1. Install GTK 3 dev packages:
    • macOS:

      $ brew install gtk+3
      $ brew install gnome-icon-theme
      
    • Debian / Ubuntu:

      $ sudo apt install libgtk-3-dev build-essential
      
    • Windows:

      1. Install dev packages from MSYS2 shell:

        $ pacman -S --needed base-devel mingw-w64-x86_64-toolchain
        $ pacman -S mingw-w64-x86_64-gtk3
        
      2. Edit environment variable:

        • add C:\msys64\mingw64\bin to Path.
        • add C:\msys64\mingw64\lib to GTK_LIB_DIR.
      3. Add toolchain target, open a PowerShell, and run:

        PS C:\> rustup target add x86_64-pc-windows-gnu
        
      4. Change toolchain target:

        PS C:\> rustup default stable-x86_64-pc-windows-gnu
        
      5. Check default toolchain target:

        PS C:\> rustup show
        ...
        stable-x86_64-pc-windows-gnu (default)
        stable-x86_64-pc-windows-msvc 
        ...
        
  2. Clone this repo, and cd to repo directory.
  3. Run app:
    $ cargo run
    

License

MIT License

About

An example of searching iBeacon using gtk-rs and btleplug.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages