Hi Team!
My customer has a question on writing to large characteristic (21 bytes) from an iOS application on CC2540.
Below is the concept my customer is trying to accomplish.
Currently they are trying to do a proof of concept for an idea that would involve writing to a characteristic from an iOS application. The goal was to be able to write from iOS to a characteristic that is larger than 20 bytes. They wrote an iOS app, and modified the firmware running on a 2540 to support a new service and characteristic. When writing to this characteristic from iOS, they are able to successfully write 20 bytes, but pushing this to 21 bytes causes an error saying that the values length is invalid. They are able to successfully read this characteristic.
They have verified that this happens in their own iOS app, and also the iOS app LightBlue. They have also confirmed on LightBlue on Android that the same occurs, they are able to read a 21 byte characteristic but not write.
The question is if you know if it is possible to write from iOS to a characteristic that is 21 bytes or more? Is there something that would need to be changed on the 2540 to support this?
Please let me know if you need any further information or clarification.
Thank you!
Peter