How to code commands and data for wifi

I have an old Sparkfun Wifly board that connects fine once configured using the SpiUartTerminal sketch but is useless as the library no longer works in the modern Arduino IDE:

#include <WiFly.h>

I have the user guide and reference manual and would like to code the Wifly communication myself, to replace the library. SPI is set up and working as I can see the library get data back from the board but then fail (it can’t reboot the board and it misses chunks of data returned by the board).
How would I go about sending commands to the board. Is it just a case of using SPI? But there are no registers, e.g. to send the command and get the data back:

get ip

thanks.

I think Introduction to the Serial Peripheral Interface might be of use and it seems to be along the same lines of the Wifly library SpiDevice class that no longer works.

the library no longer works in the modern Arduino IDE:

What problems do you have with it ?

it can't reboot the board and it misses chunks of data returned by the board

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.