none
Ble chara writing to peripheral is slower RRS feed

  • Question

  • We could notice that the rate at which data chunks are written is so slow in windows comparing to MAC. I could go through the issues listed in windows 8.1 which was ensured to be fixed in next version. We are getting the same in windows 10. Hoping that the solution for this could be out somewhere, need help in finding out the same. 

    Currently writing the characteristics takes almost 1 second to complete which in turn reflects in the ble device speed. 


    Tuesday, July 2, 2019 12:02 PM

All replies

  • Hi Vikas,

    Thank you for posting here.

    For your question, could you tell me which API you used? what is your current project? It will be better for us to solve your problem better if you provide the related code.

    We are waiting for your update.

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, July 3, 2019 2:52 AM
    Moderator
  • var writer = new DataWriter();

    writer.WriteBytes(byteToWrite); var resultWriten = await masterWriteChara.WriteValueAsync(writer.DetachBuffer());

    The chunks we are sending is delivered to peripheral at a rate much slower compared to mac application of the same.  Currently the windows desktop application takes nearly 1second to finish a 300 byte data as chunks.

    I am in search of a solution which could improve the data writing speed.

    Wednesday, July 3, 2019 11:32 AM