Broadcast message or file to nearby Bluetooth devices

喜夏-厌秋 提交于 2019-12-06 07:38:37

There's a Bluetooth profile supported by nearly all devices (well not headphones!) called OPP that's Obex Object Push, which uses the OBEX protocol as defined by the IrDA. It can carry any file type, but the receiving device may not know what to do with all types... Previously only support for vCards was common (address book, tasks/appointments, etc).

The 32feet.NET library includes support for OBEX and Bluetooth directly, see the examples in the user guide. There's also a companion library Brecham.Obex that provides more specialised OBEX support. We support the built-in Microsoft and the Widcomm bluetooth stacks on the PC, but not yet BlueSoleil[5] but installing the MSFT stack is simple.

There are also products specifically designed for proximity advertising, see a great list posted in our forums: Most popular Bluetooth Marketing Softwares and e.g. 4

[5]: I did the big job of adding Widcomm support on my own time, as I'm now out of work I'm looking for funding to add support for BlueSoleil.

The framework you linked to should help you determine signal strength and such. The only other part you want to look at is called OBEX FTP, which is how you transfer the file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!