- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.