
Agam
Members-
Content Count
27 -
Joined
-
Last visited
About Agam
-
Rank
Member
Profile Information
-
Location
Gurgaon,INDIA
-
Interests
Hardware Engineer
-
CC3200 : How to reduce TCP Connect Timeout when there's no internet?
Agam replied to nitred's topic in Energia - MSP
Hi, I tried that code mentioned in the above link. But something is not matching. I made changes in my wificlient.cpp file but did not get any fruitful result. Can you or anyone from your engineering team provide me the code for connect() function in nonblocking mode? -
Hi, I am using MQTT client on CC3200 with Energia. Case1=> When CC3200 is connected to wifi router and there is Internet connection on the router, I received data on MQTT and there was no delay in connection of either tcp or mqtt client. Case2=> This case is valid only when CC3200 is connected to the router but there is no Internet on it. Now the issue is that as cc3200 is connected to the router with no Internet, it will try again and again to establish MQTT connection. But when it tries to establish tcp client connection it takes 28 seconds and when return code from tcp arrives
-
Hi, I am using CC 3200 in ap mode first then when I feed the cc3200 with ssid and password it starts its STA mode. But sometimes cc3200 hangs when shifting from ap 2 sta mode. And when the reset button is pressed my cc3200 connects to ssid that i sent. Why is that happening? Is there any way by which I can do a software reset? I know about the watchdog timer but how to use it in this case. I am pasting my connection code here. #ifndef __CC3200R1M1RGC__ #include <SPI.h> #endif #include <WiFi.h> #include <udma_if.h> const char ssid[] = "CC3200"; const char
-
Switching the CC3200 from AP to Station mode
Agam replied to electrotwelve's topic in Energia - TivaC/CC3XXX
Here is my code .... Everything is working as expected. #include <WiFi.h> #define AP_MODE 0 #define STA_MODE 1 #include <udma_if.h> uint8_t mode = 0; const char ssid[] = "CC3200"; const char wifipw[] = "password"; const char s[2] = "-"; char *token; String y = ""; char Rssid[100],Rpsk[100]; unsigned int Port =2390; char packetBuffer[255]; IPAddress Ip(255,255,255,255); char b[1024]; int j=0; WiFiUDP Udp; void setup() { Serial.begin(115200); pinMode(RED_LED, OUTPUT); pinMode(PUSH2, INPUT_PULLUP); if(WiFi.begin() !=WL_CONNECT_FAILED) { Serial.println( -
Although my code works fine with MQTT .
-
@@PaoloIT Hi, I was facing issues with moving from AP mode to STA mode. But I fixed it. I am using Energia and I am using UDP packets to send ssid and password. Now the problem that I face is that I want my cc3200 to remember the last ssid. At present when a power recycle is done again the AP mode starts. How can I store the last ssid. Kindly provide some help in the form of energia code. Here is the code. #ifndef __CC3200R1M1RGC__ #include <SPI.h> #endif #include <WiFi.h> const char ssid[] = "CC3200"; const char wifipw[] = "password"; const char s[2] = "-"; cha
-
Hi All, My Ap mode to STA mode is working on CC3200. I made the changes in the WiFi.cpp file. Now I tried to integrate the simplewbserver code. But it is not working. Web page is not opening at that ip. I am sharing my code here.I have used udp packets to send new ssid and password to cc3200. AP mode to sta mode is working but webserver code not working. Can anyone see my code and tell what is the mistake that I have made. #ifndef __CC3200R1M1RGC__ #include <SPI.h> #endif #include <WiFi.h> const char ssid[] = "CC3200"; const char wifipw[] = "pass
-
Hi All, My Ap mode to STA mode is working on CC3200. I made the changes in the WiFi.cpp file. Now I tried to integrate the simplewbserver code. But it is not working. Web page is not opening at that ip. I am sharing my code here.I have used udp packets to send new ssid and password to cc3200. AP mode to sta mode is working but webserver code not working. Can anyone see my code and tell what is the mistake that I have made. #ifndef __CC3200R1M1RGC__ #include <SPI.h> #endif #include <WiFi.h> const char ssid[] = "CC3200"; const char wifipw[] = "password"; const ch
-
Hi i am not able to understand this. { "packages": [ { "name": "energia", "maintainer": "Energia", "websiteURL": "http://www.energia.nu/", "email": "make@@energia.nu", "help": { "online": "http://energia.nu/reference" }, "platforms": [ { "name": "Energia CC3200 EMT boards", "architecture": "cc3200emt", "version": "1.0.0", "category": "Energia", "url": "http://energia.nu/downloads/download_core.php?file=cc3200-1.0.2.tar.bz2", "archiveFileName": "cc3200-1.0.2.tar.bz2", "checksum": "SHA-256:48ad1392d766fd354a368576989e42375da6e072e8337ffa2424463f5c632446", "size": "1791123", "boards": [ {"
-
cc3200 SmartConfig : SimpleLink Wi-Fi starter : Ios vs Android
Agam replied to Juanoboy's topic in Energia - TivaC/CC3XXX
I also tried the same app.For me it worked on one cc3200.But when I connected it on the other cc3200, it didn't work. Also probability of successful connection is less. -
Hi, I am new to cc3200. Would like to use above discussed functionality. Can anyone share the entire energia code for this with relevant changes in header and cpp files?
-
Hi, I am working with cc3200. I want my device to be able to connect to any network. I want to enable ap mode on energia and then enter networks ssid and password and switch to station mode?? I am new to cc3200 ? can somebody post his/her code of energia here along with changes required in header files or cpp files. Please reply asap
-
Hi, I am working with cc3200. I want my device to be able to connect to any network. I want to enable ap mode on energia and then enter networks ssid and password and switch to station mode?? I am new to cc3200 ? can somebody post his/her code of energia here along with changes required in header files or cpp files. Please reply asap.
-
Hi all, How to run MQTT server on cc3200 from energia. Is there any libarary to do so?
- 1 reply
-
- mqtt
- mqttserver
-
(and 1 more)
Tagged with: