cant send anything but uint8

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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!

0 Likes
2 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Can you attach your project so that we can debug your issue?

Regards,

Dheeraj

0 Likes
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

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

0 Likes