I took me several time and days to research and try some codes applicable to my problem but unfortunately I wasn't able to see codes that pair and receive files (text, images etc..NOT audio or video in particular) from a mobile device.
我花了几天时间研究并尝试了一些适用于我的问题的代码,但不幸的是我无法看到从移动设备配对和接收文件(文本,图像等......特别是非音频或视频)的代码。
Most of the examples found are for SENDING only (From PC to Mobile).
发现的大多数示例仅用于发送(从PC到移动)。
I have bluetooth device (USB) physically attached to my PC.
我的蓝牙设备(USB)物理连接到我的电脑上。
Summary:
All I need is a sample code that automatically detect/pair when a device is trying to send the file (like in Kodak kiosk but not limited to images only).
我所需要的只是一个示例代码,可以在设备尝试发送文件时自动检测/配对(例如在Kodak信息亭中,但不仅限于图像)。
I also wanted to understand and study the code.
我也想了解和研究代码。
1 个解决方案
#1
1
Perhaps use my 32feet.NET library and its ObexListener class see e.g. http://32feet.codeplex.com/wikipage?title=Server-side&referringTitle=OBEX
也许使用我的32feet.NET库及其ObexListener类参见例如http://32feet.codeplex.com/wikipage?title=Server-side&referringTitle=OBEX
For more advanced scenarios use Andy Hume's Brecham.Obex library and his server sample application. See http://inthehand.co.uk/files/folders/objectexchange/entry9942.aspx
对于更高级的场景,请使用Andy Hume的Brecham.Obex库和他的服务器示例应用程序。见http://inthehand.co.uk/files/folders/objectexchange/entry9942.aspx
Which Bluetooth stack does your PC have installed? Microsoft, Widcomm, BlueSoleil...? See e.g. http://32feet.codeplex.com/wikipage?title=Supported%20Hardware%20and%20Software On Widcomm for instance the build-in OBEX server would have to be disabled to allow your server to get all the incoming connections...
您的PC安装了哪个蓝牙堆栈?微软,Widcomm,BlueSoleil ......?参见例如http://32feet.codeplex.com/wikipage?title=Supported%20Hardware%20and%20Software例如,在Widcomm上,必须禁用内置OBEX服务器以允许服务器获取所有传入连接...
#1
1
Perhaps use my 32feet.NET library and its ObexListener class see e.g. http://32feet.codeplex.com/wikipage?title=Server-side&referringTitle=OBEX
也许使用我的32feet.NET库及其ObexListener类参见例如http://32feet.codeplex.com/wikipage?title=Server-side&referringTitle=OBEX
For more advanced scenarios use Andy Hume's Brecham.Obex library and his server sample application. See http://inthehand.co.uk/files/folders/objectexchange/entry9942.aspx
对于更高级的场景,请使用Andy Hume的Brecham.Obex库和他的服务器示例应用程序。见http://inthehand.co.uk/files/folders/objectexchange/entry9942.aspx
Which Bluetooth stack does your PC have installed? Microsoft, Widcomm, BlueSoleil...? See e.g. http://32feet.codeplex.com/wikipage?title=Supported%20Hardware%20and%20Software On Widcomm for instance the build-in OBEX server would have to be disabled to allow your server to get all the incoming connections...
您的PC安装了哪个蓝牙堆栈?微软,Widcomm,BlueSoleil ......?参见例如http://32feet.codeplex.com/wikipage?title=Supported%20Hardware%20and%20Software例如,在Widcomm上,必须禁用内置OBEX服务器以允许服务器获取所有传入连接...