简体   繁体   中英

Forward data from ip socket to bluetooth socket. c#

I want to listen to incoming ip sockets on a specific port and forward them using bluetooth sockets. Is this possible?

I'm using c# but I can use java if it's easier to code.

In fact, the object was using SMB protocol over Bluetooth connexion. I found a Bluetooth profile that is similar to SMB protocol and that enables me to explore the sdcard from my PC. the profile is OBEX FTP (File Transfert Profile) and i found java APIs. Thank you for your answers.

I don't have much knowledge.... But I found these two link.... it may helps u... 1st.. Bluetooth
2nd.. OTN

The Bluetooth equivalent of TCP sockets are called RFCOMM sockets. You can write an app to open a TCP socket, read the data, and write it out to an RFCOMM socket.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM