[Fiware-general-help] [FIWARE-JIRA] (HELP-12896) fiware

FW External User (JIRA) jira-help-desk at jira.fiware.org
Wed Dec 27 00:33:01 CET 2017


     [ https://jira.fiware.org/browse/HELP-12896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

FW External User updated HELP-12896:
------------------------------------

> fiware
> ------
>
>                 Key: HELP-12896
>                 URL: https://jira.fiware.org/browse/HELP-12896
>             Project: Help-Desk
>          Issue Type: extRequest
>            Reporter: FW External User
>            Assignee: Francesco Arigliano
>         Attachments: [FIWARE-JIRA] (HELP-12896) fiware, [FIWARE-JIRA] (HELP-12896) fiware, [FIWARE-JIRA] (HELP-12896) [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job Application
>
>
>   HELLO I NEED HELP PLEASE<https://ask.fiware.org/question/897/hello-i-need-help-please/>
> I have been trying to connect my arduino with my orion, no connection has been established with the orion, I already have the ports released in my arduino and in my orion something that is failing me this is my code.
> include <esp8266wifi.h> // call the library
> // ----- Then proceed to make the connection with your library ------- // // Here you are only sending your router or WiFi network
> const char * ssid = "REDWIFI"; // proceed to send a call to the network const char * pass = ""; // Proceed to send your password
> const int port = 1026; // Here we proceed to enable the port where you will be able to IPAddress serv (207,249,127,215); // Here we proceed to define the ip address where Serial.begin (115200); // Serial port. For people who are not familiar with arduino the serial port is the one that allows the communication of your software with your hardware Serial.println (); // line break. Serial.print ("Connecting to the network"); // Print message Serial.println (ssid); // Print the network to where you are connecting //WiFi.begin(ssid,pass); // Here you are connecting to your router or WiFi network WiFi.begin (ssid); // Making the connection with your router // - we proceed to perform a cycle - // while (WiFi.status ()! = WL_CONNECTED) {   delay (500); // Information per second   Serial.print ("."); // print   // While the connection is different to connected you will print a point } // close while // - After having consulted you have to print the following data - // Serial.println (""); // jump line Serial.println ("Connected Network"); Serial.println ("IP Address:"); Serial.print (WiFi.localIP ()); // Print the IP address of your arduino. Serial.println (); // This is what is implemented to make the connection with your Wi-Fi network } void loop () {   // ---- Here we will proceed to make the connection to the server --- //   // --- make a connection to the server   if (! client.connect (port, serv)) {     Serial.print ("connection failure");   } else {     Serial.print ("successful connection");   } } I have use wemosd1
> [Created via e-mail received from: Elisa Betzabet Proa Piza?a <betzabetproa1995 at outlook.com>]



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Fiware-general-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy