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.
_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev