Jump to content

Agam

Members
  • Content Count

    27
  • Joined

  • Last visited

About Agam

  • Rank
    Member

Profile Information

  • Location
    Gurgaon,INDIA
  • Interests
    Hardware Engineer
  1. 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?
  2. i am also facing this issue.... Has any one found out the solution??
  3. 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 only then the rest of the code resumes to work. It hangs in that part. Is there any way to reduce this time by changing any parameter in the library? I found one constructor in MQTTclient.h library. Client(Network& network, unsigned int command_timeout_ms =30000); I changed the command timeout value by different ones but no change was observed. It was still taking 28 seconds. After that tcp return code came as 0 which indicated that tcp connection was not made. I would like to ask that is there any way to reduce this time. Like can the time it is waiting for return code be changed.Can it be made less? Please reply asap. Waiting for your guidance robertinant@yahoo.com.
  4. 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 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 d_name[]="Device Name:Texas Instruments CC3200 Board,\n"; char d_id[]="Device Id:1,\n"; char d_type[]="Device type:Controller with Wi-Fi,\n"; char ReplyBuffer[] = "Device IP is:"; char b[1024]; int j=0; WiFiUDP Udp; void setup() { Serial.begin(115200); pinMode(RED_LED, OUTPUT); // LED will toggle when clients connect/disconnect digitalWrite(RED_LED, LOW); Serial.print("Setting up Access Point named: "); Serial.println(ssid); Serial.print("AP uses WPA and password is: "); Serial.println(wifipw); WiFi.beginNetwork((char *)ssid, (char *)wifipw); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for the AP config to complete Serial.print('.'); delay(300); } Serial.println(); Serial.println("AP active."); printWifiStatus(); Udp.begin(Port); } unsigned int num_clients = 0; void loop() { unsigned int a, i; a = WiFi.getTotalDevices(); // Did a client connect/disconnect since the last time we checked? if (a != num_clients) { if (a > num_clients) { // Client connect digitalWrite(RED_LED, !digitalRead(RED_LED)); Serial.println("Client connected! All clients:"); for (i = 0; i < a; i++) { Serial.print("Client #"); Serial.print(i); Serial.print(" at IP address = "); Serial.print(WiFi.deviceIpAddress(i)); Serial.print(", MAC = "); Serial.println(WiFi.deviceMacAddress(i)); } } else { // Client disconnect digitalWrite(RED_LED, !digitalRead(RED_LED)); Serial.println("Client disconnected."); } num_clients = a; } int packetSize = Udp.parsePacket(); if (packetSize) { int len = Udp.read(packetBuffer, 255); if (len > 0)packetBuffer[len] = 0; //unit=atoi(packetBuffer); Serial.println(packetBuffer); /* get the first token */ token = strtok(packetBuffer, s); int w = 0; while( token != NULL ) { if(w == 0){ strcpy(Rssid,token); Serial.println(Rssid); w++; }else if(w == 1){ strcpy(Rpsk,token); Serial.println(Rpsk); } token = strtok(NULL, s); } /* int retVal; retVal = sl_WlanSetMode(ROLE_STA); retVal = sl_Stop(30); retVal= sl_Start(NULL, NULL, NULL); */ UDMAInit(); sl_Start(NULL, NULL, NULL); sl_WlanDisconnect(); sl_NetAppMDNSUnRegisterService(0, 0); sl_WlanRxStatStart(); sl_WlanSetMode(ROLE_STA); /* Restart Network processor */ sl_Stop(30); sl_Start(NULL, NULL, NULL); // attempt to connect to Wifi network: Serial.print("Attempting to connect to Network named: "); delay(5000); // print the network name (SSID); Serial.println(Rssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: WiFi.begin(Rssid, Rpsk); while ( WiFi.status() != WL_CONNECTED) { // print dots while we wait to connect Serial.print("."); delay(300); } Serial.println("\nYou're connected to the network"); Serial.println("Waiting for an ip address"); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for an ip addresss Serial.print("."); delay(300); } Serial.println("\nIP Address obtained"); // you're connected now, so print out the status printWifiStatus(); } } void printWifiStatus() { Serial.print("SSID: "); Serial.println(WiFi.SSID()); IPAddress ip = WiFi.localIP(); sprintf(b,"%d.%d.%d.%d,",ip[0],ip[1],ip[2],ip[3] ); Serial.print("IP Address: "); Serial.println(ip); long rssi = WiFi.RSSI(); Serial.print("signal strength (RSSI):"); Serial.print(rssi); Serial.println(" dBm"); }
  5. 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("Connecting to stored profile"); Serial.print("Connected to SSID: "); Serial.println(WiFi.SSID()); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for an ip addresss Serial.print("."); delay(300); } Serial.println("\nIP Address obtained"); Serial.print("IP Address: "); Serial.println(WiFi.localIP()); mode = STA_MODE; } } void loop() { if( digitalRead(PUSH2)) { Serial.println("Starting AP Mode"); mode = AP_MODE; Serial.print("Setting up Access Point named: "); Serial.println(ssid); Serial.print("AP uses WPA and password is: "); Serial.println(wifipw); WiFi.beginNetwork((char *)ssid, (char *)wifipw); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for the AP config to complete Serial.print('.'); delay(300); } Serial.println(); Serial.println("AP active."); printWifiStatus(); digitalWrite(RED_LED,HIGH); // Your AP mode setup code goes here.. } if(mode==AP_MODE) { ap_loop(); } if(mode==STA_MODE) { sta_loop(); } } void sta_loop() { // STA mode loop code goes here } void ap_loop() { Udp.begin(Port); int packetSize = Udp.parsePacket(); if (packetSize) { int len = Udp.read(packetBuffer, 255); if (len > 0)packetBuffer[len] = 0; //unit=atoi(packetBuffer); Serial.println(packetBuffer); /* get the first token */ token = strtok(packetBuffer, s); int w = 0; while( token != NULL ) { if(w == 0) { strcpy(Rssid,token); Serial.println(Rssid); w++; } else if(w == 1) { strcpy(Rpsk,token); Serial.println(Rpsk); } token = strtok(NULL, s); } /*int retVal; retVal = sl_WlanSetMode(ROLE_STA); retVal = sl_Stop(0); retVal= sl_Start(NULL, NULL, NULL);*/ UDMAInit(); sl_Start(NULL, NULL, NULL); sl_WlanDisconnect(); sl_NetAppMDNSUnRegisterService(0, 0); sl_WlanRxStatStart(); sl_WlanSetMode(ROLE_STA); // Restart Network processor sl_Stop(30); sl_Start(NULL, NULL, NULL); WiFi._initialized = false; WiFi._connecting = false; // attempt to connect to Wifi network: Serial.print("Attempting to connect to Network named: "); delay(1000); // print the network name (SSID); Serial.println(Rssid); //WiFi._initialized = false; //WiFi._connecting = false; // Connect to WPA/WPA2 network. Change this line if using open or WEP network: WiFi.begin(Rssid, Rpsk); while ( WiFi.status() != WL_CONNECTED) { // print dots while we wait to connect Serial.print("."); delay(300); } Serial.println("\nYou're connected to the network"); Serial.println("Waiting for an ip address"); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for an ip addresss Serial.print("."); delay(300); } Serial.println("\nIP Address obtained"); // you're connected now, so print out the status printWifiStatus(); mode=STA_MODE; } } void printWifiStatus() { Serial.print("SSID: "); Serial.println(WiFi.SSID()); IPAddress ip = WiFi.localIP(); sprintf(b,"%d.%d.%d.%d,",ip[0],ip[1],ip[2],ip[3] ); Serial.print("IP Address: "); Serial.println(ip); long rssi = WiFi.RSSI(); Serial.print("signal strength (RSSI):"); Serial.print(rssi); Serial.println(" dBm"); }
  6. Although my code works fine with MQTT .
  7. @@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] = "-"; 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); // LED will toggle when clients connect/disconnect digitalWrite(RED_LED, LOW); Serial.print("Setting up Access Point named: "); Serial.println(ssid); Serial.print("AP uses WPA and password is: "); Serial.println(wifipw); WiFi.beginNetwork((char *)ssid, (char *)wifipw); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for the AP config to complete Serial.print('.'); delay(300); } Serial.println(); Serial.println("AP active."); printWifiStatus(); Udp.begin(Port); } unsigned int num_clients = 0; void loop() { int packetSize = Udp.parsePacket(); if (packetSize) { int len = Udp.read(packetBuffer, 255); if (len > 0)packetBuffer[len] = 0; //unit=atoi(packetBuffer); Serial.println(packetBuffer); /* get the first token */ token = strtok(packetBuffer, s); int w = 0; while( token != NULL ) { if(w == 0){ strcpy(Rssid,token); Serial.println(Rssid); w++; }else if(w == 1){ strcpy(Rpsk,token); Serial.println(Rpsk); } token = strtok(NULL, s); } int retVal; retVal = sl_WlanSetMode(ROLE_STA); retVal = sl_Stop(30); retVal= sl_Start(NULL, NULL, NULL); // attempt to connect to Wifi network: Serial.print("Attempting to connect to Network named: "); delay(5000); // print the network name (SSID); Serial.println(Rssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: WiFi.begin(Rssid, Rpsk); while ( WiFi.status() != WL_CONNECTED) { // print dots while we wait to connect Serial.print("."); delay(300); } Serial.println("\nYou're connected to the network"); Serial.println("Waiting for an ip address"); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for an ip addresss Serial.print("."); delay(300); } Serial.println("\nIP Address obtained"); // you're connected now, so print out the status printWifiStatus(); } } void printWifiStatus() { Serial.print("SSID: "); Serial.println(WiFi.SSID()); IPAddress ip = WiFi.localIP(); sprintf(b,"%d.%d.%d.%d,",ip[0],ip[1],ip[2],ip[3] ); Serial.print("IP Address: "); Serial.println(ip); long rssi = WiFi.RSSI(); Serial.print("signal strength (RSSI):"); Serial.print(rssi); Serial.println(" dBm"); }
  8. 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 char s[2] = "-"; char *token; String y = ""; char Rssid[100],Rpsk[100];//store new ssid & password unsigned int Port =2390; char packetBuffer[255]; IPAddress Ip(255,255,255,255); char b[1024]; int j=0; WiFiServer server(80); WiFiUDP Udp; void setup() { Serial.begin(115200); pinMode(RED_LED, OUTPUT); // LED will toggle when clients connect/disconnect digitalWrite(RED_LED, LOW); Serial.print("Setting up Access Point named: "); Serial.println(ssid); Serial.print("AP uses WPA and password is: "); Serial.println(wifipw); WiFi.beginNetwork((char *)ssid, (char *)wifipw); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for the AP config to complete Serial.print('.'); delay(300); } Serial.println(); Serial.println("AP active."); printWifiStatus(); Udp.begin(Port); } void loop() { int packetSize = Udp.parsePacket(); if (packetSize) { int len = Udp.read(packetBuffer, 255); if (len > 0)packetBuffer[len] = 0; //unit=atoi(packetBuffer); Serial.println(packetBuffer); /* get the first token */ token = strtok(packetBuffer, s); int w = 0; while( token != NULL ) { if(w == 0){ strcpy(Rssid,token); Serial.println(Rssid); w++; }else if(w == 1){ strcpy(Rpsk,token); Serial.println(Rpsk); } token = strtok(NULL, s); } int retVal; retVal = sl_WlanSetMode(ROLE_STA); retVal = sl_Stop(30); retVal= sl_Start(NULL, NULL, NULL); // attempt to connect to Wifi network: Serial.print("Attempting to connect to Network named: "); delay(5000); // print the network name (SSID); Serial.println(Rssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: WiFi._initialized = false; WiFi._connecting = false; WiFi.begin(Rssid, Rpsk); while ( WiFi.status() != WL_CONNECTED) { // print dots while we wait to connect Serial.print("."); delay(300); } Serial.println("\nYou're connected to the network"); Serial.println("Waiting for an ip address"); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for an ip addresss Serial.print("."); delay(300); } Serial.println("\nIP Address obtained"); // you're connected now, so print out the status printWifiStatus(); Serial.println("Starting webserver on port 80"); server.begin(); // start the web server on port 80 Serial.println("Webserver started!"); } int i = 0; WiFiClient client = server.available(); // listen for incoming clients if (client) { // if you get a client, Serial.println("new client"); // print a message out the serial port char buffer[150] = {0}; // make a buffer to hold incoming data while (client.connected()) { // loop while the client's connected if (client.available()) { // if there's bytes to read from the client, char c = client.read(); // read a byte, then Serial.write
  9. 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 char s[2] = "-"; char *token; String y = ""; char Rssid[100],Rpsk[100];//store new ssid & password unsigned int Port =2390; char packetBuffer[255]; IPAddress Ip(255,255,255,255); char b[1024]; int j=0; WiFiServer server(80); WiFiUDP Udp; void setup() { Serial.begin(115200); pinMode(RED_LED, OUTPUT); // LED will toggle when clients connect/disconnect digitalWrite(RED_LED, LOW); Serial.print("Setting up Access Point named: "); Serial.println(ssid); Serial.print("AP uses WPA and password is: "); Serial.println(wifipw); WiFi.beginNetwork((char *)ssid, (char *)wifipw); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for the AP config to complete Serial.print('.'); delay(300); } Serial.println(); Serial.println("AP active."); printWifiStatus(); Udp.begin(Port); } void loop() { int packetSize = Udp.parsePacket(); if (packetSize) { int len = Udp.read(packetBuffer, 255); if (len > 0)packetBuffer[len] = 0; //unit=atoi(packetBuffer); Serial.println(packetBuffer); /* get the first token */ token = strtok(packetBuffer, s); int w = 0; while( token != NULL ) { if(w == 0){ strcpy(Rssid,token); Serial.println(Rssid); w++; }else if(w == 1){ strcpy(Rpsk,token); Serial.println(Rpsk); } token = strtok(NULL, s); } int retVal; retVal = sl_WlanSetMode(ROLE_STA); retVal = sl_Stop(30); retVal= sl_Start(NULL, NULL, NULL); // attempt to connect to Wifi network: Serial.print("Attempting to connect to Network named: "); delay(5000); // print the network name (SSID); Serial.println(Rssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: WiFi._initialized = false; WiFi._connecting = false; WiFi.begin(Rssid, Rpsk); while ( WiFi.status() != WL_CONNECTED) { // print dots while we wait to connect Serial.print("."); delay(300); } Serial.println("\nYou're connected to the network"); Serial.println("Waiting for an ip address"); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for an ip addresss Serial.print("."); delay(300); } Serial.println("\nIP Address obtained"); // you're connected now, so print out the status printWifiStatus(); Serial.println("Starting webserver on port 80"); server.begin(); // start the web server on port 80 Serial.println("Webserver started!"); } int i = 0; WiFiClient client = server.available(); // listen for incoming clients if (client) { // if you get a client, Serial.println("new client"); // print a message out the serial port char buffer[150] = {0}; // make a buffer to hold incoming data while (client.connected()) { // loop while the client's connected if (client.available()) { // if there's bytes to read from the client, char c = client.read(); // read a byte, then Serial.write©; // print it out the serial monitor if (c == '\n') { // if the byte is a newline character // if the current line is blank, you got two newline characters in a row. // that's the end of the client HTTP request, so send a response: if (strlen(buffer) == 0) { // HTTP headers always start with a response code (e.g. HTTP/1.1 200 OK) // and a content-type so the client knows what's coming, then a blank line: client.println("HTTP/1.1 200 OK"); client.println("Content-type:text/html"); client.println(); // the content of the HTTP response follows the header: client.println("<html><head><title>Energia CC3200 WiFi Web Server</title></head><body align=center>"); client.println("<h1 align=center><font color=\"red\">Welcome to the CC3200 WiFi Web Server</font></h1>"); client.print("RED LED <button onclick=\"location.href='/H'\">HIGH</button>"); client.println(" <button onclick=\"location.href='/L'\">LOW</button><br>"); // The HTTP response ends with another blank line: client.println(); // break out of the while loop: break; } else { // if you got a newline, then clear the buffer: memset(buffer, 0, 150); i = 0; } } else if (c != '\r') { // if you got anything else but a carriage return character, buffer[i++] = c; // add it to the end of the currentLine } // Check to see if the client request was "GET /H" or "GET /L": if (endsWith(buffer, "GET /H")) { digitalWrite(RED_LED, HIGH); // GET /H turns the LED on } if (endsWith(buffer, "GET /L")) { digitalWrite(RED_LED, LOW); // GET /L turns the LED off } } } // close the connection: client.stop(); Serial.println("client disonnected"); } } boolean endsWith(char* inString, char* compString) { int compLength = strlen(compString); int strLength = strlen(inString); //compare the last "compLength" values of the inString int i; for (i = 0; i < compLength; i++) { char a = inString[(strLength - 1) - i]; char b = compString[(compLength - 1) - i]; if (a !=b ) { return false; } } return true; } void printWifiStatus() { Serial.print("SSID: "); Serial.println(WiFi.SSID()); IPAddress ip = WiFi.localIP(); sprintf(b,"%d.%d.%d.%d,",ip[0],ip[1],ip[2],ip[3] ); Serial.print("IP Address: "); Serial.println(ip); long rssi = WiFi.RSSI(); Serial.print("signal strength (RSSI):"); Serial.print(rssi); Serial.println(" dBm"); }
  10. 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": [ {"name": "CC3200-LAUNCHXL"} ], "toolsDependencies": [ { "packager":"energia", "name":"arm-none-eabi-gcc", "version":"4.8.4-20140725" }, { "packager":"energia", "name":"dslite", "version":"6.2.1.1594" }, { "packager":"energia", "name":"cc3200prog", "version":"1.1.4" } ] } ], "tools": [ { "name":"msp430-gcc", "version":"4.6.3", "systems": [ { "host":"i686-mingw32", "url":"https://s3.amazonaws.com/energiaUS/tools/windows/msp430-gcc-4.6.3-i686-mingw32.zip", "archiveFileName":"msp430-gcc-4.6.3-i686-mingw32.zip", "checksum":"SHA-256:5e3722f6651e33991a199f7a7f3182a3ad0d5ddb5eff199e8c27d1fd269132d2", "size":"47733038" }, { "host":"x86_64-apple-darwin", "url":"https://s3.amazonaws.com/energiaUS/tools/macosx/msp430-gcc-4.6.3-i386-apple-darwin11.tar.bz2", "archiveFileName":"msp430-gcc-4.6.3-i386-apple-darwin11.tar.bz2", "checksum":"SHA-256:b919d80880603b55c64b9095eb80d4005e82d7428b0d7ded3864c200cb4f847c", "size":"32357793" }, { "host": "x86_64-linux-gnu", "url": "https://s3.amazonaws.com/energiaUS/tools/linux64/msp430-gcc-4.6.3-i386-x86_64-pc-linux-gnu.tar.bz2", "archiveFileName": "msp430-gcc-4.6.3-i386-x86_64-pc-linux-gnu.tar.bz2", "size": "87607164", "checksum": "SHA-256:453832be5150f45a830ea5b0336a911f22fd7553f668a1e93a5c9e58f65f9f7f" } ] }, { "name": "arm-none-eabi-gcc", "version": "4.8.4-20140725", "systems": [ { "host": "i686-mingw32", "archiveFileName": "gcc-arm-none-eabi-4.8.4-20140725-windows.tar.gz", "url": "https://s3.amazonaws.com/energiaUS/tools/windows/gcc-arm-none-eabi-4.8.4-20140725-windows.tar.gz", "checksum": "SHA-256:2ab5a6ad2a32f976d17b7ef9222623e6f9881be908047cb05730ccd89eb79a1d", "size": "82014307" }, { "host": "x86_64-apple-darwin", "url": "https://s3.amazonaws.com/energiaUS/tools/macosx/gcc-arm-none-eabi-4.8.4-20140725-mac.tar.bz2", "archiveFileName": "gcc-arm-none-eabi-4.8.4-20140725-mac.tar.bz2", "checksum": "SHA-256:66c9261fdd6d646931dfe940e8daf38d3b11cfba8a7e714c7a3811146b6dc9c7", "size": "52518522" }, { "host": "x86_64-pc-linux-gnu", "url": "https://s3.amazonaws.com/energiaUS/tools/linux64/gcc-arm-none-eabi-4.8.4-20140725-x86_64-pc-linux-gnu.tar.bz2", "archiveFileName": "gcc-arm-none-eabi-4.8.4-20140725-x86_64-pc-linux-gnu.tar.bz2", "checksum": "SHA-256:00636c299e7a420212cdc1643d5c52d3e82eb66c8ce0e4693327cd1e936b52db", "size": "68654066" } ] }, { "name":"ino2cpp", "version":"1.0.2", "systems": [ { "host":"i686-mingw32", "url":"https://s3.amazonaws.com/energiaUS/tools/ino2cpp-1.0.2.tar.bz2", "archiveFileName":"ino2cpp-1.0.2.tar.bz2", "checksum":"SHA-256:6f63041767f4f15b1da7b62aa3086e6912f9e05b19bfdf512d573bcc9ac7c9a5", "size":"484493" }, { "host":"x86_64-apple-darwin", "url":"https://s3.amazonaws.com/energiaUS/tools/ino2cpp-1.0.2.tar.bz2", "archiveFileName":"ino2cpp-1.0.2.tar.bz2", "checksum":"SHA-256:6f63041767f4f15b1da7b62aa3086e6912f9e05b19bfdf512d573bcc9ac7c9a5", "size":"484493" }, { "host": "x86_64-pc-linux-gnu", "url":"https://s3.amazonaws.com/energiaUS/tools/ino2cpp-1.0.2.tar.bz2", "archiveFileName":"ino2cpp-1.0.2.tar.bz2", "checksum":"SHA-256:6f63041767f4f15b1da7b62aa3086e6912f9e05b19bfdf512d573bcc9ac7c9a5", "size":"484493" } ] }, { "name":"dslite", "version":"6.2.1.1624", "systems": [ { "host":"i686-mingw32", "url":"https://s3.amazonaws.com/energiaUS/tools/windows/dslite-6.2.1.1624-i686-mingw32.zip", "archiveFileName":"dslite-6.2.1.1624-i686-mingw32.zip", "checksum":"SHA-256:fd673ea66fcd8051d91a0138dcddaf0b3104ca1c6b2e0eab0de8b2080ff70094", "size":"34948605" }, { "host":"x86_64-apple-darwin", "url":"https://s3.amazonaws.com/energiaUS/tools/macosx/dslite-6.2.1.1624-x86_64-apple-darwin.tar.bz2", "archiveFileName":"dslite-6.2.1.1624-x86_64-apple-darwin.tar.bz2", "checksum":"SHA-256:0a89afb99973ec2b4cf23be277ccc66cb2dc53fdd894924aa871b0e9882011e3", "size":"15312608" }, { "host":"x86_64-pc-linux-gnu", "url":"https://s3.amazonaws.com/energiaUS/tools/linux64/dslite-6.2.1.1624-i386-x86_64-pc-linux-gnu.tar.bz2", "archiveFileName":"dslite-6.2.1.1624-i386-x86_64-pc-linux-gnu.tar.bz2", "checksum":"SHA-256:401d9edd1956b87a7b89f162456a8444b2ac73d3d972f8f2231a150a7e384503", "size":"17995725" } ] }, { "name":"mspdebug", "version":"0.22", "systems": [ { "host":"i686-mingw32", "url":"http://www.energia.nu/tools/mspdebug-0.22.zip", "archiveFileName":"mspdebug-0.22.zip", "checksum":"SHA-256:e29b77d6d1ae75092584292d0342200b583138c2b01de49f394f4f599f15b69c", "size":"12487415" }, { "host":"x86_64-apple-darwin", "url":"http://www.energia.nu/tools/mspdebug-0.22-x86_64-apple-darwin.tar.bz2", "archiveFileName":"mspdebug-0.22--x86_64-apple-darwin.tar.bz2", "checksum":"SHA-256:efc469b4771367bd5e420eb7d6f36551df8da36dd130d2bbf184131b6876111e", "size":"9891660" }, { "host":"x86_64-pc-linux-gnu", "url":"http://www.energia.nu/tools/mspdebug-0.22-x86_64-apple-darwin.tar.bz2", "archiveFileName":"mspdebug-0.22--x86_64-apple-darwin.tar.bz2", "checksum":"SHA-256:efc469b4771367bd5e420eb7d6f36551df8da36dd130d2bbf184131b6876111e", "size":"9891660" } ] }, { "name":"cc3200prog", "version":"1.1.4", "systems": [ { "host":"i686-mingw32", "url":"https://s3.amazonaws.com/energiaUS/tools/windows/cc3200prog-1.1.4-i686-mingw32.zip", "archiveFileName":"cc3200prog-1.1.4-i686-mingw32.zip", "checksum":"SHA-256:9701cf08a34c727355261eec502dfa44386b34b2d9cde863eb20c347d7a24f97", "size":"400542" }, { "host":"x86_64-apple-darwin", "url":"https://s3.amazonaws.com/energiaUS/tools/macosx/cc3200prog-1.1.4-x86_64-apple-darwin.tar.bz2", "archiveFileName":"cc3200prog-1.1.4-x86_64-apple-darwin.tar.bz2", "checksum":"SHA-256:1d499a54ad083869fcc54da60ec4d55f03011fe3bb3d45dd75b5e687694befdd", "size":"164785" }, { "host":"x86_64-pc-linux-gnu", "url":"https://s3.amazonaws.com/energiaUS/tools/linux64/cc3200prog-1.1.4-i386-x86_64-pc-linux-gnu.tar.bz2", "archiveFileName":"cc3200prog-1.1.4-i386-x86_64-pc-linux-gnu.tar.bz2", "checksum":"SHA-256:892a1ba158ee184451597cd8d1aad32f293dc4279e59deace08e2a67c6b93707", "size":"134860" } ] } ] } ] }
  11. 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.
  12. 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?
  13. 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
  14. 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.
  15. Hi all, How to run MQTT server on cc3200 from energia. Is there any libarary to do so?
×