scan wifi and parser the text a internal table

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

scan wifi and parser the text a internal table

466 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Maverik on Tue May 10 05:10:11 MST 2016
Hello, I'm new and I need some help.

I have a Wifly 171RN connected to the UART 3 of a LPC1769 and CP2102 connected to the UART 0 of the LPC. I need to do a scan and parse the Wifly scan data to catch only the networks that interest me:

Make scan
Parser each line and take out the pair SSDI - RSSI
I keep it in an internal table
I send by the UART.
Wait 10 seconds and re-do all

and not know where to start.

Thanks and regards

PD: I apologize for my poor English
Labels (1)
0 Kudos
3 Replies

442 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Maverik on Tue May 10 09:57:04 MST 2016
Thank you for answering rocketdawg.

It is a practice course. I need to read from the UART0 input and store the contents on a table or array. But:
- I do not know how you read the UART and save the data in a table or array.
- Separator input data is a ","
- Keep them in different fields.
The data received is the "scan" command module wifly 171RN.

I have to understand how to program

0 Kudos

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rocketdawg on Tue May 10 09:22:31 MST 2016
So you are building a device finder or a simple packet sniffer.
Big Job.
go here to get Microchips wifi stack
http://www.microchip.com/design-centers/wireless-connectivity
then read the licensing docs.
If Microchip is OK with you running their stack on ARM parts, then you would have to port it to ARM.

The rest is cake, just capture all the packets with beacons and probes and decode them to get all the goodness out of them.

I am sure you mean SSID rather the SSDI.
0 Kudos