ข้ามไปยังเนื้อหาหลัก

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.

ยังมีคำถามอีกไหม