- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For my current project am using CYBLE-00120011-00 module
I have to transfer 512 Bytes of data from windows application to my custom design board.
For same purpose i am using BLE-UART example project.
but from windows application only receiving 20 bytes of data.
and from my board can send up to 176 bytes of data.
can anyone please help,
Regards,
sagar
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sagar,
Did you tested with our CySmart PC?
I didn't find any issue on testing with CySmart PC.
Are you using a custom windows application and you got this issue? IF then, after setting the MTU as 512 , did you send a MTU exchange request from your client application? By default the MTU size is 23. If you want to use MTU size more than 23, client have to send MTU exchnage request. In the case of CySmart PC, it is doing automatically. Make sure you windows application is doing the same.
Thanks,
Anjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sagar,
Did you changed the MTU size to 512?
Also please make sure your characteristic characteristic length in BLE component 'profile' tab setting from 20 to 512.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anjana
Thanks for reply,
I updated as you suggested PFA,
but if i change characteristic length to 512 it will through RAM full error so i have came to in between values but still i am getting 20 Bytes only
please go through the attachments suggest if i am doing something incorrect
Regards,
sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Iirc, the actual data transmissions break the data up into 20-byte chunks for RF transmission; Have you tried seeing if more data comes through on the next BT packet? With sending 80 bytes for example, I would expect 4 packets of data relating to that "array".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sagar,
Please share your project as well as steps to reproduce.
So that we can look into it.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anjana
Thanks for reply,
I am attaching my project here.
aim of the project
3. Implement low power modes but till now could not achieve.
1."windows application(C++) to CYBLE to UART" send and receive minimum 512 bytes
2.How i have done:-
"UART to CYBLE to windows application(C++)" using NOTIFICATION (can receive data in interval,no data corruption over the air ) .
"windows application to CYBLE to UART" using WRITE WITHOUT RESPONSE (even if send 40 bytes or more only receive 20 bytes always).
I have used BLE-UART-PERIPHERAL from 100 days 100 project github link.
Thanks,
SAGAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
Can i get some help out here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sagar,
Did you tested with our CySmart PC?
I didn't find any issue on testing with CySmart PC.
Are you using a custom windows application and you got this issue? IF then, after setting the MTU as 512 , did you send a MTU exchange request from your client application? By default the MTU size is 23. If you want to use MTU size more than 23, client have to send MTU exchnage request. In the case of CySmart PC, it is doing automatically. Make sure you windows application is doing the same.
Thanks,
Anjan