LPC54018,running both https get and mqtt client in the same device

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC54018,running both https get and mqtt client in the same device

994件の閲覧回数
nick_ng
Contributor I

Hi,

I am running out of idea how to make my https get connection works while my mqtt client has already connected to a broker and running.

Are there any hints/tips on running https connection,i.e. getting a file over https while keeping a mqtt client connecting to another broker ?

For example, do I need to disconnect the mqtt connection during the procedure of connecting the https server?

Thanks

ラベル(1)
タグ(1)
0 件の賞賛
返信
4 返答(返信)

863件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Nick,

I have asked AE team, I will give you a reply after I get feedback.

BR

XiangJun Rong

0 件の賞賛
返信

863件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Nick,

This is AE reply:

"You can use different sockets to connect mqtt server and https server that means you can keep mqtt connection while connecting https server.

"

BR

Xiangjun Rong

0 件の賞賛
返信

863件の閲覧回数
nick_ng
Contributor I

Hi Xiangjun,

Thank you for your reply.

I did the same thing.. but I got two issues..

1. When I was trying to run ONLY the httpS to get a file, I always not able to get the last embedtls buffer size packet e.g the last 4096 bytes of that file

2. When I was trying use both the mqtt and https all together in the awsfreertos i.e. mqtt connected and subscribed to some topics and then triggered a download action (HTTPS get), during the phase of hand shaking, it jumps to hardfault.

Any ideas?

Thanks in advance,

Nick

0 件の賞賛
返信

863件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Nick,

You have to get the line which leads to hardware fault error although it is difficult.

BR

XiangJun Rong

0 件の賞賛
返信