AliOS Things API HAL TRACE Guide - Shaofa/AliOS-Things-Certification-Manual GitHub Wiki

API INDEX


1-trace_hal_init

void *trace_hal_init(void)
  • Description

    trace data transfer init.

  • Parameters

    None.

  • Returns

    None.

2-trace_hal_send

ssize_t trace_hal_send(void *handle, void *buf, size_t len)
  • Description

    trace data transfer send.

  • Parameters

    IN/OUT NAME DESC
    [in] handle data transfer channel object
    [in] buf the buffer store data
    [in] len the len of data
  • Returns

    the size send success.

3-trace_hal_recv

ssize_t trace_hal_recv(void *handle, void *buf)
  • Description

    trace data transfer receive.

  • Parameters

    IN/OUT NAME DESC
    [in] handle data transfer channel object
    [in] buf the buffer to store data
  • Returns

    the size receive success.

4-trace_hal_deinit

void trace_hal_deinit(void *handle)
  • Description

    trace data transfer init.

  • Parameters

    IN/OUT NAME DESC
    [in] handle data transfer channel object
  • Returns

    None.

⚠️ **GitHub.com Fallback** ⚠️