Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Ping plugin

Announcements of new plugins or updates.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
penjuin
Hardware Genie - Plugin Author
Posts: 42
Joined: June 28th, 2005, 3:42 am
Location: Australia

Ping plugin

Post by penjuin »

I have a pretty mangled router, so I wanted to know if it was on the internet or stuffing up. This plugin pings google.com. Please note that because of the fragile nature of ICMP, this may occasionally return a false positive. If there are any other troubles let me know.
_____________________________________________________________________________________________________________________

Files:
-> pingplugin.dll

Usage:
-> $dll(pingplugin.dll,1,[success],[failure])

Example (1 line on a 20 character lcd):
-> Internet status:$dll(pingplugin.dll,1,Good,Bad)

Download here

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

:P Ahhh
I had a plug-in like that under development....
You 're too fast :lol:

I 'll try to alter my code and make something more advanced.

You 're too fast
You 're too fast
You 're too fast

Rafael_Brazil
Plugin Author
Posts: 54
Joined: November 20th, 2005, 2:05 pm
Location: Curitiba, Paran?, Brazil
Contact:

Post by Rafael_Brazil »

Hi There!!

Great plugin... but, if you can set an IP address... I think that will be very usefull... :D

jantar.cz
Posts: 1
Joined: December 12th, 2005, 7:31 pm

Post by jantar.cz »

Ping plugin is something I really need.
But, I am not good at programming, so I hope somebody will do it.
I was using jaLCDs, but it was unstable on my computer, it have support for ping.
This is thing which is really missing.

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

I really don't like to work on others ideas...
But I have a little program under development (published on my site) called i-Net which is a windows ping utility.
I had some plans to make a plugin for LCD Smartie for this program.
But all my plans stopped when a ping plugin was released.

Penjuin was to fast me...

Now I'm consider to start coding again.

Hey Penjuin, I really love your job! :) Don't get mad of me :oops:

penjuin
Hardware Genie - Plugin Author
Posts: 42
Joined: June 28th, 2005, 3:42 am
Location: Australia

Post by penjuin »

Thanks Limbo! I actually need a bit of help with the ping plugin. I have just returned from a long holiday and have decided to do some more electrical stuff. As you have no doubt read I am definitely not a delphi programmer. I am in need of delphi code that will split strings. For example, turning "Good|Bad" into two different variables, splitting at the "|" character. I can accomplish this in just about every other language I know, just not delphi :(.

Any help would be great.

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »


spoon
Posts: 6
Joined: December 27th, 2005, 4:24 pm

Post by spoon »

I can't find the ping plugin anywhere on your site... just what I'm looking for

penjuin
Hardware Genie - Plugin Author
Posts: 42
Joined: June 28th, 2005, 3:42 am
Location: Australia

Post by penjuin »

Sorry about that mate, my server was down and out for a while. Its back up now, so try again.

spoon
Posts: 6
Joined: December 27th, 2005, 4:24 pm

Post by spoon »

Wow, fast reply thanks..

Anyway to change what the output message is ?

penjuin
Hardware Genie - Plugin Author
Posts: 42
Joined: June 28th, 2005, 3:42 am
Location: Australia

Post by penjuin »

$dll(pingplugin.dll,1,good,bad) will return good or bad
$dll(pingplugin.dll,1,yay,nay) will return yay or nay

Change it to whatever you want

Post Reply