JJRobots COMMUNITY

Full Version: no Found Hosts with Touch-Osc
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have just finished my B-Robot.
But no Found Hosts with Touch-Osc.
Have you an idea for helping me ?

Here is the Serial dump:
Code:
BROBOT by JJROBOTS v2.2
Initializing I2C devices...
Initializing DMP...
Enabling DMP...
Gyro calibration!!  Dont move the robot in 10 seconds...
Initalizing ESP Wifi Module...
WIFI RESET
+++AT


OK
AT+RST


OK
0MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

ón't use rtc mem data
rl?‚slÌÿ
Ai-Thinker Technology Co.,Ltd.

ready
AT+GMR

AT version:0.40.0.0(Aug  8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04
OK
AT+CIPSTAMAC?

+CIPSTAMAC:"18:fe:34:d5:c5:99"

OK
MAC:18FE34D5C599

AT+CWQAP


OK
AT+CWMODE=2


OK
AT+CWSAP="JJROBOTS_99","87654321",5,3


OK
Start UDP server at port 2222
AT+CIPMUX=0


OK
AT+CIPMODE=1


OK
AT+CIPSTART="UDP","192.168.4.2",2223,2222,0

CONNECT

OK
AT+CIPSEND


OK

>
Testing device connections...
MPU6050 connection successful
Servo initialization...
Steper motors initialization...
Adjusting DMP sensor fusion gain...
BATTERY:44
Let´s start...

My Touch-OSC parameters:
Host: 192.168.4.2
Port Outgoing: 2222
Port Incoming: 2223
You do no have to find a HOST in the OSCtouch, just connect your smartphone to the new WIFI network (JJROBOTS_99 in your case).
Use the default password (87654321)
Cheers!
OK thank you.

I can connect to JJROBOTS_99 but I am not sure of my Host IP in TouchOSC: 192.168.4.2 or 192.168.4.1 ?
I have same problem. My Android phone connected to JJROBOTS WIFI. And Robot start UDP server at IP 192.168.4.2 OK.
But TouchOSC can't find host.
I had solved my problem;
1. Scan network. Find IP of Robot (192.168.4.1 with my case). Find my phone IP (192.168.4.2 in my case)
2. Start UDP with Robot IP:
- ESPsendCommand("AT+CIPSTART=\"UDP\",\"192.168.4.1\",2223,2222,0", "OK", 3);
3. Setup host on TouchOSC. 192.168.4.1
Final it work find ^^
Reference URL's