Behavior of BTPipeOut


I’m migrating a project from XEM6010 to XEM6310.

I’m having this problem with BTPipeOut.

With XEM6010 I could input a length that is not a multiple of block size, and the actual transfer is rounded down to the nearest multiple of block size. This behavior is described in API 4.0 docs, and also API 4.2.5 behaves in the same manner.

Instead with XEM6310, a get a -15 error. Is this an intended behavior?


Yes. We no longer round to the block size, we report an error. This is our preferred behavior as it provides a certain indication of an invalid parameter rather than just “fixing” it.