Archive for December, 2003
YEHAAA!

Well I was kinda cheating before. I was reading the SCPD xml from a file and returning it directly when asked by a control point. Well after 4 more hours of work tonite, I now actually parse it, create the C++ objects and when being asked, I reformat the XML on the fly. Very neat! .. I just noticed some problems with my parser though, it doesn’t know how to pass comments! And also, it doesn’t like it when the xml has the header < ?xml version=1.0?> , it seems to barf .. will have to fix that soon…

Multiple devices attached

OH I forgot to mention. I can now run multiple devices (non embedded) on the same scheduler! So if you want a MediaServer and a MediaRenderer running on the same scheduler, it works, simply add them both and launch the scheduler. Oh and of course you can start the scheduler first and attach a device later ;-)

Validation passed !

I was too tired yesterday to blog it (2am again)but after 6 hours of work, I fixed more problems and am now valid for the discovery and description layers of UPnP !!!! This is huge. I also found out that I don’t need to have one listening http server on each local interface which is really weird if you ask me. One problem I noticed which also happens with the Intel stack is that validation hangs if the vpn cisco client runs at the same time. It is fine with a Network loopback adapter AND a standard windows vpn connection running at the same time so I don’t know what’s up with that …

Sleeeeeppy….

Ok I spent the last 5 hours trying to fix some problems. The sockets were not being closed properly. It was tricky to fix as 2 tasks can be simultaneously reading and writing to the socket or not. Anyhow, I found a nice way to solve the problem using references.
I also added support to complete search!
Code is more streamlined too, reorganized.
I can already send POST but I am not responding to them yet.
Next thing is to actually create the services based on xml document ..
Time to sleeeeeeeeeeeeep….

Embedded Devices work !

I just cant stop now. I am so on top!!!