arm-linux-阿里云SDK接入笔记1

1、Link SDK3.0.1下载

https://help.aliyun.com/document_detail/96575.html?spm=a2c4g.11186623.3.3.f0f5316fIICtGM

2、根据高级系统集成SDK移植步骤生成libiot_sdk.alibiot_tls.a

https://helpcdn.aliyun.com/document_detail/97566.html?spm=a2c4g.11186623.6.614.50d479b7RZgb3C

3、移植ubuntu下的HAL配置文件,直接复制,参考:(开发未适配平台的HAL层)

https://help.aliyun.com/document_detail/97559.html?spm=a2c4g.11186623.6.598.795d4c93SDKdyZ

4、将
/home/miya/linux/aliyun_connect/3.x_mq_test2/output/release/bin的mqtt-example可执行文件拷贝到
/home/miya/linux/nfs/rootfs/lib/modules/4.1.15中,执行./mqtt-example
5、输出结果与ubuntu下的快速体验一致:

> {
>     "message": "hello!"
> }


< {
<     "message": "hello!"
< }

example_message_arrive|031 :: Message Arrived:
example_message_arrive|032 :: Topic  : /g1uqs46Vt1T/2021_0111/user/get
example_message_arrive|033 :: Payload: {"message":"hello!"}
example_message_arrive|034 :: 
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值