Windows 10 IoT Core Bluetooth Support for Raspberry Pi3 - bluetooth

Apologies for asking a time dependant question, but does anyone know when Microsoft are going to sort out there drivers for the Raspberry Pi 3's on-board Bluetooth chip?
Currently the console Device Settings just display the following exception error code relating to a fault with the OS files:
The device is not ready for use. (Excep_FromHResult 0x800710DF)
Or does anyone know of a workaround to this problem?... Short of developing your own drivers and creating a custom OS image for the board.
Many thanks for your help.

Raspberry Pi 3 onboard Bluetooth support is in a future release of Windows IoT Core Insider Preview, per the page it should come soon, so please be patient.
The workaround is to use a compatible USB Bluetooth dongle, check out here to find the list.
If you want to develop your own driver and create a custom image for hobby or fun, you can find very good code samples in https://github.com/ms-iot/bsp/tree/master/drivers, and follow https://msdn.microsoft.com/windows/hardware/commercialize/manufacture/iot/iot-core-manufacturing-guide
to create custom windows IoT core image.
Update!!!
Onboard Bluetooth driver seems to be included in the latest preview build version 14376. I did not test it thoroughly but per the snapshots below, it looks very promising.

Related

Raspberry Pi Camera Module undetectable by common applications

I bought a 5 mp camera module available at Amazon for my raspberry pi 4 2 gb model. Then I configured it for use and tested it with raspistill and raspivid, it is working as expected. But since it is a module connected to the CSI port and not a USB camera its is not detectable by some common applications. For eg.:- OBS(From Pi-Apps), Zoom(From PI-Apps, Pi-Kiss and its web portal).
What I tried ? --
Virtual camera through OBS. I was able to install OBS but I wasn't able to compile
its plugin for virtual camera and camera module. It had numerous errors.
IP camera adapter :- Idea was to stream the camera feed on local web and then convert the feed to a virtual camera. Yes, there are many such applications but all are available only for windows/Mac and not for Linux. Even the few, which are available doesn't support Raspberry pi's architecture.
Is there any workaround or a trick for make the module work like a normal camera ?
P.S.:- If you are wondering why the question is on Stackoverflow,then I feel this is a software related question and Stackoverflow is the best for that ;).
Have you tried looking into libcamera?
https://www.arducam.com/docs/cameras-for-raspberry-pi/raspberry-pi-libcamera-guide/
That might not be the best, straight-forward answer you're looking for, but I recently did some work with a PiCam and found libcamera to work wonders. I used it on a fairly low level and didn't try to point it to additional programs, but perhaps you can find something useful in there! Good luck.

What language/libraries best for BLE connectivity?

Operating system: MacOS
Just for some context on what I am trying to do, I have an Ikea standing desk which has bluetooth. I am able to control the desk with a built in app. I want to create a server running on a raspberry pi that connects to desk and controls it, I then want to create an Alexa skill which will control the desk by calling the server endpoints.
What's the best language/library you would suggest I use? Ideally something that would run on MacOS and Ubuntu.
I don't know anything about BLE yet which is why it is hard for me to find a good answer. If you have resources, books or tutorials that will help me get running with BLE please recommend them.
My use case:
Get desk to go up
Get desk to go down
Get current position of desk
If you want to write one app that works for both MacOS and Ubuntu then as ukBaz said, python and Bleak are your best options. If you want to use the native way of writing BLE apps for each OS, then you can use CoreBluetooth on MacOS and BlueZ on Ubuntu. The advantage of the former is that you can get an application up and running quickly, and the advantage of the latter is that you will find a lot more resources and advanced functionality.
Below are some resources that can help you in your development:-
Theoretical Bluetooth:
Bluetooth Low Energy: A Primer
Getting Started with Bluetooth Low Energy
Ellisys Bluetooth Series
CoreBluetooth
Getting Started with CoreBluetooth
Ultimate Guide to Apple's CoreBluetooth
iOS App Full Example
BlueZ
Configuring Bluetooth devices with bluetoothctl
Ubuntu: Accessing GATT services
Python
Ikea IDÅSEN desk API and CLI
Idasen controller example
Using Python for Bluetooth

ME370T Nexus 7 not connecting to bluetooth device 4.1.2

I know nothing about programming and I can not read code, but this site kept popping up in my search regarding my bluetooth issue with my nexus 7.
I purchased the 2012 ME370T nexus 7 tablet used from a friend with android 4.4.2 OS. Research shows that the RFComm bluetooth stack for "SPP" bluetooth profiles does not work and a downgrade or revert back to 4.1.2 should fix the issue. I used a root tool kit unlock, root, and revert back to 4.1.2 (like I said, I know absolutely nothing about this) and still nothing.
I have an HKS ob-link (obd II bluetooth adapter similar to an elm327).
The device will "pair" with my Nexus 7, but will not connect to transfer data.
Bluetooth device uses the SPP profile for data transfer.
included is a link of what I'm talking about.
https://www.youtube.com/watch?v=FybPbUjaxzE
here's a link to the product.
http://www.hks-power.co.jp/en/product/electronics/monitor/ob-link/index.html
at the bottom of the product's page you can see the links to the various lists of which car the device will work with, and which tablets the device is compatible with.
I see many people on this forum are able to post codes. How are you doing that? what program are you running? Logcat? and also, I don't even know how to insert the code for my bluetooth to function.
If anyone could help I will be grateful. I'm seriously about to just trash this entire project. My Galaxy Tab 2 7.0 wouldn't connect to the device either.

How to use USB GPRS Modem on ARM - Windows CE 6.0?

I've been involved with a project where I have to install and use a USB GPRS modem on an ARM board (RSC-W910) with Windows CE 6.0 installed.
The modem is the Sierra Wireless product GL6110 (GL61x0) and I need to use it only for data, making HttpWebRequests (TCP) send/receive XML data. Prefered development tool is C# and .Net Framework 3.5.
When the modem is connected via USB to the board, the error message that appears is saying "Unidentified USB Device" which I believe its normal.
Siera Wireless(SW) provides a driver for ARM920, but it failed to install using 'wceload.exe'. The error was "Setup Failed" that I could see on the small LCD screen attached to the board. To install the driver I connect to the board via Telenet and CAB file is stored on SD card.
Am I right to think that the failure to install the driver could be related to the fact that the Win CE image has RAM-based Registry?
If SW does not provide a driver for the modem, could this mean that I have to develop my own driver? or is there a generic driver that I can use instead?
Will I have to create a new Win CE image for the board to support the modem, or is it possible to use code within the C# application to access it?
Any help will be very much appreciated!
Thanks,
Nick
There's no generic driver, no. Sierra modems generally have CE support (I'm not checked this model, but it's likely to work). What you need is:
A Driver DLL, build for ARM and for CE 6.0 or 7.0 (the CE 5.0 driver model differs, so a CE 5.0 driver probably won't work)
The registry entries the device.exe looks for when the device is enumerated
These sometime come in a CAB, sometimes not. Generally I prefer it when they don't but either will work.
If the CAB file fails to install, it's probably because it's marked for some other platform. I'd use something like WinZip or WinRAR to pull it apart, rename the DLL and extract the necessary reg entries (depends on the CAB format how easy/hard this will be).
Generally, though, you need to copy the driver DLL to the \Windows Folder, then apply the registry entries. Then when the device is plugged in, it will read the registry, which will point it to the DLL, which is then loaded. "Unidentified USB device" typically means the registry entries were not found.
This can all be done without rolling a new OS image, though sometimes a new image is simpler than doing the necessary copying at startup, especially if the device is plugged in at boot.

Deploy a .NET Micro framework application on USB device from GNU/Linux with Mono

I started developing an application for a FEZ Panda device, using the .NET Micro Framework several weeks ago, on Windows.
As I really love GNU/Linux, I would like to use MonoDevelop to develop for this device.
Fortunately, there is an add-in for Mono, that allows deploying .NET Micro Framework applications. Unfortunately, it does not support USB deploy, and my computer has no serial port (it is a laptop).
Do you have any solution about my problem?
Thank you in advance,
ProgVal
EDIT: If there is another way that is not using MonoDevelop, I would like to test it too.
Use a USB to Serial adapter. Keep in mind that on most of these boards it is TTL not RS232 so you'll have to get a USB to TTL adapter.
They are usually very cheap. This one should work.

Resources