This commit syncs the device request code to match with the latest 'cc_api'
layer implementation.
See commit 99a2ff39b771f0e36af8d15d40f970462352e0b6 in 'cc_api' repository and
commit d8c848fc2f516a6c2197181f7540c9c23feaf44f in 'cc_dey' repository.
Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
Connector creates detached threads and calling to 'wait_for_ccimp_threads()' is
not required.
See commit d34ddfb719932ae59774b388579b7d6a77472c4f in 'cc_dey' repository.
Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
* Remove 'MAX_RESPONSE_SIZE' define and allocate required memory in
'device_request_listener' example.
* Create 'free_timestamp()' function in 'upload_data_points' example.
* Use some sorter variable names.
* Use '__func__' to log function names.
* Remove line feed from log messages.
* Remove not required curly braces for single line loops.
Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
These examples can be used to test Device Cloud functionality. There are three
test applications available:
* device_request_listener: Listen for requests from the Device Cloud
* upload_data_points: Upload test data points to the Device Cloud
* upload_file: Uploads the contents of a file as binary data points
https://jira.digi.com/browse/DEL-3305https://jira.digi.com/browse/DEL-3309https://jira.digi.com/browse/DEL-3397
Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>