BLE - variable length of String | Cypress Semiconductor
BLE - variable length of String
'String' (ASCII code in array) which i 'reading' have variable length but in custom profile i have to declare constant length of utf8s.
1. For example When i reading value ('0x44, 0x45, 0x46') BLE sending '0x44, 0x45, 0x46, 0x00, 0x00, 0x00...' because in custom profile i declared length =50 I don't need this 0x00 there is any solution to send it without zeros?
2. When i start notify everything is ok... but when there is more than 20 bytes to send via notification it doesn't send anything.
How can i solve this problem?
3. Maybe there is any other possibility to send more than 20 bytes than notifications without reading?