YELLOWBRICK V3 User Manual Page 8

  • Download
  • Add to my manuals
  • Print
  • Page
    / 18
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 7
MO (Mobile Originated) Messages
You will receive MO messages in the same way that you receive position reports, by calling /GetPositions
"
An example:
"
<position id="5410158" momsn="2587" at="2012-05-25T08:45:05Z" lat="18.88754" lon="39.82386" source="GPS" sog="16.0" cog="151"
alt="27" temp="28.0" batt="91" alert="false">
<message ackRequest="false">What shall we do with the drunken sailor?</message>
</position>
"
The <message /> element will be present if there was a text message sent with a report. The ackRequest parameter (true/false) indicates whether or not the sender
requested an acknowledgement that the message had been read by somebody (a human). "Note that there is no way of sending an 'acknowledgement' back to the device
- you should simply send a regular message saying "Acknowledged", or more helpfully "Acknowledged - 007 is on his way. Stay calm."
"
It is possible that the <position />"element can contain a parameter messageAck=123. ""This means that the user of the device has acknowledged a message that was
sent to them. "The number refers to the message receipt ID, which is returned to you after you submit a message to the /SendMessage API method, described next.
Page view 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 17 18

Comments to this Manuals

No comments