Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbedConnectorInterface by
Diff: api/DynamicResource.cpp
- Revision:
- 25:1fc958ac14d1
- Parent:
- 24:a6915e19814e
- Child:
- 27:eb6818ad257a
diff -r a6915e19814e -r 1fc958ac14d1 api/DynamicResource.cpp
--- a/api/DynamicResource.cpp Fri Mar 20 04:08:59 2015 +0000
+++ b/api/DynamicResource.cpp Fri Mar 20 05:32:16 2015 +0000
@@ -105,7 +105,10 @@
sn_coap_hdr_s *coap_res_ptr = 0;
// create our key for debugging output...
+ DataWrapper *hold = this->getDataWrapper();
+ this->setDataWrapper(NULL);
string key = this->coapDataToString(received_coap_ptr->uri_path_ptr,received_coap_ptr->uri_path_len);
+ this->setDataWrapper(hold);
if(received_coap_ptr->msg_code == COAP_MSG_CODE_REQUEST_GET) {
coap_res_ptr = sn_coap_build_response(received_coap_ptr, COAP_MSG_CODE_RESPONSE_CONTENT);
