Skip to content

pass parent id to provision constrained ubus call #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2016
Merged

pass parent id to provision constrained ubus call #2

merged 1 commit into from
Mar 21, 2016

Conversation

pratik-prajapati-imgtec
Copy link
Contributor

Signed-off-by: Pratik Prajapati Pratik.Prajapati@imgtec.com

@@ -57,7 +63,8 @@ function provision_constrained()

-- Call provision constrained device function registered on ubus
ret = conn:call("flow_device_manager", "provision_constrained_device", {fcap = fcap_code,
licensee_id = 7, device_type = constrained_dev_type, client_id = constrained_dev_id})
licensee_id = 7, device_type = constrained_dev_type, client_id = constrained_dev_id,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

licensee Id should be really read from the contents of /etc/lwm2m/provision.cfg

Also extract licensee_id from provision.cfg instead of passing hardcoded value.

Signed-off-by: Pratik Prajapati <Pratik.Prajapati@imgtec.com>
@abhijit-mahajani-imgtec
Copy link
Contributor

Approved and Verified.

abhijit-mahajani-imgtec pushed a commit that referenced this pull request Mar 21, 2016
pass parent id to provision constrained ubus call
@abhijit-mahajani-imgtec abhijit-mahajani-imgtec merged commit 03e4670 into CreatorKit:dev Mar 21, 2016
nikhil-zinjurde-imgtec added a commit that referenced this pull request Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants