- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
We meet low power issue with example code of "mtb-example-anycloud-mqtt-client" . It seems that 43012 can goes into offload with low power, but PSOC6 cannot goes to deep sleep constantly. The PSOC6 will sleep 100ms and then wake up with 100ms, it seems that PSOC6 runs and sync with AP beacon interval. I checked that this example cod did not used the LPA library, we hope this example can woks like the "TCP offload" project. thanks!
regards,
David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you clarify more on this --> "seems the PSOC6 cannot goes to sleep due the network stack not suspend"
Have you included the "network_idle_task" function which in turn calls the function "wait_net_suspend"?
Is it that you have already included the function and still you can't see the network being suspended?
You can also take a look at this thread for more clarifications-->
https://community.cypress.com/thread/70916
Thanks
Aditi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Yes, the TCP offload project employs the LPA (Low Power Assistant) Library for low power applications, whereas the AnyCloud Mqtt Client application doesn't include this library. If you want to use this library and utilize low power functionality, then you need to add this library to your MQTT application. You can do so via the Library Manager 1.2 provided in the Modus ToolBox 2.2. It lets you add and remove the various libraries according to the requirement of your application. I have attached the snapshot for your reference. In the Modus ToolBox IDE, you will find the Library Manager 1.2 in the Tools.
Thanks
Aditi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aditi,
Yes, already add the LPA lib into the project, but seems the PSOC6 cannot goes to sleep due the network stack not suspend. And "wait_net_suspend" can not pass due network will never suspend.
Thanks!
Regards,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you clarify more on this --> "seems the PSOC6 cannot goes to sleep due the network stack not suspend"
Have you included the "network_idle_task" function which in turn calls the function "wait_net_suspend"?
Is it that you have already included the function and still you can't see the network being suspended?
You can also take a look at this thread for more clarifications-->
https://community.cypress.com/thread/70916
Thanks
Aditi