Need some help implementing a WiFi radio
Posted: Thu Dec 20, 2012 3:49 pm
Hi all,
I am still pretty new to the hardware and software involved with the Netburner platform. I'm kind of learning as I go and I'm getting a decent understanding of how the netburner module itself works from a software standpoint and a little on the hardware side but I'm now to a point where I know I am going to need outside help.
I have an implementation that uses a 5270. It sets up a pretty basic TCP Client that receives single byte messages and translates those messages to GPIO commands. Depending on the byte received it may have to send an acknowledgement byte back to the server. There's also a DMA interrupt so it can execute multiple commands at a time, but for the purposes of this question: TCP Client that receives and sends single bytes.
Now I want to take this implementation and make it wireless. I'm a little leery about developing it with the current NB wireless card because of the question of availability and I'm hoping to have something ready by Feb-Mar so I'm trying to get the development work done now. So I started looking around and decided on a module developed by a newer company called Bluegiga, a WF121. Unfortunately, because they are a newer company they have a limited amount of documentation and their customer service so far leaves something to be desired.
I'm not sure if the documentation for this WF module is readily available or not. Near as I could tell I couldn't get much in the way of documentation until I signed up for an account on their website. If anyone would like to see any of the documentation I can attach them. I have a datasheet, a ref man for their BGScript language, and another ref man for equivalent C++ commands for their BGScript language.
The WF121 module has three interface types: I2C, SPI, and UART. The only way to connect the module directly to a computer out of the box to load firmware to it is using a USB/UART converter which I don't yet have access to because I don't have a PCB laid out for my implementation yet. The catch is I'm avoiding laying out a PCB because prototyping them is expensive and I don't want to order them until I have a final design planned.
Anyway, I'm mostly needing a step in the right direction. I think the best way to start out going about this is to go ahead and interface the WF121 with the NB Module and have the NB module start loading commands to the WF121 over whichever interface is most appropriate. My preference would be to have the WF121, on startup: determine an ip, connect to the given network, start a TCP client and simply send the received bytes to the NB when ready. Any combination between the NB and the WF is fine as long as it accomplishes the TCP Client task over a wireless network. But given that this is a third-party wireless card and my lack of knowledge when it comes to the interface programming, any help is greatly appreciated because some guidance will be a lot smoother than me stumbling around in the dark.
I am still pretty new to the hardware and software involved with the Netburner platform. I'm kind of learning as I go and I'm getting a decent understanding of how the netburner module itself works from a software standpoint and a little on the hardware side but I'm now to a point where I know I am going to need outside help.
I have an implementation that uses a 5270. It sets up a pretty basic TCP Client that receives single byte messages and translates those messages to GPIO commands. Depending on the byte received it may have to send an acknowledgement byte back to the server. There's also a DMA interrupt so it can execute multiple commands at a time, but for the purposes of this question: TCP Client that receives and sends single bytes.
Now I want to take this implementation and make it wireless. I'm a little leery about developing it with the current NB wireless card because of the question of availability and I'm hoping to have something ready by Feb-Mar so I'm trying to get the development work done now. So I started looking around and decided on a module developed by a newer company called Bluegiga, a WF121. Unfortunately, because they are a newer company they have a limited amount of documentation and their customer service so far leaves something to be desired.
I'm not sure if the documentation for this WF module is readily available or not. Near as I could tell I couldn't get much in the way of documentation until I signed up for an account on their website. If anyone would like to see any of the documentation I can attach them. I have a datasheet, a ref man for their BGScript language, and another ref man for equivalent C++ commands for their BGScript language.
The WF121 module has three interface types: I2C, SPI, and UART. The only way to connect the module directly to a computer out of the box to load firmware to it is using a USB/UART converter which I don't yet have access to because I don't have a PCB laid out for my implementation yet. The catch is I'm avoiding laying out a PCB because prototyping them is expensive and I don't want to order them until I have a final design planned.
Anyway, I'm mostly needing a step in the right direction. I think the best way to start out going about this is to go ahead and interface the WF121 with the NB Module and have the NB module start loading commands to the WF121 over whichever interface is most appropriate. My preference would be to have the WF121, on startup: determine an ip, connect to the given network, start a TCP client and simply send the received bytes to the NB when ready. Any combination between the NB and the WF is fine as long as it accomplishes the TCP Client task over a wireless network. But given that this is a third-party wireless card and my lack of knowledge when it comes to the interface programming, any help is greatly appreciated because some guidance will be a lot smoother than me stumbling around in the dark.