Hi,
I am running the "CC3000 Basic Wi-Fi example application for MSP430". I can load and run the example project. I can do following without any errors: - First time config - Assign static IP and perform Ping (I can see the ping return packets also in wireshark and on command line via ping) with below command
/*** Set IP address of 192.168.1.105 and default gateway of 192.168.1.1 ***/
08c0a80169c0a80101
I want to test send Data and Receive Data now. But having some problems with it.
SEND DATA
==========
I am following below commands:
1. For opening UDP socket 03
I am receiving DONE response on the hyperterminal.
2. For sending data of 12345 to 192.168.1.105 (CC3000 IP address) on socket 4444 (0x115c)
04051234502115CC0A80169
I tried below command as well assuming that send command is for sending out from CC3000 which has IP address of my PC 192.168.1.100 which is connected with TP-LINK switch. I don't see anything on the wireshark coming out from CC3000 with srouce IP 192.168.1.105 to destination IP 192.168.1.100
04051234502115CC0A80164
Question#1: Is this send command for sending data out from CC3000 OR sending data to CC3000?
Question#2: Above commands are printing DONE on Hyperlink but how can I make sure that data is really sent?
Question#3: Are there any prints which I can enable in the example project which can print out CCS debug information on CCS console?
RECEIVE DATA
============
I am following below commands:
1. For opening UDP socket 03
Question#4: Do I have to open the socket if I already opened it for SEND DATA?
2. Binding socket to a port 51000 06C738
Question#5: What is the significance of port#51000? Can I select any port number here OR it has to match with something?
3. Receive data command 05
Question#6: Is this receive data to CC3000 (and so to MSP430) OR it is receive data to PC or some other network device (and so MSP430 and CC3000 has to send something out)?
Question#7: How can I test receive data here?
Regards,
BK