Can a computer be used as a headset with bluetooth? - qt

With Qt Bluetooth module (qt 5.2 and up) is it possible to use a Linux computer as a audio gateway?
Basically, I want to use computer as a headset and handle digital audio which comes from a mobile phone and send digital audio over bluetooth using qt bluetooth api.
If this isn't posibble to be done with qtbluetooth which api can handle it?

Related

Gurux on Bluetooth IGXMedia with Xamarin Forms

I'm trying to communicate with a Bluetooth Optical Probe using a SPP (serial port) that is attached to a smart meter. I have seen that using the Gurux software will be a good idea. However, they do not offer native support for Bluetooth communication (other than in the Python example) and their mobile support is only for Android-Java. Has anyone managed to create an instance of IGXMedia within Gurux for Bluetooth? The Gurux BTSerial class uses System.IO.Ports.SerialPort which is only available on Windows, where I am trying to use Cross-Platform C#.

Classic Bluetooth communication (RFCOMM) in Xamarin.Forms

I am looking for Classic Bluetooth communication (RFCOMM)/ serial port communication using classic Bluetooth and not Bluetooth Low Energy(BLE) in Xamarin.Forms preferably. I have some emulator which is hosted on a com port and a Bluetooth adaptor. I want to connect to that Bluetooth adaptor and fetch/read data in my mobile app.
I had explored Bluetooth Low Energy(BLE) using ble.net plugin but I need to connect to a port i.e. Bluetooth SPP and read data in the mobile app.
There's no classic Bluetooth communication APIs in Xamarin.forms. You would have to use the UWP built-in Bluetooth RFCOMM APIs to communicate.
You could check the Bluetooth RFCOMM chat sample to learn how to use these APIs.

send midi messages over usb with QT

I have a usb midi effect processor that receives midi messages is there any way I can send midi messages over usb from a qt application is there a library for midi ports ?
You can use RtMIDI to do that, which is C++ and can be used with Qt. As an alternative, I've published some open source libraries under the generic name "drumstick" for MIDI processing following Qt5 style and dependency. Some functionalities are multiplatform (Linux, macOS and Windows) like "drumstick-rt", which allows a Qt program to send realtime MIDI events to arbitrary MIDI outputs (USB MIDI devices or whatever). It is used for instance by my program VMPK. Please see the online documentation.

How to communicate I2c device connected to Arduino to Windows 10 IoT Core

I have a UWP app which will display values of sensors connected to Arduino which will be connected to that UWP app. I have a I2C device connected to that Arduino. I want to communicate to that I2C device from my UWP application. But, I can't find a way to do that. Can Someone can help me with that.
There is a technology called Windows Remote Arduino that allows you to control Arduino microcontroller connected to your Windows 10 UWP App. It uses FIRMATA protocol underneath, and I believe it allows you to control I2C sensors as well. If not, you can tweak the source code, because both FIRMATA implementation and Windows Remote Arduino are open source.

Programming GSM Module to send SMS

I would like to use a standalone GSM Module that can interface with other systems like TV, AC, Fridge, etc.. via an SMS or a Call
For example:
1. If the GSM Module is hooked up to a Smoke Sensor, when there is an alert the GSM Module should be able to send as SMS.
I think there needs to a hardware component (that connects to the Smoke Sensor and GSM Module) where I can install program to send a SMS message when there is a signal from Smoke Sensor.
I would like to know on what this hardware component can be, what programming languages can be used and how the hardware component can interface with various devices.
Thanks!
An easy way to get a programmable GSM module is to get a cheap Android smart phone. For connectivity, you will need to build your own solutions unless the sensors already have some interface. You may want to look into Arduino microcontrollers for that. You can interface to the Android device using Wifi, Bluetooth, USB (newer devices support USB host mode, the cheap ones may not) or the audio jack.
Best solution depends on your resources and how many devices you need.
If you have big budget and hardware and software designers, then you could use naked GSM/UMTS module from some m2m module vendor like Cinterion or Telit. And own MCU for controlling it.
But if you need only few devices, then you could use some programmable GSM/UMTS terminal module, which contain all needed stuff: case, sim-holder, antenna connector, some GPIOs and modem.
For example Cinterion TC65T is this kind of terminal module. It can run a java (J2ME) program. Java programs of TC65T have access to GPIOs, which can be connected to smoke sensor for example. Java programs can also send SMS messages.
The Cinterion TC65T terminal was a 2G cellular device with a Java Virtual Machine to allow you to run J2ME 3.2 applications. Now days you could use a Terminal such as the Cinterion EHS6T-USB which is a 2G and 3G device with Java.
You might find it easier to get hold of a Cinterion "concept board" which has a Java enabled 2G and 3G cellular module on there along with an interface for Arduino style shields.
http://www.gemalto.com/m2m/development/cinterion-concept-board
It runs from a USB lead, plugged into you laptop or PC and need no other external power supply for development. I used one of these connected to a battery, and an Arduino relay board plugged in, to be able to switch our Christmas tree lights on and off via SMS.

Resources