Hi!
Goal: I want to send as much data as possible using CoAP.
I have connected a nRF52 (IoT-DK) to a Raspberry Pi using BLE and 6LoWPAN. The nRF52 is running the CoAP Observable server example, and I am able to observe the state of LED3 from the Pi.
In my project it would be preferable to send as much data as possible. To make it simple, I just changed *str in the method led_value_get, to for instance "Current data: 210, 220, 205". This works great, but the board crashes at runtime (all four LEDs flashing) if the *str is bigger than about 200 bytes.
Is there a simple way that I can change the memory allocated of the *str field, so that it can hold and send a bigger char array in this example project?
Thanks a lot!
Regards, Sindre Schei, M.Sc Student, Department of Telematics, NTNU