Hello there,

Recieved from Appro SDK for DM365. It has commented out PSIA code.

For example, cam on GET /PSIA/Streaming/channels/

capabilities
answer 404, but there are this function in
ipnc_app/network/boa-0.94.13/src/psia_root.c:

void add_std_resources(node_t *parent, void *fn_index, void *fn_indexr,
void *fn_description, void *fn_capabilities)
{
 node_t *node;

.....

 if(fn_capabilities) {
   node = add_node(parent, "/capabilites", M_GET, NODE_STD, "1.0",
fn_capabilities);
   desc_get_function(node, "Return capabilities of the current resource");
   desc_get_result(node, "resource specific");
   desc_get_notes(node, "Returns a capabilities description of the
resource");
 }
}

And instead of using this it was commented:

static int root_build_tree(node_t *parent)
{
 node_t *node;

 node = add_node(parent, "/System", M_NULL, NODE_SERVICE, "1.0",
&process_system);
 desc_get_function(node, "System service");
 //add_std_resources(node, &process_index, &process_indexr,
&process_description, NULL);

 node = add_node(parent, "/Security", M_NULL, NODE_SERVICE, "1.0",
&process_security);
 desc_get_function(node, "Security service");
 //add_std_resources(node, &process_index, &process_indexr,
&process_description, NULL);

 node = add_node(parent, "/Streaming", M_NULL, NODE_SERVICE, "1.0",
&process_streaming);
 desc_get_function(node, "Streaming service");
 //add_std_resources(node, &process_index, &process_indexr,
&process_description, NULL);

 return (build_tree_error());
}

Appro techsupport engineer told thats was made by TI:

> The part of PSIA function was edited by TI's engineer. Please ask TI E2E
> Community or contact with TI directly to get more information about PSIA.
> Thanks.

Why?

Best regards, Andrei "MEZON" Shvetsoff

Devline Testing Engineer