I'm attempting to run the Simplemail demo using the CC3000/MSP430FR5739 evaluation kit. After a bit of tinkering (updating firmware via the Patch Programmer, etc.), I now have SmartConfig working consistently and the CC3000 connects to my secured Wi-Fi router (AP) without problem. A few weeks back I did get the Simplemail demo to work and was able to send an email from the CC3000 to my regular email account. Unfortunately it no longer seems to work.
CC3000: flashed with 1.13 (PatchProgrammerMSP430FR5739-1.13.7.15.28)
Simplemail: using source directly from SDK 1.11
Terminal reports: "Email App Version 1.2.7.15" when code is run
I set a few breakpoints to track down the error and it appears that both of the connect() calls in smtpConnect() in smtp.c are always returning -1 (error). Sometimes gethostbyname() fails so the code uses the hardcoded IP address of smtpcorp.com but the connect() call in either case always returns -1.
In one attempt to fix this problem, I:
- re-flashed the boards with 1.13 via Patch Programmer
- copied the CCHostDriver source directory from the 1.13 release into my working copy of the Simplemail demo (i.e. I replaced the 1.11 version of CCHostDriver with the 1.13 version)
- re-built all the Simplemail code (e.g. CCHostDriver, CC3000 Spi, HyperTerminal Driver and Simplemail)
- ran the code and used SmartConfig to re-associate the CC3000 with my AP
Unfortunately these steps didn't seem to make any difference.
Any suggestions? I'm supposed to demo this to a client this afternoon (sigh).
Thanks,
Craig