Linux device interaction - operating-system

In Linux, is it possible for an application interacts with hardware device( for instance: camera) without using /dev/* device file?So I mean is possible to use hardware device without making or “using” /dev/* device file?

Related

How to access Raspberry Pi Camera via Windows Universal App?

I have a RPI 2 with Windows 10 IoT Preview installed on it, and I'm trying to create a Windows Universal App that displays a live feed from the Raspberry Pi camera (specifically the Pi NoIR camera). Is this possible?
It's not possible yet. There are no Windows drivers available for the camera. This is likely to change at some point, but your only current option is to use a different OS.
Goobering is correct. Drivers for USB WebCam type devices are likely to be available in the next drop of the OS. I'm uncertain about the RPi camera.
Mark Radbourne (MSFT)

Remote control a microcontroller over bluetooth from a webapp on Iphone/ipad?

I have a microcontroller application that I will add a Bluetooth serial interface to.
Now I want to remote control the microcontroller from the Iphone (the user interface of the microcontroller application will show up in the iphone). I suppose the standard
way to to this is to develope an iphon app with Bluetooth support.
But I would like to have a web app (webpage that loads from an server on the internet over the iphones 3G conenction) that will send and receive serial data to the microcontroller through bluetooth (through JavaScript or similar). Is this possible ?
In that case I can easily add an iphone user interface to my microcontrollerbased product
with easy distribution of the web upp from a normal webserver.
Any ideas how to do this, or if it is possible?
Kind regards
TP
If you add WiFi or Ethernet support to your microcontroller, you can serve the webapp right from the device.
This way is definitely cheaper than mobile device <--Internet--> Server Machine <--Bluetooth--> Microcontroller.

Is it possible to build this kind of iOS Bluetooth app?

I want to know if it is possible to build this kind of bluetooth application on iOS platform.
There are two devices:
1. bluetooth device with installed camera module
- This device only has a camera module, a memory, and a bluetooth module.
2. iOS device. (sleeping - with screen black, possibly locked)
The bluetooth device can be used to do the following:
1. Press a button to take a picture
2. Send the picture via bluetooth to the Iphone,
3. Iphone wakes up, sends the picture to a server.
The key points that I'm curious about is
1. Is is possible to wake up the device with a bluetooth signal,
2. Is it possible to launch an application/wake up an application with a bluetooth signal so that it can process information/send it?
Also, if this functionality is possible, then can it be done with classic bluetooth module, without registering for the MFI program? or do I have to use BLE?
Techniques to discover the device:
1. Core Bluetooth Framework: only works for Bluetooth low energy i.e BLE.
2. EAaccessory Framework: Apple provides an API called External Accessory Framework, which can be used to interact with paired Bluetooth devices or device connected through wired, for which we have to fix the apple connector at the base of the device.
3. Gamekit Framework: if we are using game kit framework then it is necessary that the application is running in foreground in both of the device i.e if the application is in background then it is not possible to pear the device and second thing if we are using game kit framework then there is a limit of about 90k per 'send' ,so if our file is larger then 90k then we have to break it up.
If you have any queries then you can ask..

turn on bluetooth device from iphone

in my application i'm trying to turn on a bluetooth device from the iphone. The bluetooth device is one of those you put in your ear to talk without holding the phone. I wonder if it's possible to turn on the bluetooth wirelessly from my application.
No, because the bluetooth device would have to be ON to receive the signal to turn ON.
The user manages paired bluetooth devices. If you just need input, see: Can the iPhone 3.0 SDK provide full access to Bluetooth devices (headsets)?.

How can I access the USB on my iPhone via Python / C?

I was wondering how to get access to the USB (kind of /dev/usb) on my jailbroken iPhone,
and how could I listen what is going on ( when I plug a device on my iPhone ) for a debug purpose (because I try to create a device that I could connect directly on my iPhone).
Thanks.
You need to be a member of the MFi Program to get access to development information for iOS Accessories.