HI-2110的657sp3版本应用笔记之TUP

1. TUP是什么?

TUP是华为的搞的一套封装了标准Coap的函数,底层是Coap,上层是华为封装的一层收发函数,用来简化Coap的收发流程,最终只用6个函数搞定,不用懂Coap就可以的。

2. TUP的配置函数

tup_set_config();
tup_get_config():

3. TUP的发送函数和回调函数

tup_send_message();
tup_sent_mesage_callback();

4. TUP的接收函数和回调函数

tup_receive_message();
tup_set_message_received_callback();
原文地址:https://www.cnblogs.com/429512065qhq/p/8328386.html