Apps     Components     Interfaces     All Files     Source Tree     source: tos.lib.Util.Debugger.nc

Interface: Debugger

Components providing this interface:
tos.lib.Util.UartDebuggerM

Components requiring this interface:
apps.TestUart.TestUartM

Commands

Events

Commands - Details

writeString

result_t writeString(char *msg, uint8_t len)

Write the specified msg of the specified length Note that msg must not be allocated on the stack of the caller, and that the caller may not reuse msg until after writeDone is signalled.

Parameters:

msg - The message to write

len - The length of the message

Returns: FAIL if the command did not success, SUCCESS if it was issued and will be acknowledged with a writeDone

writeLine

result_t writeLine(char *msg, uint8_t len)

Write the specified msg of the specified length on a new line Note that msg must not be allocated on the stack of the caller, and that the caller may not reuse msg until after writeDone is signalled.

Parameters:

msg - The message to write

len - The length of the message

Returns: FAIL if the command did not success, SUCCESS if it was issued and will be acknowledged with a writeDone