Never mind, I think I got it working.
The problem it seems is that the Array has to be a const or declared inside the
method.
Even though the compiler doesn’t throw a warning / error, thats what it needs.
PS, doing a os_mbuf_clear_chain and then doing os_mbuf_get is that an
efficient way to
Hi Aditya,
On Sat, Mar 31, 2018 at 5:51 AM, Aditya Xavier wrote:
> Increasing MSYS_1_BLOCK_COUNT to 30 gets it to work, but if I increase it to
> 40 it doesn’t.
> Block size being 110.
>
> Any reasoning behind this pattern?
This is strange. Can you post some piece of code
Increasing MSYS_1_BLOCK_COUNT to 30 gets it to work, but if I increase it to 40
it doesn’t.
Block size being 110.
Any reasoning behind this pattern?
Also what would is behaviour of os_mbuf_free? Do I need to re init it again?
Sent from my iPhone
> On 30-Mar-2018, at 1:58 AM, Christopher
On Thu, Mar 29, 2018 at 10:27:36PM +0530, Aditya Xavier wrote:
> Thanks for the tip. Would try that too..
>
> However, I have tried few variations to check the BLE side ( whether it was
> responsible for truncating )
>
> 1. I am able to send the same message using encoding only.. i.e. if I
Hi Aditya,
On Thu, Mar 29, 2018 at 08:52:08PM +0530, Aditya Xavier wrote:
[...]
> And it doesn’t work when am trying to trigger it from BLE.
>
> Assuming it was a memory issue, I used a mem_pool, mbuf, allocating
> and reserving space. However, problem remains.
>
> It usually encodes and sends