Skip to content
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

Sometimes Degu fail to update shadow, right after register Degu to AWS IoT Core. #41

Open
yoshidam-at opened this issue Mar 13, 2020 · 0 comments

Comments

@yoshidam-at
Copy link
Member

Describe the bug
Sometimes Degu fail to update shadow, right after register Degu to AWS IoT Core.

To Reproduce

  1. Register Degu to AWS IoT Core.
  2. Power on Degu.
  3. Wait few minutes.
  4. Cannot update shadow.

Expected behavior
reboot Degu.

Screenshots
none.

Version(please complete the following information):

  • DeguFirmware: v1.0.0-rc1
  • coap-mqtt-bridge: 2.0.0-1
  • degu-manager: 2.0.0-1

Additional context
none.

yoshidam-at added a commit to yoshidam-at/degu that referenced this issue Mar 27, 2020
yoshidam-at added a commit to yoshidam-at/degu that referenced this issue Apr 1, 2020
… right after register Degu to AWS IoT Core.

- set mutex degu_utils::degu_get_asset()
- set mutex CoAP send and receive
- add parameter zcoap_buf degu_utils::degu_coap_request() to reduce k_malloc()
- if the size secured by k_malloc is less than level 3, round up to level 2.
yoshidam-at added a commit to yoshidam-at/degu that referenced this issue Apr 13, 2020
…gister Degu to AWS IoT Core.

set CONFIG_HEAP_MEM_POOL_SIZE 39936(Multiples of 256).
delete get asset on callback thread link up.
delete mutex.
yoshidam-at added a commit to yoshidam-at/degu that referenced this issue Apr 13, 2020
yoshidam-at added a commit to yoshidam-at/degu that referenced this issue Apr 13, 2020
yoshidam-at added a commit to yoshidam-at/degu that referenced this issue Apr 13, 2020
…gister Degu to AWS IoT Core.

- add parameter zcoap_buf degu_utils::degu_coap_request() to reduce k_malloc()
- if the size secured by k_malloc is less than level 3, round up to level 2.
- set CONFIG_HEAP_MEM_POOL_SIZE 39936(Multiples of 256).
yoshidam-at added a commit that referenced this issue Apr 13, 2020
fix #41 Sometimes Degu fail to update shadow, right after register De…
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

No branches or pull requests

1 participant