Hello again, thanks for the quick response. I tried to define the TOSH_DATA_LENGTH in the make file but i received many redefinition warnings. Then i tried to send a coap request with payload bigger than 54 bytes but again i never received it at the destination. In some level the packet gets discarded. The COAP_MAX_PDU_SIZE is set at 700.
Do you think that this happens because of the above warning or am i missing something in the implementation that handles the fragmentation? I should mention that i am using coap-03 . So what i am asking is if it is possible to send data bigger than the 802.15.4 frame without having to handle the fragmentation yourself. Thnx in advance, V. K. On Tue, Nov 20, 2012 at 2:17 PM, Markus Becker <[email protected]>wrote: > > Hello to everyone! > > > > Newbie to this list.. I'm trying to send a response from the sensor motes > > (TelosB) following the linking format template, i.e. reply with a char * > of > > the following format: "<s>;attribute1=10;attribute2=5;". However I > > experience severe limitations with the length of the string that prevent > > the response from being sent (If I guess correctly). > > > > Any ideas on how to overcome this? Does libcoap provide any mechanism for > > sending messages bigger than the maximum payload of the 15.4? > > You might want to play with TOSH_DATA_LENGTH, so that the actual fixed size > TinyOS 15.4 message payload is larger. blip should also fragment the CoAP > payload. > > For the CoapBlip version currently in SVN and in the last release, the > maximum > CoAP payload is set to: > > support/sdk/c/coap/pdu.h:#define COAP_MAX_PDU_SIZE 700 /* maximum > size of a CoAP PDU */ > > If you want, you could also try coap-12 CoapBlip, which is currently in our > development git. > > Markus > > > Thnx in advance, > > > > V.K. > ------------------------------------------------ > | Dipl.-Ing. Markus Becker > | Communication Networks > | TZI - Center for Computing Technologies > | University Bremen > | Germany > ------------------------------------------------ > | web: http://www.comnets.uni-bremen.de/~mab/ > | mailto: [email protected] > | telephone: +49 421 218 62379 > | building: NW1 room: N2260 > ------------------------------------------------ > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
