Solvline Eddy DKV2.1.0.3 User Manual

Page 100

Advertising
background image

Chapter 6. Library

Introduction

100

each application is set ON.

SB_LogDataPrint

Function

Print each byte of data in hex or ascii code.

Format

void SB_LogDataPrint (char *RTx, char *buff, int data_len);

Parameter

*RTx

Description message of data

*Buff
Data_len

Buffer address of data to be printed is saved/
Size of data.

Returns

None

Notice

Prints messages to telnet which logged in first.
The message include Eddy’s tick counter of 1msec unit and printed in
following form.
SB_LogDataPrint (‚Send‛, ‚\t12345\n‛, 8);
[191020202] Send 8 = 08,1,2,3,4,5,0d,0a
-------------- ------- ------ -----------------------
Tick Counter RTx data_Len buff
Debugging of each application in Eddy can be configured as follows by
using Def command. (Please see def.c)
# def po <1/2/all> debug <on/off>

SB_LogMsgPrint

Function

Prints in the same format as Printf.

Format

void SB_LogMsgPrint (const char *Format, . . . );

Parameter

*Format

Format of Printf

Returns

None

Notice

Prints messages to telnet which logged in first.
The message include Eddy’s tick counter of 1msec unit and printed in
following form.
SB_LogMsgPrint (‚%s means Real-Time\n‛, ‚Eddy‛);
[191020202] Eddy means Real-Tile
Debugging of each application in Eddy can be configured as follows by
using Def command. (Please see def.c)
# def po <1/2/all> debug <on/off>

Advertising