Yes, in the code on codeplex there is an InternetTimeExample based upon UDP.
And I can confirm it is working, at least my try outs, I easily succeeded in sending UDP from CC3000 module using a previous version of the s/w that sends an UDP packet to my laptop. The only thing not I couldn’t get working was a broadcast on 188.8.131.52:1900 it seems though that is/was caused by the cc3000 not being on the last patch version. Still trying …
No. For good or bad, I wrote this code from scratch. I didn’t port it because the C++ from TI was too dissimilar from C# and the architecture was not great. The github link for the adafruit source returns a 404 (https://github.com/adafruit/Adafruit_CC3000), but it is likely just a modified version of the source code TI provides which is what the Arduino port is by Chris Magagna.
I can say that unlike the adafruit library, mine supports TCP right now as shown by the web server sample. Also, mine supports DHCP by default to get an IP address.
@ ValkyrieMT tried patch 11 UDP works ok although I’m not sure about the broadcast though …
Super, thanks for validating that PiWi. If broadcast doesn’t work we’ll probably have to pester TI about a firmware fix.
Question: Which framework version are you using on the CerbuinoBee ?
I’ve tried the exact same code to send to exact same msg via UDP to 184.108.40.206:1900. When I do this on PC, my monitoring tool detects the message and I can look at the details and msg arrives as defined in the sending part. When I execute the code on a CC3000 the msg does not show up in the monitoring tool but than again using your latest SW and patch 11 it kind of arrives since a lot of answer msgs arrive on the same port when listening to it.
@ Valkyrie - 4.3 on the cerbuinobee or another device ?
I’m having considerable instabilities with the UDP stuff that will only work very sometimes. I got it to have it working just 2 times out of more than 10 times. Try a lot like rebooting power cycling but no succes yet … I was wondering if maybe 4.3 where to stable out something …
I just patched my second boost to the 19th patch (=V1.11) but that one does not go with the software.
Example App:driver version 220.127.116.11
Smart config DONE
But in VS using the same code:
CC3000 UDP Example
Sending - Simple Link Start
Send 4000 starting
Setting Event Mask
Send 0008 starting
Requesting SP Version
Send 0207 starting
Requesting Buffer Size
Send 400B starting
Send 2001 starting
The thread '<No Name>' (0x3) has exited with code 0 (0x0).
Resetting Connection before setting Policy.
Send 0002 starting
Setting Connection Policy.
Send 0004 starting
Attempting Connection to AK16-US
Send 0001 starting
This looks like the old story when updating the 1st one … no response … using same HW setup with resistors.
@ Gus. Porting the firmware patch code is probably non-trivial but do-able. And currently, I patched my other devices with a TI Stellaris board, but that won’t work for folks buying a gadgeteer board as they won’t be able to hook it to a Stellaris easily. But, apparently, TI is distributing CC3000MOD chips with fully updated firmware. The board I just got from Adafruit appears to have the latest firmware – “SP Version is 0.6.1.19”. The ones I have from Digikey and the ones on the GHI CC3000 modules appear to be older. Notice the Adafruit cc3000 chip has completely different engraving with an FCC ID even. We NEED these to be on the Gadgeteer modules. The older firmware does not even work for TCP. So before ya’ll go off and buy a bunch of these, I wanted you to be aware of this. Attached is a picture for illustration…
What’s also interesting is that the picture on Adafruit’s page shows the old chip… Also, I read on their forum that some folks want to update the firmware but can’t because they don’t support it. So clearly, this was luck of the draw…
Oh, and by the way, to use the Adafruit board, you have to supply a separate power source with 5VDC otherwise, the Interrupt pin does not put out enough voltage for the CerbuinoBee to read it on the InputPin, so I can’t exactly recommend anyone try this…