Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by shirtface · Aug 11, 2017 at 07:32 AM · windowsbluetooth

Trying to connect to a bluetooth device on windows

Hello

I am currently trying to connect to a bluetooth device that streams information about its orientation. However unity doesn't give me the option to open up a serial port because my project doesn't allow me to import System.IO.SerialPort namespace. I have found several solutions and most of them need some sort of man in the middle.

  1. Write a native plugin. The issue is that I am not familiar with c++

  2. Write a man in the middle process .

I am more comfortable writing a man in the middle process however Unity seems to be limited with IPC communications. I could write a WCF service. IS there anyone who has faced similar challenges with interprocess communications and unity?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jeffblumenthal · Mar 07, 2017 at 10:43 PM 0
Share

@shirtface, I would be interested in this. Thank you for sharing.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by shirtface · Feb 02, 2017 at 02:55 PM

So if anyone comes across this post, I worked around this issue by writing a TCP pipeline to a windows based process that pipes bluetooth data back to Unity. I can go further in detail if anyone is interested, just comment here.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image The_Disposer · Feb 18, 2017 at 02:56 PM 0
Share

Is your target build platform a Windows Store App?

I have been looking for a solution to be able to read data sent from a Bluetooth device in a WSA. Nearly all posts about it suggest changing the api compatibility level, which isn't possible for Windows Store Apps. If you have a work around it could be very helpful!

avatar image shank1993 · Jun 28, 2017 at 08:51 AM 0
Share

Am interested, It will be really helpful if your share your solution. Thank you.

avatar image Mr-Mouse · Jul 11, 2017 at 08:33 AM 0
Share

I am very interested in this! Could you show me how you did it?

avatar image mafemontoya94 · Aug 22, 2017 at 11:57 AM 0
Share

Hi, i am interested on this, i am trying to connect a balance board, would you share your solution?

avatar image bynumdav · Aug 30, 2017 at 06:19 PM 0
Share

Hi, I am super interested to know how you did this. Do you have an example you could share?

Thanks, $$anonymous$$

avatar image
0

Answer by zvidrih · Oct 08, 2017 at 06:08 PM

I am very much interested too. Has there been any progress?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to connect Windows and Android applications with bluetooth. 2 Answers

Hello sir my Unity editor is not working...Installed it but but shown blank window..how can get rid of it..i am beginner . 0 Answers

Getting path string from file. 1 Answer

My script keeps crashing my Unity Editor Client. Please help 2 Answers

Why do tests run from the command line in player claim they aren't on the same platform as when run from player in editor? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges