[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XML FormattedTextScreen
Author Message
TekMason Offline
Junior Member
**

Posts: 5
Joined: Dec 2013
Reputation: 0
Post: #3
RE: XML FormattedTextScreen
Thanks Yealink Support.
The code you posted didn't quite work but it was close enough to send me down the right path.
This is the working code:
-------------------------------------------------
<YealinkIPPhoneFormattedTextScreen
doneAction="http://10.1.0.105/menu.php"
Beep="yes"
Timeout="60"
LockIn="no">

<Scroll>
<Line Size="normal">Current Conditions</Line>
<Line Size="small">Temperature: 2.1°C</Line>
<Line Size="small">Pressure: 100.7 kPa falling</Line>
<Line Size="small">Wind: S 31 km/h gust 45 km/h</Line>
<Line Size="normal">Monday, 13 January Forecast</Line>
<Line Size="small">Cloudy. A few showers beginning near noon.</Line>
<Line Size="small">Wind southwest 30 km/h. High plus 4.</Line>
</Scroll>

</YealinkIPPhoneFormattedTextScreen>
-------------------------------------------------
There were 2 things in the code you posted that the T38G did not like and caused it to throw a File format errror! message.
1. <?xml version="1.0" encoding="ISO-8859-1"?>
2. The closing scroll tag was lower case, </scroll>. It must be </Scroll>. The T38G is very particular about the XML it receives and case matters.

It is bizarre that the Yealink will only display 2 lines unless they are enclosed within scroll tags. This presents another issue that I will bring up in a new topic.

TekMason
(This post was last modified: 01-17-2014 03:31 AM by TekMason.)
01-17-2014 03:05 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
XML FormattedTextScreen - TekMason - 01-13-2014, 03:03 PM
RE: XML FormattedTextScreen - TekMason - 01-17-2014 03:05 AM
RE: XML FormattedTextScreen - CWR - 03-04-2014, 01:14 PM
RE: XML FormattedTextScreen - CWR - 03-04-2014, 10:54 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication