Go to Post Many students I have met will insist that nothing is better than FIRST robotics. And most people would agree that a ham sandwich is better than nothing. So does it logically follow that a ham sandwich is better than FIRST robotics? - tsaksa [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 11-01-2013, 11:35
mdonahue mdonahue is offline
Registered User
AKA: Mike Donahue
FRC #2996 (Cougars Gone Wired)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Colorado Springs
Posts: 4
mdonahue is an unknown quantity at this point
D-Link AP API or bridge configuration utility source

We will be hosting a scrimmage in our area in a few weeks and I am interested in creating a utility similar to the FRC Bridge Configuration Utility. I would like to set up a station where teams can have their radios configured must like we do at competitions. I need to configure the radios differently than the FRC Bridge Configuration Utility does.

I've searched around and cannot find any publicly available API documentation for the D-Link bridge. I ran the utility and captured the traffic using Wireshark and can see the PHP calls being made but I have no way of knowing what all of the available parameters are.

Does anybody know where I can obtain the D-Link API documentation? If there is no such thing or if it isn't available, is it possible to get the source code for the FRC Bridge Configuration Utility?

Any guidance or information would be greatly appreciated!
Reply With Quote
  #2   Spotlight this post!  
Unread 11-01-2013, 14:37
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
My guess as to how that tool works (you can use wireshark to verify this) is it makes http requests (GET, POST etc...) to change configuration settings. I don't think there is an actual API.

- Oliver
Reply With Quote
  #3   Spotlight this post!  
Unread 11-01-2013, 14:55
mdonahue mdonahue is offline
Registered User
AKA: Mike Donahue
FRC #2996 (Cougars Gone Wired)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Colorado Springs
Posts: 4
mdonahue is an unknown quantity at this point
Re: D-Link AP API or bridge configuration utility source

Oliver,

My wireshark trace shows that the tool does in fact use http GET and POST. I suppose I could just capture a wireshark session while I make the changes I need to make which should allow me to figure out the PHP call parameters. I was hoping for something a bit more "scientific" but as you said, a real API probably does not exist.

Cheers!

- mike
Reply With Quote
  #4   Spotlight this post!  
Unread 13-01-2013, 00:02
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: D-Link AP API or bridge configuration utility source

Sounds like a solid plan. If you want to release the source code once you write it I'm sure plenty of people here on delphi would appreciate it!

- Oliver
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi