How to decrease the time(5 secs to 1 sec) to publish data to cloud from fleetwise on goldvip

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to decrease the time(5 secs to 1 sec) to publish data to cloud from fleetwise on goldvip

Jump to solution
705 Views
sonalip94
Contributor III

Hello @Daniel-Aguirre

I am trying to reduce the time to publish the data to the cloud. By default it is 5000ms and i tried to change this by changing "publishToCloudParameters": {
"maxPublishMessageCount": 1000  / 500,
"collectionSchemeManagementCheckinIntervalMs": 5000 / 1000
}, 

in /etc/aws-iot-fleetwise/goldvip-config.json file.

But, this change is not reflected in the database and i still see the data is published every 5 secs to the cloud.

Can you guide me with how this can be achieved?

887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.EngineSpeed2023-04-11 07:25:44.7880000001600.0-
887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.Speed2023-04-11 07:25:44.78800000060.0-
887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.AmbientAirTemperature2023-04-11 07:25:44.78800000026.0-
887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.ThrottlePosition2023-04-11 07:25:44.78800000065.88235294117646-
887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.FuelLevel2023-04-11 07:25:44.78800000093.72549019607843-
887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignDTC_P01232023-04-11 07:25:49.764000000-true
889875715nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.EngineSpeed2023-04-11 07:25:49.8080000001700.0-
0 Kudos
Reply
1 Solution
638 Views
sonalip94
Contributor III

Yes Mayank,

I saved the json and re-started the fleetwise agent as well but that did not help.

The Solution for this is to change the below parameters as well so that the fleetwise service requests the CAN data every one second and publishes to the cloud.

 

        "pidRequestIntervalSeconds": 1,
        "dtcRequestIntervalSeconds": 1,

 

View solution in original post

0 Kudos
Reply
2 Replies
655 Views
MayanksPatel
NXP Employee
NXP Employee

Hi @sonalip94,

Hope you are doing well.

Are you saving the .json file after making changes to it?

Also, re-configure the AWS IoT Fleetwise agent (Step mentioned in the user Manual) and deploy it again.

 

Hope this helps you.

 

Thanks,

Mayank s Patel

0 Kudos
Reply
639 Views
sonalip94
Contributor III

Yes Mayank,

I saved the json and re-started the fleetwise agent as well but that did not help.

The Solution for this is to change the below parameters as well so that the fleetwise service requests the CAN data every one second and publishes to the cloud.

 

        "pidRequestIntervalSeconds": 1,
        "dtcRequestIntervalSeconds": 1,

 

0 Kudos
Reply