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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

892 次查看
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 回复数

885 次查看
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 项奖励

876 次查看
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 项奖励

861 次查看
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 项奖励

853 次查看
1758793535
Contributor I

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

0 项奖励