On 12/07/17 17:55, Mats Wichmann wrote:
On 07/11/2017 12:43 AM, 강태규 wrote:
for example at Arduino's ocserver.cpp
OIC_LOG_V(INFO, TAG, "Stack: %u Heap: %u", (unsigned int)&tmp, (unsigned int)__brkval);
OIC_LOG_V(INFO, TAG, "Unallocated Memory between heap and stack: %u",
((unsigned int)&tmp - (unsigned int)__brkval));
I can't find any log or message.
Any advices?
You have to chase this for a while because the logging is quite
platform-dependent. Macros and function prototypes are in logger.h
I don't know if you were specifically working on Arduino, but this
comment ought to be relevant to that case:
/**
* Initialize the logger. Optional on Android and Linux.
Configures serial port on Arduino
*/
void OCLogInit();
Hopefully someone more expert will respond further.
Warning for arduino LOG_V is not supported,
I pushed a patch to at least print source tag
https://gerrit.iotivity.org/gerrit/17439
It could be ported to 1.2-rel branch too,
would that help
--
mailto:[email protected] gpg:0x467094BC
https://blogs.s-osg.org/author/pcoval/
_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev