Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 /
avatar image
0
Question by Dois · Oct 26, 2018 at 06:36 AM · bluetooth

Unity connecting to a Bluetooth Bicycle speed sensor

Hello, I'm attempting to develop an application that takes in sensor data from a Bluetooth speed sensor for a bicycle and am wondering how to go about it.

The Unity manual shows nothing about connecting Bluetooth devices.

I've purchased a bicycle speed sensor that has ANT+ and Bluetooth support:

https://www.aliexpress.com/store/product/CYCPLUS-Bicycle-Speed-Sensor-Wireless-BT-ANT-Bike-IPX7-4g-Mini-Road-MTB-Computer-Speedometer-Bicicleta/1687139_32828365573.html?spm=2114.12010615.8148356.2.3c12e14bR4JvLf

I've never worked with Bluetooth before and would like to know if there's a difference between interfacing with a Bluetooth 4.0 and a Bluetooth Low Energy device (are they different protocols?)

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by hexagonius · Oct 26, 2018 at 07:44 AM

if you're doing professional work, save yourself some time and get one of these:
https://assetstore.unity.com/search?q=bluetooth&k=bluetooth or maybe this helps as it seems it's using a free asset:
http://nerdclub-uk.blogspot.com/2016/01/talking-to-bluetooth-le-devices-with.html?m=1
and then there is this git repo, which you could disassemble:
https://github.com/giomurru/ble-framework

keep in mind those are for low energy bluetooth devices so there seems to be a difference

Comment
Add comment · Show 2 · 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 Dois · Oct 26, 2018 at 07:49 AM 0
Share

Hey thanks for the reply. The issue is, I don't know which one of these I need. A lot of them say they are for "iOS and Android". I'm building an application for Windows. The fact that it's lacking leads me to believe there's already some kind of support for doing it on Windows or that people are doing it manually/serially? Ideally, I'd like to operate at a higher level.

avatar image RayGerry Dois · Aug 13, 2021 at 03:33 AM 0
Share

Hello, I hope to achieve the same function as you, how did you solve this problem in the end?Looking forward to receiving your answer.

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

97 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 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 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 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 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 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 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

Strategies for Bluetooth multiplay 0 Answers

Send realtime data via android to a unity based PC game 2 Answers

Using Unity to establish a bluetooth connection with an Arduino? iOS 1 Answer

How to Read Data from a Bluetooth Device with a Windows Store App 3 Answers

Trouble getting good bluetooth audio behavior ios 0 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