QN9080-001-M17-Wireless-uart- Automatically receive data

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

QN9080-001-M17-Wireless-uart- Automatically receive data

1,263件の閲覧回数
1758793535
Contributor I

I use "BleApp_ Flushuartstream "function defines an array. I want to use this function to automatically send my customized array to my mobile phone。

 

There were no errors when compiling

but it doesn't seem to work. What should I do?

MM3DUX25XAL)HNXT}BHE987.png

0 件の賞賛
返信
4 返答(返信)

1,256件の閲覧回数
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi,

 

What app are you using on your phone? If you use the IoT Toolbox app, and send a number like in your code (1,2,3,4), you won't be able to see it. You should send "1", "2", "3", "4".

 

Regards,

Ricardo

0 件の賞賛
返信

1,247件の閲覧回数
1758793535
Contributor I

Yes, I use IOT toolbox. I've changed the array to a character type, but the function that sends air data doesn't seem to automatically send the character array to my phone. Do I need to modify some code?

0 件の賞賛
返信

1,232件の閲覧回数
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi,

 

Yes, you are correct. The Wireless UART example sends the information received from the serial terminal over the air. For the modification you made, your information will be sent until you receive it through the serial terminal

Now that you can send to your cell phone, what you have to do is use a timer so that you don't need to wait for a stream through the serial terminal, and you can send your data over the air.

Hope this makes sense.

 

Regards,

Ricardo

0 件の賞賛
返信

1,224件の閲覧回数
1758793535
Contributor I

Please help me. I don't know how to add a timer in this.

0 件の賞賛
返信