Commit Graph

28 Commits

Author SHA1 Message Date
1a2c6ad5b2 refactor: rename go module 2022-11-01 20:02:13 +01:00
hzy
d8bd5d2d52 More functions support Context 2022-10-02 14:55:49 +01:00
f320faf4bc Consolidate V1 SOAP type data into the SOAP package. 2022-03-24 19:46:39 +00:00
a37fadc3ba Factor code template into a file.
This allows code regeneration without rebuilding the generator binary.
2022-03-24 19:46:39 +00:00
9af4afce08 add support for Open Connectivity Foundation DCPs 2022-03-22 18:18:01 +00:00
ca81a64b42 Reorder items in generated source files.
Ideally they would always have been sorted as such, but this seems more
critical in migrating from one service definition to another where the ordering might
change.
2022-03-13 09:02:29 +00:00
5a0d4bd7ee Add *Ctx methods for calling SOAP methods.
Fixes #42.
2021-07-11 14:53:32 +01:00
656e61dfad Switch to generate code with go generate. 2018-10-13 15:04:17 +01:00
dceda08e70 Use totalBytesHack for intergateway2 too 2017-11-09 16:41:07 -05:00
29fc54a4c0 Remove spurious spaces from between req/resp struct members in generated code. 2017-11-05 13:50:25 +00:00
efdc90f04d Emphasize generated nature of code more. 2017-11-05 13:40:23 +00:00
b3887248e5 Fix uint out of value parsing for > 4 GiB traffic usage 2017-10-04 08:55:00 +01:00
99da32467b Cut down on useless argument/return docs. 2015-06-07 10:42:22 +01:00
790e151b1e Hack back in a URN missing from the internetgateway2 spec. 2015-06-07 09:27:13 +01:00
3232a79f99 Update generated code for internetgateway2 - updated spec. 2015-06-07 09:04:24 +01:00
77b86c3723 Generate dcps for AV1 audio/video devices
Tested against Sonos PLAY:5.

Added URI type to the SOAP library.

The latest upnpresources.zip does not contain older versions of the
specifications, so to be able to generate the bindings I had to create
a fake one:

    wget http://upnp.org/specs/av/UPnP-av-TestFiles-20070927.zip
    install -d 'standardizeddcps/MediaServer_1 and MediaRenderer_1'
    mv UPnP-av-TestFiles-20070927.zip 'standardizeddcps/MediaServer_1 and MediaRenderer_1/'
    zip -r fake.zip 'standardizeddcps/MediaServer_1 and MediaRenderer_1'
    gotask specgen -s fake.zip -o ../dcps
2015-06-06 16:54:08 -07:00
fb03be1c78 Add support for discovery-free client creation in dcps packages. 2015-06-06 11:53:50 +01:00
ca8dc4faf5 Add additional header docs to generated DCP packages. 2014-06-07 21:24:11 +01:00
24f693965e Add warning not to edit generated files by hand. 2014-06-07 20:29:41 +01:00
90e83f960e Update internetgateway[12] from new specgen. 2014-01-06 20:17:00 +00:00
1f02d6bce3 Add New*Clients functions to the generated code to simplify their use. 2013-12-31 20:01:17 +00:00
03572e5988 Small fixes and removals, update discoverigd.go. 2013-12-31 18:36:26 +00:00
587c68769d Remove redundant information from action docs. 2013-12-31 18:06:34 +00:00
d4355376d7 More minor generated documentation improvements. 2013-12-31 18:04:59 +00:00
92b4aac9bb Attempt to tidy generated documentation. 2013-12-31 17:52:43 +00:00
50cfea8d4f Inline request/response structures. 2013-12-31 17:06:15 +00:00
d2cd2978d9 Use data type (un)marshal in generated DCP code. 2013-12-31 16:56:20 +00:00
ef1de8df74 Add internetgateway1 and internetgateway2 generated code. 2013-10-06 23:16:53 +01:00