I'm using the Adafruit_CC3000.h library to connect my wireless device to a TCP/IP listener
In my sketch I'm connecting to a listener using:
client = cc3000.connectTCP(ip, port)
One connection is established, I want to write a string to it but apparently
client.write("my test string")
is not accepted.
Any ideas on how to send a string?
CC3000 write
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: CC3000 write
By which side and what indications do you get?but apparently
client.write("my test string")
is not accepted.
- Akubra
- Posts: 7
- Joined: Wed Sep 03, 2014 6:45 am
Re: CC3000 write
Had to change the code on the receiving end (and use client.print instead of client.write)
It's working now. Thanks.
A.
It's working now. Thanks.
A.
Please be positive and constructive with your questions and comments.