solettaproject / soletta

Soletta Project is a framework for making IoT devices. With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.
http://solettaproject.org
Apache License 2.0
225 stars 108 forks source link

comms: Add sol-netctl agent API V6 #2319

Closed wzhen12 closed 8 years ago

wzhen12 commented 8 years ago

The agent is necessary in the process of network connection, that will receive input information from the user and send it to the network(such as AP and so on).

The API is based on connman D-Bus APIs, it provides register agent, input login information and so on netctl agent API.

Signed-off-by: Wu Zheng wu.zheng@intel.com

wzhen12 commented 8 years ago

The Version 6 of Add sol-netctl agent API.

  1. Modify the version 5 errors. (https://github.com/solettaproject/soletta/pull/2312)
  2. Change the vector param of sol_netctl_request_input and request_input to ptr_vector.

@ceolin and @barbieri Please check it.

ceolin commented 8 years ago

Please, review the comments and submit a new pr that I will integrate it. The serie is pretty good.

@wzhen12 is missing versioning netctl API, the structs in this module are not versioned. You don't need to do this for this pull request, since the problem exists before your pr. Please let me know if you can do this in another pr.

wzhen12 commented 8 years ago

@ceolin It is okay. Sorry, I have a Chinese holiday. I will have a response soon.