WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2017-Apr-05 05:28:34

boyheyt
Member
Registered: 2017-Apr-05
Posts: 23

How to transmit with my define payload ?

Hello !
My name ís Tien ! currently I'm research WARPv3 ^^. I use reference design and attempt to understand. My code skill not good !

  NOW . I want to transmit 1 data in the UART which the user enters (AP to STA) . end show data in UART on STA !

How to get it ?  what job i reasearch for it ?

Last edited by boyheyt (2017-Apr-05 22:03:24)

Offline

 

#2 2017-Apr-05 16:21:54

chunter
Administrator
From: Mango Communications
Registered: 2006-Aug-24
Posts: 1212

Re: How to transmit with my define payload ?

I'd caution against trying to use UART as your data source for transmission since it doesn't scale particularly well to real data sources. I think it would probably be better for you to look into the Ethernet portal subsystem or the LTG subsystem as examples of how to create, enqueue, and transmit data frames.

If you really want to use UART, you could generate and enqueue a data packet every time you hit a particular key on your keyboard by modifying the uart_rx() callback in any of the top-level applications. In that context, you could create a data payload with the "rxByte" argument that came from whatever key you pressed inside it.

Offline

 

Board footer