- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bluetooth connection to the Raspberry Pi
I am using a CY8CKIT-062-WiFi-BT with ModusToolbox and would like to transfer measurement data to the Raspberry pi.
The possibility from one KIT to another would not be bad either.
I can't find any suitable examples.
AnyCloud BLE Environmental Sending Service is very comprehensive and you cannot see how CySmart accepts the data. 2 bytes are transferred and then?
Must WICED modules still be used in the programs. I would like to use only "ModusToolbox" and its components.
Can one show me examples for the transfer of floating point values via BLE.
thanks
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @HeDi_4635501 ,
Floating point numbers can be represented as either single precision (float 32) or double precision (float 64), see below sites for reference. The configurator provides you an option to set the format of the characteristic.
https://www.geeksforgeeks.org/floating-point-representation-basics/
https://www.geeksforgeeks.org/ieee-standard-754-floating-point-numbers/?ref=lbp
Then you add a Characteristic Presentation format to mention that it is a floating value so that it can be interpreted correctly at the peer side.
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @HeDi_4635501 ,
Floating point numbers can be represented as either single precision (float 32) or double precision (float 64), see below sites for reference. The configurator provides you an option to set the format of the characteristic.
https://www.geeksforgeeks.org/floating-point-representation-basics/
https://www.geeksforgeeks.org/ieee-standard-754-floating-point-numbers/?ref=lbp
Then you add a Characteristic Presentation format to mention that it is a floating value so that it can be interpreted correctly at the peer side.
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for the information.
I know the problems with floating point numbers during the transfer.
My big problem is establishing the connection via bluetooth 5.
I have my problems there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please elaborate your issue on the connection establishment using Bluetooth 5? Kindly create a new thread for the new issue.
Bragadeesh