Commit Graph

233 Commits

Author SHA1 Message Date
John Beisley
0db75c9211 Document/fix the "date" marshalling. 2013-10-09 21:38:41 +01:00
John Beisley
75576218a4 Correct TimeOfDay type, and add marshalling for time.tz. 2013-10-09 21:35:09 +01:00
John Beisley
7469efd5ff Add TimeOfDay type. 2013-10-09 19:43:33 +01:00
John Beisley
17abe5294a Initial work on marshalling/unmarshalling SOAP types.
So far added:
* fixed.14.4
* char
* date
2013-10-08 23:00:49 +01:00
John Beisley
ef1de8df74 Add internetgateway1 and internetgateway2 generated code. 2013-10-06 23:16:53 +01:00
John Beisley
ea06094dea Attempt to add argument/return value documentation. 2013-10-06 23:16:25 +01:00
John Beisley
5ff1b1c840 Fix syntax error in generated code. 2013-10-06 22:45:11 +01:00
John Beisley
e48908bf4c Fix types to generated code. 2013-10-06 22:39:16 +01:00
John Beisley
574930a66a Add scpd module which was mistakenly not added previously. 2013-10-06 22:09:22 +01:00
John Beisley
df9c033d1a Initial work on auto-generating SOAP clients for UPnP services. 2013-10-06 22:06:47 +01:00
John Beisley
6a9b6ed1a9 Documentation update. 2013-10-06 22:06:22 +01:00
John Beisley
7047429ef8 Fix bug in visiting services. 2013-10-06 16:53:53 +01:00
John Beisley
914072fdd8 Separate lower-level API into separate packages. 2013-10-06 13:23:11 +01:00
John Beisley
e8e520e578 Add documentation comments. 2013-10-06 13:14:31 +01:00
John Beisley
0b82043f96 Tidy up the SOAP components a bit. 2013-10-06 12:57:26 +01:00
John Beisley
80bd2aa934 Helper functions on devices, minor fixes. 2013-10-03 20:38:23 +01:00
John Beisley
61577bd15b Seems that searching for a service also works. 2013-09-29 16:15:35 +01:00
John Beisley
33980ebacf Fix bug introduced by removing pointer indirection. 2013-09-29 16:09:10 +01:00
John Beisley
c86636d636 Remove TODO dealt with in the last commit. 2013-09-29 16:03:27 +01:00
John Beisley
69d76cd5e4 Remove some pointer indirections in device.go. 2013-09-29 15:59:53 +01:00
John Beisley
a7fffcafdc Remove debug code. 2013-09-29 11:27:00 +01:00
John Beisley
1b8d66b887 Add SOAP action support. 2013-09-29 11:23:10 +01:00
John Beisley
489c180de9 Add SCPD parsing. 2013-09-28 20:05:21 +01:00
John Beisley
58cc710720 SetURLBase on PresentationURL as well. 2013-09-28 18:59:03 +01:00
John Beisley
c7f69f6a43 Make URL field names consistent. 2013-09-28 18:54:48 +01:00
John Beisley
c2207fac12 Rename xml.go -> device.go. 2013-09-28 18:47:39 +01:00
John Beisley
29edeac666 Parse device URLs relative to URL base. 2013-09-28 18:47:08 +01:00
John Beisley
b36f8b301e Correct service names, add standards reference. 2013-09-28 18:07:05 +01:00
John Beisley
fdb21f966f Add example of using the library to discover an InternetGatewayDevice. 2013-09-28 17:58:28 +01:00
John Beisley
26ceb1478f Keep things generic for the time being. Refactor for simplicity. 2013-09-28 17:57:51 +01:00
John Beisley
9bddaed1e9 Introduce minor delay between sends on HTTPU. 2013-09-28 11:26:18 +01:00
John Beisley
407136030e Separated various levels of protocol out.
Specifically:
* HTTPU
* SSDP
* UPNP

Also now supports multiple discoveries from a search.
2013-09-28 00:09:38 +01:00
John Beisley
fca075a6d5 Discovery of IGD vaguely in place. Start of parsing device schema. 2013-09-26 23:11:06 +01:00