Bluetooth connection PSoC 62 to Raspberry Pi

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

cross mob
HeDi_4635501
Level 3
Level 3
First solution authored 10 questions asked 25 sign-ins

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

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

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.

Regards,
Bragadeesh

View solution in original post

0 Likes
3 Replies
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

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.

Regards,
Bragadeesh
0 Likes

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.

0 Likes
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @HeDi_4635501 

Can you please elaborate your issue on the connection establishment using Bluetooth 5? Kindly create a new thread for the new issue.

Regards,
Bragadeesh
0 Likes