Thread Rating:
  • 1 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Device stack overview now available
08-07-2011, 10:50 AM
Post: #1
Device stack overview now available
http://www.openhome.org/wiki/Ohnet-Av:Developer now has an overview of the device stack as well as API docs for all languages.

Simon
Find all posts by this user
08-07-2011, 12:26 PM
Post: #2
RE: Device stack overview now available
Thanks Simon,

Will this be expanded to include the JS CP API?

Rik
Find all posts by this user
08-07-2011, 01:47 PM
Post: #3
RE: Device stack overview now available
(08-07-2011 12:26 PM)rik Wrote:  Will this be expanded to include the JS CP API?

We have no plans at present to offer JavaScript APIs for the Device stack.

Note that this does not prevent use of the JS CP API (the 'Cp' in names stands for Control Point). It is easy to use the JS proxies to write a browser-based control point which communicates with services published by either existing UPnP stacks or ohNet.
Find all posts by this user
08-07-2011, 02:28 PM
Post: #4
RE: Device stack overview now available
Not sure how one could meaningfully run a JS device stack.

Graham
Find all posts by this user
08-07-2011, 02:34 PM
Post: #5
RE: Device stack overview now available
(08-07-2011 02:28 PM)graham Wrote:  Not sure how one could meaningfully run a JS device stack.

Graham

You could use Node.js - but that's another story.

I was asking for documentation of the JavaScript CP (Control Point) API - but don't worry the Doxygen comments are sufficient.
Find all posts by this user
08-07-2011, 03:26 PM
Post: #6
RE: Device stack overview now available
(08-07-2011 02:34 PM)rik Wrote:  I was asking for documentation of the JavaScript CP (Control Point) API - but don't worry the Doxygen comments are sufficient.

Sorry Rik, I see what you mean now.

The JS API docs will be updated the next time our automated release process runs, hopefully tonight. If you need something sooner, you can view the in-source comments which are parsed into API docs in ohnet/Upnp/Public/Js/WebUIsdk/ProxyCore.js. Or you can try

cd ohnet/Upnp
make docs

then look for the docs this generates under ohnet/Upnp/Build .
Find all posts by this user


Forum Jump: