Jump to content


  • Content Count

  • Joined

  • Last visited

About nitred

  • Rank

Profile Information

  • Gender
    Not Telling
  1. Hello, I have some updates. Unfortunately I haven't found a fix for my specific scenario where a particular router is exhibiting problems when the cc3200 transitions from AP to Station but another router seems to work fine, but I have a few observations and suggestions . 1) When the cc3200 is connected/connecting to a router as a Station the WiFi._connecting flag is set to 'true'. But when it transitions into an Access Point, then the WiFi._connecting flag is NOT reset back to 'false' Suggestion: "_connecting = false;" should be included at the end of WiFi.beginNetwork() /* Restar
  2. Hello I have a few updates, 1) Please ignore my earlier suggestion of including "WiFi._initialized = false;" & "WiFi._connecting = false;" in the WiFiClient.cpp file. Instead include those two lines of code in the Energia program before WiFi.begin() because they may cause some checks and balances to fail. 2) Be sure to include "WiFi._connecting = false;" before WiFi.begin() only when you're sure that you haven't called WiFi.begin() elsewhere in your code. 3) I've noticed that some routers seem to fail during the transition from STATION to AP to STATION in spite of the above men
  3. Thanks for this, I'll look up the code myself and see if I can post the results here. I wonder though if I can connect a pin to the SOP2 and pull that pin up to reset the board.
  4. The image found on the following link with CC3200 Launchpad should serve as a useful reference as to what each pin is capable of on the Energia Platform: http://energia.nu/wordpress/wp-content/uploads/2014/09/cc3200lppinmap.jpg You should use the pin numbers as seen in the image (black background with white numbers) to address every pin. Also you should look up this reference page which is similar to the Arduino and it is perhaps the best place to start to learn each pin config : http://energia.nu/reference/
  5. Hello, In the case there's no internet and I'm trying to connect to a TCP Server on the CC3200 using the following statement tcp.connect(remote_ip, remote_port) // WiFiClient.connect My program hangs for 30 SECONDS on the above statement. Is there a library file where I can reduce this timeout to something more reasonable like 5 seconds? Thanks!
  6. Hi, there's several occasions where I need a reset so that my program can start all over again. Is it possible to do this from the code directly? Thanks!
  7. Hi I have no idea about Tiva, but I just looked it up and I see that it is just a launchpad and I have some experience with CC3200 Lanuchpad. I was wondering about your problem and a doubt popped up as to how the Tiva knows what today's date is? Are you using an RTC?
  8. I'm working on CC3200. I know it says 256KB of RAM but I'm quite certain all that isn't available for stack or even for program memory because on Energia 13, my program size went upto about 80KB and Energia would complain that I'm over using memory by 8 Bytes. (I had to remove Serial debugs entirely for it to successfully compile). Luckily Energia 14 was released soon and the same program went only up to about 40KB. As to my current program, I went ahead and dropped Serial debugs entirely (including removing Serial.begin), I seemed to have saved about 3KB of program memory (And I'm sure so
  9. Hi @@spirilis I've been having a few problems with the library/RAM. Scenario: 1) My program is pretty long 2) I have many global variables (approximately 40) 3) I update the global variables in several functions. I usually get data from a UDP or TCP socket and put the data into these variables. 4) I then take the data from the global variables and update a FILE (using your library) # The problem I'm having is that, the moment I read the FILE into my BUFFER, it seems to OVERWRITE a few of my global variables with data from the FILE. Here's a general example : (Please note that
  10. Hey @@PaoloIT , it works great! Just one note, since you're asking us to add - "WiFi._initialized = false;" - "WiFi._connecting = false;" before WiFi.begin(*char ssid, *char pass) every time inside the sketch, I went ahead and added the two lines into the "WiFi.begin(*char ssid, *char pass)" method inside the WiFi.cpp file instead of adding them in my sketch. Everything seems to work fine with that too (I hope what I did doesn't mess things up). To make sure nothing is broken, I tested it in the following way: [AP--->UDP.begin()----->Station---->UDP.begin()----->AP.
  11. I don't think the API is fully compatible with other Libraries or Arduino's. I think I'll slowly work towards it. At the moment however I'm not sure there's libraries that will work with the CC3200 Launchpad so I was just filling the space, since I needed an RTC Library for myself. I'm more than happy to deprecate this one if a better library comes up. Thanks for the direction igor.
  12. Hi, I've made a very simple RTC library using the RTC method in the PRCM library. It is intended for the CC3200 Launchpad and has only been tested on the CC3200 Launchpad so far. Overview: Uses the PRCM library It follows UNIX Time It was made with the "Time" library of the Sparkcore in mind. It has the following methods:ccRTC.zone() ccRTC.now() ccRTC.year() ccRTC.month() ccRTC.day() ccRTC.weekday() ccRTC.hour() ccRTC.minute() ** ccRTC.begin() Limitations: (Unfortunately there are a few actual limitations) It is accurate to only about 4 seconds an hour. (That is pretty bad, but
  13. That sounds great! I wouldn't mind not ever knowing the passphrase as long as as it connects to a past profile or last successful smartconfig.
  14. Hi, I'm using a cc3200 Launchpad. On my first run, I provided the SSID and Passphrase to connect to my router as shown below: char ssid[] = "testrouter"; char passphrase[] = "testpassphrase"; WiFi.begin(ssid, passphrase); I've noticed that there was a recent addition into the WiFi.begin(ssid, pass) method in the WiFi.cpp file which seems to add the SSID and Passphrase into its own profile. if (iRet == 0) { sl_WlanProfileAdd(ssid, NameLen, 0, &SecParams, 0, 6, 0); _connecting = true; return status(); } else { return WL_CONNECT_FAILED; } I'm
  15. I added to craggmire's example a little bit and it works great! My only issue is that SerFlash.write was able to take "HelloWorld" as the only argument without a 'len' argument: size_t SLFS::write(const uint8_t *buffer, size_t len). I made sure to SerFlash.close() after every SerFlash.open() because I'm assuming that's how files are supposed to be handled. I could be wrong. Note: I used the latest "SLFS" files from Spirilis' github page. I used the latest files of "/hardware/cc3200/libraries/WiFi" & "/hardware/cc3200/cores/cc3200" from the Energia github page. Here's the e
  • Create New...