본문으로 바로가기

meaning of isRelayOn in TextMessage of messageContent.

MGenu-1832
원글 작성자

What is the meaning of isRelayOn in TextMessage of messageContent, if I do call api Add with get TextMessage as example:

api.call("Add", {

"typeName": "TextMessage",

"entity": {

"device": {

"id": "***"

},

"messageContent": {

"contentType": "IoxOutput",

"isRelayOn": false

},

"isDirectionToVehicle": true

}

}, function(result) {

console. log("Done: ", result);

}, function(e) {

console. error("Failed:", e);

});

what would happen?

 

대화에 참여하기

You need to be logged in to reply to this post and participate in the Geotab Community discussions.

최고 답변

EishiFUN
커뮤니티 관리자

Hello @MGenu-1832​ ,

 

Thank you for asking your question in our community. The IOX Output and IOX NFC Reader both have a built in electronic relay switch. It's basically an 'on / off' switch for whatever it is hardwired to on installation. That property tells you the current status of that switch.

 

If you have any other questions about this feel free to reach out. We are here to help.

 

Have a great day!

Eishi FUN

답글 5개

EishiFUN
커뮤니티 관리자

Hello @MGenu-1832​ ,

 

Thank you for asking your question in our community. The IOX Output and IOX NFC Reader both have a built in electronic relay switch. It's basically an 'on / off' switch for whatever it is hardwired to on installation. That property tells you the current status of that switch.

 

If you have any other questions about this feel free to reach out. We are here to help.

 

Have a great day!

Eishi FUN

MGenu-1832
원글 작성자

@EishiFUN​ 

Thank you for your answer.If i send an Add/TextMessage call with :"messageContent": {

"contentType": "IoxOutput",

"isRelayOn": false

},

it will cut the relay and extend or stop the vehicle??

 

EishiFUN
커뮤니티 관리자

No it would set the device IOX-OUTPUT relay to off. Any outcome would be specific to function with the connected IOX device (if any), with no inherent relationship to the operation of the vehicle itself.

 

Let me know if you have other questions about this.

MGenu-1832
원글 작성자

@EishiFUN​ 

Thank you for your answer. So is there a way to turn on or off the engine of a vehicle with an api call?

 

EishiFUN
커뮤니티 관리자

No, none that I am aware of.

여전히 궁금한 점이 있으신가요?