他的回复:
可以参考https://github.com/LiteOS/LiteOS_Lab/blob/iot_**Link**/doc/Huawei_LiteOS_SDK_Coap_LwM2M_Developer_Guide_zh.md。 ![image.png](https://bbs-img-cbc-cn.obs.cn-north-1.myhuaweicloud.com/data/attachment/forum/201912/10/093150ft9xyrjll2kyqdjh.png) 如图所示,atiny_data_report()最终会调用到注册的.send函数,通过模组将数据发送出去。移植新模组的时候,需要实现上图中的接口。 顺带一提,你的代码已经比较旧了。最新SDK代码在https://github.com/LiteOS/LiteOS_Lab