Skip to content

BLE: It is no longer possible to send out data Fast! #12602

Closed
@CodingGhost

Description

@CodingGhost

Description of defect

Since the update to cordio, it seems impossible to send out a fast datastream.
we used to do it like the NORDIC devs recommended, by transmitting 20 bytes, as fast as we can, and repeat it, until the softdevice wont give error no 5 (busy). This was easy and very fast.
Cordio never givey me error 5, it always is no error, but if I send too fast, data gets lost.
another way would be to register the onDataSent event, but strangely this does not give back any information about the handle that the event is referring to, so its useless if you have more than 1 device connected.
Im not sure if these are bugs, but either way, its very Important!!
How can we do this with cordio?

Target(s) affected by this defect ?

NRF52

Toolchain(s) (name and version) displaying this defect ?

PlatformIO 4.2.1

What version of Mbed-os are you using (tag or sha) ?

5.14.1

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

none

How is this defect reproduced ?

try to send out data to multiple devices as fast as possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions