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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

116 Views
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 Kudos
4 Replies

109 Views
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 Kudos

100 Views
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 Kudos

85 Views
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 Kudos

77 Views
1758793535
Contributor I

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

0 Kudos