Friday, February 23, 2007

CyberLink for C v2.1 : I have released the new version today. The major changes are bellow.
* Changed cg_http_request_post() to add a user agent, CyberGarage-HTTP/1.0, as default.
* Changed CG_HTTP_USERAGENT to CG_HTTP_USERAGENT_DEFAULT to add CG_HTTP_USERAGENT as the normal header define.
* Changed cg_http_packet_sethost() not to the port string for lighttpd when the port number is 80.
* Fixed cg_str2*() to return 0 when the parameter is null.
* Fixed cg_http_request_post() not to hung up when the request method is HEAD.
* Added a onlyHeader parameter to cg_http_response_read() and cg_http_response_packet().
* Added CG_HTTP_USERAGENT when CyberLink doesn't use CURL.
* Fixed to compile normally on the release mode for Windows Mobile.
* Added USE_CFILE define and --enable-cfile option to disable the file functions as default.
* Disabled cg_file*() as default.
* Disabled cg_upnp_device_loaddescriptionfile() as default.
* Added cg_filelist_*().
* Added cg_file_listfiles().
* Fixed to compile normally for WindowsCE platforms using Visual Studio 2005 and Windows Mobile 5.0 Pocket PC SDK.
* Changed WindowsCE flags from _WIN32_WCE to WINCE.
* Added time() and localtime() in src/cybergarage/util/ctime_win32.c only for WINCE platforms.
* Changed cg_log_print() for WIN32 platforms.
* Changed to use cg_strdup() instead of strdup() in clog.c.
* Added cg_http_request_settimeout() and cg_http_request_gettimeout().
* Added cg_http_response_settimeout() and cg_http_response_gettimeout().
* Added cg_http_server_settimeout() and cg_http_server_gettimeout().
I have released the protocol stack of UPnP/AV using SVN too. The package includes some samples about the implementation of the media server such as Youtube and Windows Mobile.

Please check it :-)

Comments:
Hello, first sorry for my but english.

I am a studen of informatic and I have to do a work of UPnP in C.

I see your CyberlinkC, but I have a question for you.

CyberLinkC is only for mobile phones?

Thanks
 
Hi,

The CyberLink supports any plathomes such as WindowsXP, Linux, MacOSX, T-Engine etc ...

Please check the users guide :-)
 
Hi Satoshi, and thank you for the Cyberlink library. I've been working on it for a while now successfully building a few UPnP devices.
Right now I'm struggling to build a small control point that is able to invoke an action with a known name and known parameters on a device that is detected by the control point itself. Isn't there any sample code without swing stuff in it?
I'm trying to start from the sample control point code but I'm finding it quite lengthy.
What I would need is some sample Java code that allows me to detected UPnP devices joining and leaving the UPnP network, and to invoke a specific action on them.
I would greatly appreciate if you could write me back at fabrizio@oasi.asti.it
Thank you!
 
Hi Fabrizio,

Please check the following document at first :-)
http://sourceforge.net/project/showfiles.php?group_id=75638&package_id=76172

>Isn't there any sample code
>without swing stuff in it?

Check 4 Control Point in the document.

>What I would need is some sample Java code that allows me to detected
>UPnP devices joining and leaving the UPnP network, and to invoke a
>specific action on them.

Check 4.7 Event in the documentation.
 
Thank you Satoshi, I'm reviewing the documentation: what I'm working on now is the OSGi porting of your Cyberlink library, done by domoware.
Keep up the good work!
 
Hi Satoshi san,

We are trying to build CyberGarage application on Fedora Core 5. We were able to build the package and install. We are new to this UPnP architecture. We are trying to develop a SSDP application for our software. But we are not sure how to make use of the sample application for our need. We want to do service discovery of connected devices. Could you please guide us to make suitable use of the sample application.
 
Hi,

To create the control point application, please check the sample, upnpdump, in sample/upnpdump :-)
 
I want some help from any of you , can this open source support AutoIP(IPv4 Link local addressing), if support can you give you tell or give code from where actually opens source code starts.
 
Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?