2 Replies Latest reply on Jul 25, 2018 3:14 AM by DheerajK_81

    cant send anything but uint8

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

      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!