Skip to content
/ mic2 Public
forked from intrepidcs/mic2

neoVI MIC2 Application Programming Interfaces

License

Notifications You must be signed in to change notification settings

tgross35/mic2

 
 

Repository files navigation

neoVI MIC2 Application Programming Interfaces

neoVI MIC2 Picture

crates.io docs.rs

Description

neoVI MIC 2 is a handheld pendant accessory with USB Trigger, GPS and microphone sold by Intrepid Control System, Inc. This repository brings an easy to use API for the following langauges:

Features

  • Internal microphone for audio annotations tied to trigger events
  • Trigger button
  • GPS Lock Indicator
  • USB Link Indicator
  • Recording Active Indicator
  • Buzzer

Getting Started

udev rules

neoVI MIC2 needs permission to access the IO portion of the device. Copy 99-intrepidcs.rules to /etc/udev/rules.d

sudo cp 99-intrepidcs.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && sudo udevadm trigger

Rust

cargo add mic2

Python

pip install pymic2

C/C++

$ cmake -S . -B build -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Debug
$ cmake --build build
$ ./examples/c/find/example_find_c

Links

Development

mic2 uses Rust to build the APIs for all language bindings. See below for dependencies and other instructions for how to develop for mic2

Dependencies

Debian/Ubuntu
  • sudo apt-get install libsfml-dev libudev-dev libftdi1-dev

Optional for C/C++:

  • sudo apt-get install cmake build-essential
OpenSUSE
  • sudo zypper install libsfml2-2_5 libudev-devel
Fedora
  • sudo dnf install SFML-devel systemd-devel
Arch
  • sudo pacman -S sfml libftdi
Windows
macOS
  • TODO
The MIT License

Copyright (c) <Intrepid Control Systems, Inc.>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

neoVI MIC2 Application Programming Interfaces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 88.9%
  • C++ 5.9%
  • Python 2.3%
  • CMake 1.7%
  • Shell 1.2%