BLE Conexion

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

cross mob
lock attach
Attachments are accessible only for community members.
AnMo_4196841
Level 3
Level 3
First like received First like given

Hi,

I am doing a project to show me on an LCD screen (I2C) the data that the DHT22 sensor collects.

The error I think is at the time of the notification, with the cypress APP when clicking on Notify does not change anything and doesn´t it show me the data.

I attached the programm.

I hope your answers. Thanks greetings.

0 Likes
1 Solution
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

In the project, you are trying to send the float values through the notification. But CyBle_GattsNotificationcan() accept only arrays of uint8 type. A float value may be represented in 4 bytes and you can send the Float value as an uint8 array with 4 elements.

Please let me know if this helps.

Thanks,

P Yugandhar.

View solution in original post

0 Likes
1 Reply
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

In the project, you are trying to send the float values through the notification. But CyBle_GattsNotificationcan() accept only arrays of uint8 type. A float value may be represented in 4 bytes and you can send the Float value as an uint8 array with 4 elements.

Please let me know if this helps.

Thanks,

P Yugandhar.

0 Likes