OpenTP1 Version 7 Programming Reference C Language

[Contents][Index][Back][Next]

Message log reporting (dc_log_~)

This section explains the syntax of the OpenTP1 library functions for receiving message logs to obtain the status of OpenTP1. The functions for reporting message logs are as follows:

The function (dc_log_~) for reporting message logs can be used only for TP1/Server Base. For TP1/LiNK, the function cannot be used.

Only the application programs created for reception can receive message logs. OpenTP1 UAPs (SUP, SPP, and MHP) cannot receive message logs.

Notes on receiving message logs

Note the following when receiving message logs:

  1. The functions dc_log_notify_open(), dc_log_notify_receive(), and dc_log_notify_close() cannot be executed in the interrupt routine.
  2. Some message logs cannot be received, depending on when the function dc_log_notify_receive() is called. The following message logs cannot be received:
    • Message logs output by OpenTP1 while the application program is stopped, before the program calls the function dc_log_notify_open(), or after it calls the function dc_log_notify_close().
    • Message logs reported by OpenTP1 after the save area becomes full if the function dc_log_notify_receive() is not called.