Is it possible to connect iphone to printer via bluetooth?

随声附和 提交于 2019-11-28 04:09:41

问题


I want to connect iphone to a printer via bluetooth, but I don't find any class about bluetooth in iPhone 3.0 SDK. Do I need to join "Made for iPod and Works with iPhone Licensing Program" to get the SDK? Or is it possible to do this without joining the program?


回答1:


Even if you join the MFi/WWi developer program, it's impossible to connect your iPhone to an arbitrary printer. The printer would need to built specifically for iPhone compatibility and incorporate an Apple-specific chip. The program is intended for device manufacturers to build iPod/iPhone specific devices, not for independent developers or device manufacturers with existing bluetooth products.




回答2:


"and incorporate an Apple-specific chip"

Rubbish! Bluetooth is Bluetooth is Bluetooth. What is needed is for proper Bluetooth support on the iPhone.




回答3:


You might want to check into the GameKit. I just used it to connect two iPod's via bluetooth. Apple has done all the hard work and with just a few lines of code, you can have the iPod searching for bluetooth devices. If you do your own Wifi networking, you can even make the iPod/ iPhone search for the printer using either bluetooth or wifi relatively easy.



来源:https://stackoverflow.com/questions/1117628/is-it-possible-to-connect-iphone-to-printer-via-bluetooth

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