Shop OBEX P1 Docs P2 Docs Learn Events
AvcomM TEC SimpleLan web server - Page 3 — Parallax Forums

AvcomM TEC SimpleLan web server

13»

Comments

  • N0QBHN0QBH Posts: 23
    edited 2007-04-24 19:24
    Most applications I've used micro web page servers like SimpleLan for don't pass any text between the micro and the server. Usually, the micro just updates variables so the data presented is current. Of course, this depends on what your trying to accomplish.
  • jeffjohnvoljeffjohnvol Posts: 197
    edited 2007-04-25 00:53
    Yeah, thats what I figured. I don't suppose the Simple LAN product could be used to pull information down from the web, such as a weather forecast? Assume its done with a propeller chip.
  • Data77Data77 Posts: 7
    edited 2007-04-30 14:55
    Drsage,· I have a question about the firmware version on your D-Link D-524.· My router is ver C and firmware 3.00
    I can not get the SimpleLan to send email.· I have setup username and password and check the auth box on the SimpleLan software.· Maybe I am having the same problem you were having.· Also, I am looking to buy a new·router with the new N standard.· Any suggestions?

    I have tired to get the PINK to send Email but Parallax does not allow way to enter a user name and password.· They have promised an update for the PINK for over a year.· The PINK is much better because the·more web space and a cleaner interface·but will not send email either.·

    TIA

    ·
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-04-30 15:22
    TIA,

    Please bear with us, we are working toward this goal.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • Data77Data77 Posts: 7
    edited 2007-05-23 14:11
    Chris can you give us an update on the PINKs new firmware?· Also, can I use an external mail server like Yahoo Plus with the PINK or does it require this update you are working on.·

    ·
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-05-23 15:23
    Hello,

    The new firmware is ready for testing, however the individuals who were to test it have not contacted me back for testing. As soon as we’ve fully tested the new firmware in the field it will be released on new PINK Modules. I don’t know about Yahoo Plus, but I have SBC Yahoo DSL for my internet service at my home office and it will access my mail system there, which does require authentication. My understanding with the Yahoo Plus is that it gives you Pop Access so you can use Outlook or similar e-mail clients in place of the web-based mail interface. If the SMTP server requires authentication to send e-mail it should work, but this remains untested at this time.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • jeffjohnvoljeffjohnvol Posts: 197
    edited 2007-06-12 19:06
    Has anyone ever used the SimpleLan product to FTP data to a central server on the internet? I would consider using the PINK product, but since I need a lot of these (for data acquisition) cost is a concern.
  • Harrison.Harrison. Posts: 484
    edited 2007-06-12 23:54
    I am not exactly sure what you are asking. If you want your device (SimpleLan or PINK) to upload data to a real ftp server than it won't be possible. The reason is because FTP clients actually use multiple outgoing TCP connections on different ports. This is complex, so FTP clients are not usually implemented on embedded products such as the SimpleLan and PINK modules.

    You will have to buy a raw netburner module or some other embedded computer that has the ability to run user code. You would have to write your own ftp client (or use a prewritten one) on that device to be able to make it function as a FTP client.

    If you are not set on FTP then I would recommend you use HTTP as your transport protocol. I am doing exactly that using a siteplayer telnet (a xport would also work). All you have to do is open a raw tcp connection to the webserver, send an http header, and send your data. The data can be handled by a simple script on your server (in my case, I use PHP). Using HTTP also gives you ultimate flexibility in authenticating your remote devices, along with very detailed logging. Not to mention HTTP is alot faster as it only requires one TCP connection that lasts only as long as it takes you to upload your data.

    Harrison
  • jeffjohnvoljeffjohnvol Posts: 197
    edited 2007-06-13 14:56
    Thanks for the well informed advice.

    I was thinking FTP as an easy way to push data, but sounds like it would be too hard by your description.

    Perhaps it would be easier to have a central server (php based) push data and pull data from the web servers at each pink or SL device. The trick would be having the remote device identify its IP address each time it restarts, or periodically do so in the event of an IP reassignment.
  • Harrison.Harrison. Posts: 484
    edited 2007-06-13 23:32
    I would recommend that you make your clients PUSH data to a http web server running some sort of script or application. It is just much easier then having the server PULL data since pulling data would involve sometimes complex network setups to allow external access.

    I have done both server push and server pull applications and both work. You will have to take into account many things, such as network latency, delays, and network down periods in your application to ensure statability. I am currently experiencing random freezes in my application where the client PUSHes data to a server. I will be documenting my final project after I fix that one last issue. (Hint: It is a Propeller powered webcam with 640x480 color resolution, timelapse with mjpeg, http file posting, and SD card logging).
  • jeffjohnvoljeffjohnvol Posts: 197
    edited 2007-06-18 16:39
    So did you have a php page that took the information on the server side (when you had your device push)?

    I think that would be an excellent N&V column (if there isn't one already) that had an example of multiple stamps through Pink/Avcomm pushing data to a central server, including the php code (or whatever).

    I've done some php (php nuke mostly) but I'm a little rusty.

    One more question if you don't mind [noparse]:)[/noparse] :· Is it difficult for a stamp in the push configuration you spoke of, to pull information from a central server, preferably information specific for that device?· In otherwords, if you had a stamp in the field whose ID was "STAMP-003" pull information designated for "STAMP-003" ?
  • dottedquaddottedquad Posts: 11
    edited 2007-11-04 12:58
    For the people who have problems with communication back and fourth through a router, you need to either setup DMZ which opens your computer fully the internet to a specific IP address or setup port forwarding for specific port number(s).


    -Rich
Sign In or Register to comment.