cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Duty cycle modulation design/mechanics?

qzhang
1-Newbie

Duty cycle modulation design/mechanics?

We have been looking at duty cycle modulation (available in Edge SDKs) as a way to conserve resources (energy/power/battery life, bandwidth, etc.) on an edge device. However, it seems that the way the off-period of the duty cycle is implemented is to simply disconnect the communication endpoint from the server, and reconnect at the start of a new duty cycle (at least in the Java Edge SDK).

Is this design intended? We would like if during the off-period, the client would still be able to receive some sort of keep-alive/force-connect message from the ThingWorx platform. I know that the client​ is able to initiate such connections by setting forceConnect to true when calling invokeService, but is there a similar mechanism available for the platform?

ACCEPTED SOLUTION

Accepted Solutions
supandey
19-Tanzanite
(To:qzhang)

Qiqiang, i believe this is working to spec I'm not aware of any other option which you have to keep the modulation cycle and still get some sort of communication out. May be someone here already tried this.

Anyhow doing regular ping/pongs in off cycle mode will also require some amount of resources, isn't it contradicting the requirement of your use case to conserve resources?

View solution in original post

2 REPLIES 2
supandey
19-Tanzanite
(To:qzhang)

Qiqiang, i believe this is working to spec I'm not aware of any other option which you have to keep the modulation cycle and still get some sort of communication out. May be someone here already tried this.

Anyhow doing regular ping/pongs in off cycle mode will also require some amount of resources, isn't it contradicting the requirement of your use case to conserve resources?

It does a bit, but we were thinking that somehow we can lower our resource consumption while still getting responsiveness. Thank you for the reply!

Announcements


Top Tags