mortonkopf
Well-known member
hello all, I need some help in understanding some of the basics with the CC3000. It could easily be that I have not understood the basics of how network dialogue works, its all new to me. I have the breakout board set up and working with Teensy 3.0, i can run the various tests which work giving the appropriate responses tot he serial monitor, and I can use jesperravn's tweaks to set a static IP address on the module. I am running an application on my macbook that spits out information to a given IP and port. My question is, can I set up the cc3000 module to listen for this info and print to the serial port by simple setting up a client and println? Would more of a "pairing process" to the send computer be required?
something like this:
Adafruit_CC3000_Client client;
and then in the loop:
if(client.available()) {
client.read(packetBuffer, sizeof(packetBuffer));
Serial.println(F(packetBuffer));
}
Of course, all the defines for cc3000 and begin() etc would be included.
thanks for any help
mortonkopf
something like this:
Adafruit_CC3000_Client client;
and then in the loop:
if(client.available()) {
client.read(packetBuffer, sizeof(packetBuffer));
Serial.println(F(packetBuffer));
}
Of course, all the defines for cc3000 and begin() etc would be included.
thanks for any help
mortonkopf
Last edited: