When I am tring to connect Freescale BLE stack 4.1 (FRDM-KW40Z) with Mindtree BLE Stack, I am facing the problem with transfer bulk data.
I tried with sample program hid host as a Client and our application board as Server(Mindtree stack) . Client device discovered all service and charaterstics information provided by Server but when tring to send a Max size(23 byte) data from Client through following API,data transfer not happening and It's able to send only one byte of data.
GattClient_WriteCharacteristicValue(deviceId, &characteristic,streamSize, pRecvStream, TRUE, FALSE, FALSE, NULL);
Can anyone advise the correct procedure to write the Max size of data transfer from client to server.
Thank you very much!
Hi Rajarathinam Lawrence
Sorry for the late response. This could be a Server problem, in how do you configure the characteristics to take the data from the client. For the client configuration you could check the following doc from our colleague, here he explain how to read and write:
Modify and read characteristics with read and write requests
You could check it and tell me if you have any other question.
Have a great day,
Jorge Alcala
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------