I am quite new to KaiOS and was wondering if it is possible to build an app that sends / receives serial communications (for instance communicate with Arduino) over a physical cable connected to the phone.
I am currently doing it on Android using this library https://github.com/mik3y/usb-serial-for-android, and would love to do it on KaiOS.
I looked at the permissions and see that there is nothing related (https://developer.kaiostech.com/core-developer-topics/permissions) but I did not find any info saying that it is possible (or not possible) to do it
If not possible, any idea of how to do Serial communication between a feature phone and an Arduino is welcomed !
Thanks for you help !
Nope. KaiOS phones do not support USB Host mode.
I've tried plugging USB mouse and keyboard in Nokia 2720 using USB OTG cable, the phone did not even provide +5V power to the USB port (my keyboard lights up LED if I plug it into USB charger)
Likewise, Bluetooth is limited to headphones, my Bluetooth mouse and Bluetooth gamepad did not work.
Related
I want to know the way BLED112 smart bluetooth dongle makes communication between Windows, and BLE devices. I mean to say that I am aware it makes virtual COM ports. But the question is that it makes the COM port for each of the BLE devices connected with it. Or does it makes only one COM port.
Also, do i need to write some special code for bluetooth connection in Windows with this dongle. Or any arbitrary code will run with this dongle.
Thanks in advance.
The BLED112 is a USB Bluetooth LE dongle that contains a Bluetooth radio with its own Bluetooth stack and provides an interface to interact with the Bluetooth radio via the COM port.
With this concept, you can, for example, connect Bluetooth LE devices with Windows 7 and earlier versions. These Windows versions do not include a Bluetooth stack that supports Bluetooth LE.
Therefore the BLED112 has exactly one COM port for control and communication with the Bluetooth LE hardware on the dongle. With the right programming, it is able to connect to multiple Bluetooth LE devices at the same time.
I am trying to connect a Bluetooth Low Energy enabled MIDI hardware to wirelessly send data to a Windows PC and get it to detect as a MIDI device in Windows. Currently, the device is able to pair with my Windows 10 laptop and I am able to read the incoming data off of it.
The same hardware is configured and working fine as a wireless MIDI device on Mac and iOS devices(which natively supports MIDI over Bluetooth). I am trying to get this feature implemented on Windows(which doesn't support MIDI over Bluetooth, although it was promised in Windows 10).
The device, when is paired, is showing up in the 'Bluetooth devices' section in device manager, I am trying to make this device showing up as a MIDI device in 'Sound, video and game controllers' section.
Any help/resources somebody can provide to help me crack this problem is highly appreciated.
Following is my current thought process to implement this.
Pair the device and read the data off of it. (Already implemented)
Create a virtual MIDI port. (Don't know how to implement this, I am currently checking out rtpMIDI)
Send the MIDI data which was read from the BLE device to the virtual MIDI port. (Still don't know how to implement this)
Any suggestions/comments on the above thought process as I am absolutely new to Windows Driver Development.
Does anyone know if the Project Tango tablet supports USB OTG? Or alternatively if the USB 3.0 port on the dock can act as an OTG hub? Online it only states that these ports are for charging so I am unsure if OTG functionality is also included. It would certainly increase the usefulness of the Tango's tracking capabilities if it was also able to interface with other devices.
Tango device supports "USB 3.0 host via dock connector". It means that it is possible to connect external device USB, but setup requires additional source of power.
Please refer official web site:
https://www.google.com/atap/project-tango/hardware/index.html
The Project Tango tablet support USB OTG, you could interface to other devices.
I'm checking the Tango tablet with an app named "USB OTG Checker". It says that the USB OTG API is loaded, and I can browse a USB memory drive attached to the dock's USB 3.0 port.
The USB OTG Checker says that the Tango tablet fails the check for USB OTG Signal, but I think this is because I'm not attaching a true external data source, like a USB Hard Drive.
I know I can remote debug my winRT app through wifi, but is it possible to debug/deploy app via USB? I'm asking this, since USB would be faster than the wifi alternative.
This is possible via a USB to USB (Easy transfer cable). The cables just simulate a network connection, so it will work like wifi.
You will need to ensure the drivers are compatible with the arm device, but they should be. This device is made by Microsoft for windows 8 so should work:
I'm trying to create a virtual bluetooth keyboard client for Mac OS. that means my Mac will serve as a BT KB. I read about the bluetooth API in OS X (in ObjC), and I also found an HID API for Mac (in C)
To make this work I understand I need to declare an hid-keyboard-service that should be broadcasted on SDP queries.
if I declare an HID service using the HID API, is my service visible/broadcasted on Bluetooth too? (the documents seems to refer to HID with regards to USB only). - are HID services visible on both bluetooth and USB interfaces, and the underlaying connection is transparent to me?
is there any code that will help me with this you know about? I prefer ObjC, but it seems HID API is C only... :(
Thanks...!
As far as I understand it, a HID device driver represents a device locally to the OS, and by the OS, to various other components. It is not used to "broadcast" on USB nor on Bluetooth. As far as I know, OS X does not include a Bluetooth HID service, and neither does OS X nor the USB chipsets in Macs support USB device mode -- or at least they do not expose it.
You will want to write a Bluetooth service. I have not done that, but the documentation seems extensive. From what I understand, you would somehow have to implement your HID service based on the underlying Bluetooth L2CAP transmission protocol.
Since I have studied neither Bluetooth, nor Bluetooth support under Mac, I am unable to provide any more help. I did take a look at HID protocol specs, and even played with them. HID is relatively trivial to implement, but there will be quite a bit of work on implementing the Bluetooth service first.
It seems similar tools exist for linux and may have usable source code. See this thread for links.