1

Topic: installed App I flashed code to an ESP32 and now ????

The remoteXY website showed my some guidance on how to create a "project"
I configured WiFi with ESP32

I designed a simple interface a button and an LED just for testing it
I downloaded the project-zip
unzipped and flashed the code to my ESP32

I guess there are missing multiple things because the code has only an init and a RemoteXY_Handler ();
in it

/*
   -- New project --
   
   This source code of graphical user interface 
   has been generated automatically by RemoteXY editor.
   To compile this code using RemoteXY library 3.1.8 or later version 
   download by link http://remotexy.com/en/library/
   To connect using RemoteXY mobile app by link http://remotexy.com/en/download/                   
     - for ANDROID 4.11.1 or later version;
     - for iOS 1.9.1 or later version;
    
   This source code is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.    
*/

//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// RemoteXY select connection mode and include library 
#define REMOTEXY_MODE__ESP32CORE_WIFI_POINT
#include <WiFi.h>

#include <RemoteXY.h>

// RemoteXY connection settings 
#define REMOTEXY_WIFI_SSID "my SSID here removed"
#define REMOTEXY_WIFI_PASSWORD "my password here removed"
#define REMOTEXY_SERVER_PORT 6377


// RemoteXY configurate  
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =   // 28 bytes
  { 255,1,0,1,0,21,0,16,31,1,70,16,7,7,9,9,26,37,0,1,
  0,25,6,12,12,2,31,0 };
  
// this structure defines all the variables and events of your control interface 
struct {
    // input variables
  uint8_t button_1; // =1 if button pressed, else =0 

    // output variables
  uint8_t led_1; // led state 0 .. 1 

    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0 

} RemoteXY;
#pragma pack(pop)

/////////////////////////////////////////////
//           END RemoteXY include          //
/////////////////////////////////////////////


void setup() {
  RemoteXY_Init ();    
  // TODO you setup code
  
}

void loop() { 
  RemoteXY_Handler ();
    
  // TODO you loop code
  // use the RemoteXY structure for data transfer
  // do not call delay() 
}

after testing RemoteXY I flashed the remoteME-sketch into the exact same ESP32
and received an immidiate respone on my smartphone.
This means I'm 100% sure that my ESP32 can connect to my local WiFi and is working properly.


So can somebody please post a link to a description that shows all steps that must be done?


P.S:
As a feedback to the owners or RemoteXY:
You started very well with the guidance but now I'm lost

I also tested RemoteME which does not even need an app to be installed for remote-controlling
and got it up and running within 30 minutes.

If I start this code as posted above and do a reset
I get the bootmessage

17:45:24.342 -> ets Jun  8 2016 00:22:57
17:45:24.342 -> 
17:45:24.342 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
17:45:24.342 -> configsip: 0, SPIWP:0xee
17:45:24.342 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
17:45:24.342 -> mode:DIO, clock div:1
17:45:24.342 -> load:0x3fff0018,len:4
17:45:24.342 -> load:0x3fff001c,len:1216
17:45:24.342 -> ho 0 tail 12 room 4
17:45:24.342 -> load:0x40078000,len:10944
17:45:24.342 -> load:0x40080400,len:6388
17:45:24.342 -> entry 0x400806b4

but zero messages about the remoteXY-thing?

I think you know very well that almost each and every library gives feedback about initialisation
Why does your code-template not include such a feedback?

Be the change you want to see in the world
best regards Stefan

2

Re: installed App I flashed code to an ESP32 and now ????

1. Your sketch sets the ESP as a WiFi hotspot, does not connect to your home WiFi. If you want to connect to your home Wi-Fi, you can set the connection mode to "Ethernet (wired and wireless)" in GUI settings.
2. To include log messages, you must add the following definition to your source code before including RemoteXY.h:

#define REMOTEXY__DEBUGLOG
#include <RemoteXY.h>