* In the ContentDirectory description, SourceProtocolInfo doesn't need all the MIME types in AllowedValues. It actually makes the UPnP Certification Test Tool fail.

This commit is contained in:
Justin Maggard 2009-05-21 01:20:31 +00:00
parent 31cfba1a21
commit dc6a341f99
2 changed files with 10 additions and 4 deletions

View File

@ -101,15 +101,21 @@ main(int argc, char * * argv)
rootDesc = genRootDesc(&rootDescLen);
xml_pretty_print(rootDesc, rootDescLen, stdout);
free(rootDesc);
printf("\n-------------\n");
printf("\n----------------\n");
printf("ContentDirectory\n");
printf("----------------\n");
s = genContentDirectory(&l);
xml_pretty_print(s, l, stdout);
free(s);
printf("\n-------------\n");
printf("\n----------------\n");
printf("ConnectionManager\n");
printf("----------------\n");
s = genConnectionManager(&l);
xml_pretty_print(s, l, stdout);
free(s);
printf("\n-------------\n");
printf("\n----------------\n");
printf("X_MS_MRR\n");
printf("----------------\n");
s = genX_MS_MediaReceiverRegistrar(&l);
xml_pretty_print(s, l, stdout);
free(s);

View File

@ -292,7 +292,7 @@ static const struct action ConnectionManagerActions[] =
static const struct stateVar ConnectionManagerVars[] =
{
{"SourceProtocolInfo", 1<<7, 0, 44, 44}, /* required */
{"SourceProtocolInfo", 1<<7, 0, 0, 44}, /* required */
{"SinkProtocolInfo", 1<<7, 0, 0, 48}, /* required */
{"CurrentConnectionIDs", 1<<7, 0, 0, 46}, /* required */
{"A_ARG_TYPE_ConnectionStatus", 0, 0, 27}, /* required */