getVehicleProfilesList
Command
Lists vehicle profiles created via RNC
Send this JSON-RPC message in the
BND_MESSAGE extra of an Intent with the action ACTION_RNC_BROADCAST, to BeNav's activity or receiver: see Sending commands.Lists the ids of the profiles the client application has created on this device, so it can reconcile what is actually provisioned against what it intended, and find profiles left behind by an earlier configuration.
Profiles the driver created are deliberately not listed: RNC only reports what it owns.
Command#
json
{
"id": "1",
"jsonrpc": "2.0",
"method": "getVehicleProfilesList"
}Response#
Success#
json
{
"id": "1",
"result": {
"vehicleIds": [
"custom_profile_1",
"custom_profile_2"
]
},
"jsonrpc": "2.0"
}Returns an empty list if there is no RNC profile in the application.
json
{
"id": "1",
"result": {
"vehicleIds": []
},
"jsonrpc": "2.0"
}Error#
Generic errors.