- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to have data read by sensors sent via BLE to my phone, at the moment to the CySmart app. I followed the tutorial here:
http://www.cypress.com/training/psoc-video-tutorial-series-how-create-android-apps-interact-cypress-...
and have modified it to just send uint8's.
the data I have is currently in the form of xxx.xx and xx.xx, stored in floats. I would like to have this be sent to the app, but I cannot figure out how. I tried to multiply them by 100 to make them just uints, not floats as I figured that would be simpler, but it doesn't seem to work. I do get numbers coming out on the CySmart app, but 1. they are in hex, and 2. they don't convert to the right numbers.
Please help, I'm relatively new to this all, so I may have just made some stupid mistakes or something like that.
Thanks!
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you attach your project so that we can debug your issue?
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please attach your project so that I can reproduce your issue and find out why your facing the issue. Looking forward to your project.
Regards,
Dheeraj