mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-01-28 01:47:18 +01:00
bbfdmd: Show only usp schema when registering the services
This commit is contained in:
parent
a20a15888b
commit
08cf6a9725
1 changed files with 4 additions and 0 deletions
|
|
@ -96,6 +96,10 @@ void fill_service_schema(struct ubus_context *ubus_ctx, int ubus_timeout, const
|
|||
|
||||
blobmsg_add_string(&bb, "path", BBFDM_ROOT_OBJECT);
|
||||
|
||||
void *table = blobmsg_open_table(&bb, "optional");
|
||||
blobmsg_add_string(&bb, "proto", "usp");
|
||||
blobmsg_close_table(&bb, table);
|
||||
|
||||
int err = ubus_invoke(ubus_ctx, ubus_id, "schema", bb.head, receive_schema_result, (void *)*service_schema, ubus_timeout);
|
||||
|
||||
if (err != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue