如何在xamarin.android中读/写数据到串口? [英] How to read/write data to serial port in xamarin.android ?

查看:665
本文介绍了如何在xamarin.android中读/写数据到串口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有



我是Xamarin.Android的新手

使用OTG功能将设备连接到My Android智能手机。我想通过Xamarin c#(Visual Studio 2017)通过串口访问它。



请指导我。在此先感谢您的帮助



我尝试过:



我已阅读有关UsbManager,UsbDevice和UsbInterface类的主题,但我仍无法找到任何代码示例和视频Tutuorial。

Dear All

I am new in Xamarin.Android
A device is connected to My Android smart phone using OTG function. I want to access it via Serial port by Xamarin c# (Visual Studio 2017).

Please guide me. Thanks in Advance for your help

What I have tried:

I have read topics on UsbManager, UsbDevice and UsbInterface Classes but still I am unable to find any Code example and video Tutuorial.

推荐答案

支持Android Xamarin C - Google搜索 [ ^ ]。


这篇关于如何在xamarin.android中读/写数据到串口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆