| 
    Link Kit C-SDK
    4.0.0
    
   | 
 
用以向SDK描述其运行硬件平台的资源如何使用的方法结构体 更多...
#include <aiot_sysdep_api.h>
Public 属性 | |
| void *(* | core_sysdep_malloc )(uint32_t size, char *name) | 
| 申请内存  更多... | |
| void(* | core_sysdep_free )(void *ptr) | 
| 释放内存  更多... | |
| uint64_t(* | core_sysdep_time )(void) | 
| 获取当前的时间戳,SDK用于差值计算  更多... | |
| void(* | core_sysdep_sleep )(uint64_t time_ms) | 
| 睡眠指定的毫秒数  更多... | |
| void *(* | core_sysdep_network_init )(void) | 
| 创建1个网络会话(L3层)  更多... | |
| int32_t(* | core_sysdep_network_setopt )(void *handle, core_sysdep_network_option_t option, void *data) | 
| 配置1个网络会话的连接参数  更多... | |
| int32_t(* | core_sysdep_network_establish )(void *handle) | 
| 建立1个网络会话, 作为MQTT/HTTP等协议的底层承载  更多... | |
| int32_t(* | core_sysdep_network_recv )(void *handle, uint8_t *buffer, uint32_t len, uint32_t timeout_ms, core_sysdep_addr_t *addr) | 
| 从指定的网络会话上读取  更多... | |
| int32_t(* | core_sysdep_network_send )(void *handle, uint8_t *buffer, uint32_t len, uint32_t timeout_ms, core_sysdep_addr_t *addr) | 
| 在指定的网络会话上发送  更多... | |
| int32_t(* | core_sysdep_network_deinit )(void **handle) | 
| 销毁1个网络会话  更多... | |
| void(* | core_sysdep_rand )(uint8_t *output, uint32_t output_len) | 
| 随机数生成方法  更多... | |
| void *(* | core_sysdep_mutex_init )(void) | 
| 创建互斥锁  更多... | |
| void(* | core_sysdep_mutex_lock )(void *mutex) | 
| 申请互斥锁  更多... | |
| void(* | core_sysdep_mutex_unlock )(void *mutex) | 
| 释放互斥锁  更多... | |
| void(* | core_sysdep_mutex_deinit )(void **mutex) | 
| 销毁互斥锁  更多... | |
用以向SDK描述其运行硬件平台的资源如何使用的方法结构体
| void*(* aiot_sysdep_portfile_t::core_sysdep_malloc) (uint32_t size, char *name) | 
申请内存
| void(* aiot_sysdep_portfile_t::core_sysdep_free) (void *ptr) | 
释放内存
| uint64_t(* aiot_sysdep_portfile_t::core_sysdep_time) (void) | 
获取当前的时间戳,SDK用于差值计算
| void(* aiot_sysdep_portfile_t::core_sysdep_sleep) (uint64_t time_ms) | 
睡眠指定的毫秒数
| void*(* aiot_sysdep_portfile_t::core_sysdep_network_init) (void) | 
创建1个网络会话(L3层)
| int32_t(* aiot_sysdep_portfile_t::core_sysdep_network_setopt) (void *handle, core_sysdep_network_option_t option, void *data) | 
配置1个网络会话的连接参数
| int32_t(* aiot_sysdep_portfile_t::core_sysdep_network_establish) (void *handle) | 
建立1个网络会话, 作为MQTT/HTTP等协议的底层承载
| int32_t(* aiot_sysdep_portfile_t::core_sysdep_network_recv) (void *handle, uint8_t *buffer, uint32_t len, uint32_t timeout_ms, core_sysdep_addr_t *addr) | 
从指定的网络会话上读取
| int32_t(* aiot_sysdep_portfile_t::core_sysdep_network_send) (void *handle, uint8_t *buffer, uint32_t len, uint32_t timeout_ms, core_sysdep_addr_t *addr) | 
在指定的网络会话上发送
| int32_t(* aiot_sysdep_portfile_t::core_sysdep_network_deinit) (void **handle) | 
销毁1个网络会话
| void(* aiot_sysdep_portfile_t::core_sysdep_rand) (uint8_t *output, uint32_t output_len) | 
随机数生成方法
| void*(* aiot_sysdep_portfile_t::core_sysdep_mutex_init) (void) | 
创建互斥锁
| void(* aiot_sysdep_portfile_t::core_sysdep_mutex_lock) (void *mutex) | 
申请互斥锁
| void(* aiot_sysdep_portfile_t::core_sysdep_mutex_unlock) (void *mutex) | 
释放互斥锁
| void(* aiot_sysdep_portfile_t::core_sysdep_mutex_deinit) (void **mutex) | 
销毁互斥锁
 1.8.11