.NET Framework - Support for USB and BT

Asked By Navnit
19-Feb-07 09:58 AM
I would like to know what all device support is provided currently by the
.Net Micro Framework?

Does it support USB and Blue Tooth, SD and MMC etc?

Can some expert help me in this regard.

Thanks in advance
Application
(1)
Camera
(1)
Correct
(1)
 
19-Feb-07 10:07 AM
There is no filesystem support, so SD/MMC is likely a no, unless you're
talking an SD peripheral.  For everything else it's really up to the OEM.
USB client is there.  USB Host is far more difficult, and it depends on what
class of device you want to support.  Bluetooth is really nothing more than
a serial radio and is pretty easily implemented (compared to something like
a USB device, not that it's really simple).

From an application perspective you'll see that the SDK really provides only
SPI, I2C and RS232 serial, so any other peripheral would have a custom
object model provided by the OEM.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
  DavidConge replied...
20-Feb-07 03:40 PM
In addition to SPI, Serial, and I2C, the framework supports USB and GPIO.
Other types of connections, such as Bluetooth, are being considered.

--
Programmer/Writer
.NET Micro Framework
Microsoft Corporation
  Steve Maillet \(eMVP\) replied...
20-Feb-07 04:33 PM
Actually, the USB part of that is a bit misleading. USB Function is
supported for Application download and debug ONLY; except for SideShow
devices.


--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com
  Navnit replied...
21-Feb-07 04:03 AM
Thanks for the quick response..

Surprised to know that support for File System is not present.

Its difficult to use this frame work for a handy GPS navigator, or a Camera
kind of device which needs a storage media..

Is there any possibility of implementation in the future versions? Or does
the framework have capability for developer extendibility.

Thanks and Regards,
Navnith

This could be a constraint for devices planing to implement
 
21-Feb-07 08:40 AM
A future FS is a possibility, but yes, you can always write one as well.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
  Steve Maillet \(eMVP\) replied...
21-Feb-07 11:18 AM
Certainly, there are Flash parts with support for an SPI interface, you can
even use MMC/SD cards in SPI mode, so you can write an FS of your choosing
in managed code. The general idea with the Micro Framework is to extend it
in managed code in whatever way you need/desire.


--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com
  DavidConge replied...
16-Mar-07 10:34 PM
Correct. I should have been clearer. Thanks.
--
David Conger
Programmer/Writer
.NET Micro Framework
Microsoft Corporation
Create New Account
help
think EW is causing what you reported. My guess is the images come from a camera that is smart enough to tag the images as portrait or landscape. Many modern cameras myself when creating web photo album pages. (I use JAlbum for this, ) If I'm correct and this is your situation then there really is no good solution, other than manually ones Expression Web leaves alone. The question is why Expression Web is acting on the camera EXIF orientation information and how do I tell it to ignore it? All of these muck about with them. Most image editing software doesn't seem to change the EXIF camera orientation when you rotate an image, so Expression Web is always going to get it image that's been manipulated in advance. This makes sense as the data is original camera orientation, not a "This way up" tag Even if I did want Expression Web to It's only EW that's deciding to rotate the images based on the EXIF camera orientation information and it's a huge nuisance and I want a way to tell there is no other way that I can see, you could set it to the 'correct' settings in the camera and miss out a step that way. . . . your editor can do batch converstions?. . . Tina - - * **NEW
Accessing DirechShow camera buffer under WinCE .NET Framework Greetings I am writing application under WinCE 6.0 that should work with a video camera. And I need not just to display video but also access each frame raster buffer i.e. pixel-per-pixel RGB data). From my BSP developer I have a camera driver supporting DirectShow. Via this driver camera really works and its video preview comes to the screen quite correct. But now I need to access the frame raster - how to do this via DirectShow can do whatever operation you need to do. D: \ WINCE600 \ PRIVATE \ TEST \ MULTIMEDIA \ DIRECTX \ DSHOW \ CAMERA \ CAMERAGRABBER And also check out the following file for usage of registering, adding of grabber filter into the filter graph. D: \ WINCE600 \ PRIVATE \ TEST \ MULTIMEDIA \ DIRECTX \ DSHOW \ CAMERA \ FRAMEWORK \ captureframework.cpp In the CCaptureFramework::GrabberCallback() function you can handle the processing of grabbed
SetPropertyItem(propItem); / / Draw the image. e.Graphics.DrawImage(image2, 20.0F, 20.0F); } C# Discussions Application.SetCompatibleTextRenderingDefault (1) Windows XP (1) Application.EnableVisualStyles (1) Image.SetPropertyItem (1) System.Windows.Forms (1) Item.SetPropertyItem (1) FileShare.ReadWrite (1 not working. Rather than use d2.jpg, I use MyPic.jpg that comes from my camera, then if I save it to somewhere else, it worked! You can release the lock if you do not try to overwrite the original, still cannot be saved. Is that correct? Do you get the exact same error you got when you try to write over using System.IO; namespace TestImageFileShareMode { static class Program { / / / <summary> / / / The main entry point for the application. / / / < / summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); } } public class Form1 : Form { public Form1() { InitializeComponent(); } / / For deleting temp file before
is to select the source (this should be done to ensure you are using the correct scanner and should be done prior to scanning). The other is to run the scan Native to Managed Transition] [Managed to Native Transition] System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(int dwComponentID, int reason = 0xffffffff, int pvLoopData = 0x00000000) + 0x2f1 bytes System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason = 0xffffffff, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext}) + 0x17d bytes System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) + 0x53 bytes System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm) + 0x2e bytes Scan.exe!Scan.Program.Main() Line 18 is specifically a C# question, and you will thus be highly unlikely to receive a correct answer to the question in this newsgroup. It could happen, but you are probably much Windows 2000. However, it is only meaningful if a WIA device is present (scanner or camera). - - Tim Roberts, timr@probo.com Providenza & Boekelheide, Inc. keywords: WIA, -, Problem, with, Com description: Hi
to understand more about the nature of the data. Hilton Err, isn't that VB? Correct me if I'm wrong, but the "Dim" was the biggest clue, and the fact this will be my last post to this thread, but for the record, I'll correct just one of the many incorrect things in your post. You said: "Frankly, when you 19:07 -0800, "Hilton" <nospam@nospam.com> said: Sorry? You wrote you were going to correct something. But you just wrote another untrue thing. I'm not laughing. I have never The "int count, index" struct would have double the data to swap so you are correct (instead of just a reference) - assuming that we use ints (again, depends on the nature g. GIF or PNG8 which is a very common operation - look at (almost) any image application. You think they use an array or a dictionary? If I have a huge input a 3D barcode format. When you need to recover the data, use the built-in camera on the phone as a scanner, and volia, you have reduced footprint even more. If easily extended to other operators. . . the generated delegate is fully cached etc. . . This has some application to the LINQ / grouping scenario above, but I suspect it has a lot *more* uses