thegooglecodearchive / xig

Automatically exported from code.google.com/p/xig
0 stars 0 forks source link

Only one numeric value uploaded to my dataFile.txt #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.xig 1.2.1 is running on ConnectPort X2
2.XIG_Upload_Example.pde is running on Arduino
3.xig_upload_example.php is running on my webpage

What is the expected output? What do you see instead?
The numeric value is successfully uploaded on the dataFile.txt only once.
The only way to upload one more value is to reboot the ConnectPort and 
consecuently the xig each time.

What version of the product are you using? On what operating system?

Please provide any additional information below.
XIG_Upload_Example.pde has been modified to generate one numeric value each 10 
seconds incremented by qty. 1

Original issue reported on code.google.com by massimo....@libero.it on 12 Aug 2011 at 2:49

GoogleCodeExporter commented 9 years ago
this is what I see from a telnet session when Xig is running

Original comment by massimo....@libero.it on 22 Aug 2011 at 4:23

Attachments:

GoogleCodeExporter commented 9 years ago
Hello Massimo!

We'll need to break this problem down a bit.  The output from the XIG shows 
that it may not be receiving what it thinks is a complete URL.

Could you attach an XBee to a development board and ask the XIG to retrieve a 
URL or two by hand?  Simply type into the UART of the XBee a URL such as:

http://twansform.appspot.com/jordan_husney/text

...and press the enter key and you should see the data from that web page 
returned via the XIG.

Once we've validated that the XIG is working correctly we can move on from 
there.

Jordan

Original comment by Jordan.H...@gmail.com on 25 Aug 2011 at 1:27

GoogleCodeExporter commented 9 years ago
Hi Massimo.  The new XIG v1.3.1b1 was just released today.  You may want to 
retest.

Regards,

Jordan

Original comment by Jordan.H...@gmail.com on 10 Sep 2011 at 3:40

GoogleCodeExporter commented 9 years ago
Hi Jordan,
Finally I tested v1.3.1b1,
unfortunately I have the same issue but this time the Xig is giving us an 
indication:
it seems that  after the first successfull uploading the remote server closes 
the connection (see below)then xig only receives the packets from arduino 
without forwarding the payload over the internet....
I allowed all permission to my remote web site so I am not able to understand 
which could be the reason for this connection to drop down....

What is your feeling?
please advice.
regards

Massimo

#> python xig.py

XBee Internet Gateway (XIG) v1.3.0b1 starting.
Unzipping and loading modules...
  (no xig_config.py found, using default config)
done.
XBee Version = 2164, Series = 2
XBee MTU = 72 bytes
Loading and initializing configured session types...
Loading ['HTTPSession'] from http...
Loading ['iDigiRCIAutostartSession', 'iDigiRCISession'] from idigi_rci...
Loading ['UDPSession'] from udp...
Formatting help text...
XIG startup complete, ready to serve requests.
RECV: 60 bytes from ('[00:13:a2:00:40:66:ba:01]!', 232, 49413, 17)
HTTP: successful GET of http://costruire.altervista.org/arduino/xigtodb.php?val=
13
HTTP: connection closed by remote server
RECV: 60 bytes from ('[00:13:a2:00:40:66:ba:01]!', 232, 49413, 17)
RECV: 60 bytes from ('[00:13:a2:00:40:66:ba:01]!', 232, 49413, 17)
RECV: 60 bytes from ('[00:13:a2:00:40:66:ba:01]!', 232, 49413, 17)
RECV: 60 bytes from ('[00:13:a2:00:40:66:ba:01]!', 232, 49413, 17)
RECV: 60 bytes from ('[00:13:a2:00:40:66:ba:01]!', 232, 49413, 17)
RECV: 60 bytes from ('[00:13:a2:00:40:66:ba:01]!', 232, 49413, 17)
RECV: 60 bytes from ('[00:13:a2:00:40:66:ba:01]!', 232, 49413, 17)

Original comment by massimo....@libero.it on 14 Sep 2011 at 9:49

GoogleCodeExporter commented 9 years ago
Hello,

I am actually getting the exact same problem. I am trying to upload 3 variables 
to my text file and are passing 
celtempvalue=y&farentempvalue=z&moisturevalue=X.  Only the first variable gets 
passed into my document.  Of course, a workaround is 3 seperate files, but this 
is less than ideal.  I've confirmed that when typing in the commands via a 
serial session, they do not get entered into my document as well.

Original comment by cannady....@gmail.com on 12 Oct 2011 at 6:30

GoogleCodeExporter commented 9 years ago
Will Cannady,

This looks like a totally different issue. You're saying that only celtempvalue 
gets added? Have you changed the PHP in the example to process the other two 
values?

Original comment by robfal...@gmail.com on 12 Oct 2011 at 1:05

GoogleCodeExporter commented 9 years ago
Thanks for the quick response, nice stuff btw!  

Yes I have.  I hate to hijack another issue, so i'll just open a new issue 
request and paste my code.

Original comment by cannady....@gmail.com on 12 Oct 2011 at 8:27

GoogleCodeExporter commented 9 years ago
Hi cannady.will; has this issue been resolved for you now?  Are we ok to close 
out this issue?

Original comment by Jordan.H...@gmail.com on 13 Feb 2012 at 7:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Closing this issue; not verified.

Original comment by Jordan.H...@gmail.com on 19 Jul 2012 at 6:39