chincheta0815 wrote: > Well, actually I already did that as I am working on a way to steer some > devices... Therefore I use your LMS-toUPNP bridge code. I started and > got the thing discovered via UPNP/SOAP. Now I need to communicate to the > device using http GET, POST, SEND requests. I have to send the request > and work wit the response from the device. Everything should respect > async communication and use threads... > > Are there any functions already implemented I could use for these > tasks? > Is there a library available for that? > Do you need more info via email? > > Thanks a lot in advance.
We should probably move to the development thread. If the requests/responses are simple enough, then I just build them manually. You can see that in my airplay bridge (squeeze2raop.c, ActiveRemoteThread). Other than that, you probably can use the http parser that I use in the shairtunes2W plugin (see http.c) at least for the response processing. Other than that, I don't have a good proposal, but scanning github would help LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
