text:
35" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="1.27" y="6.35" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="1.27" y="2.54" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="60.96" y="11.43" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="26.035" y="3.937" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="23.495" y="3.81" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="44.45" y="18.796" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="44.45" y="17.653" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="44.45" y="16.51" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="44.45" y="15.24" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="44.45" y="13.97" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="44.45" y="12.7" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="44.45" y="11.43" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="44.45" y="9.906" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="44.45" y="8.255" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="44.45" y="6.35" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="59.055" y="9.525" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="57.15" y="9.525" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="57.15" y="7.62" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="59.055" y="7.62" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="60.96" y="7.62" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="55.245" y="24.13" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="56.515" y="24.13" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="57.785" y="24.13" extent="1-16" drill="0.3048" diameter="0.635"/>
</signal>
<signal name="VBAT">
<contactref element="U2" pad="55"/>
<contactref element="U2" pad="56"/>
<contactref element="U2" pad="57"/>
<contactref element="T_4.1V" pad="T"/>
<contactref element="PWR" pad="+"/>
<contactref element="R6" pad="2"/>
<contactref element="C1" pad="1"/>
<contactref element="C3" pad="+"/>
<contactref element="C4" pad="2"/>
<contactref element="C5" pad="2"/>
<contactref element="L2" pad="2"/>
<contactref element="C9" pad="2"/>
<polygon width="0.3048" layer="1" isolate="0.4064" thermals="no">
<vertex x="28.829" y="21.2725"/>
<vertex x="31.242" y="21.2725"/>
<vertex x="31.242" y="18.415" curve="-90"/>
<vertex x="28.067" y="15.24"/>
<vertex x="18.669" y="15.24" curve="90"/>
<vertex x="18.034" y="14.605" curve="-90"/>
<vertex x="17.399" y="13.97"/>
<vertex x="15.24" y="13.97" curve="-90"/>
<vertex x="14.859" y="14.351"/>
<vertex x="14.859" y="17.399" curve="-90"/>
<vertex x="15.24" y="17.78"/>
<vertex x="28.194" y="17.78" curve="90"/>
<vertex x="28.829" y="18.415"/>
</polygon>
<wire x1="24.638" y1="16.129" x2="24.13" y2="16.637" width="0.3048" layer="1"/>
<wire x1="24.13" y1="16.637" x2="20.32" y2="16.637" width="0.3048" layer="1"/>
<wire x1="20.32" y1="16.637" x2="20.193" y2="16.51" width="0.3048" layer="1"/>
<wire x1="15.113" y1="16.82" x2="16.312" y2="15.621" width="0.4064" layer="1"/>
<via x="16.764" y="22.86" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="16.129" y1="21.59" x2="16.764" y2="22.225" width="0.4064" layer="1"/>
<wire x1="16.764" y1="22.225" x2="16.764" y2="22.86" width="0.4064" layer="1"/>
<wire x1="27.305" y1="15.621" x2="27.178" y2="15.748" width="0.3048" layer="1"/>
<wire x1="27.178" y1="15.748" x2="27.305" y2="15.748" width="0.3048" layer="1"/>
<wire x1="16.129" y1="21.59" x2="15.113" y2="21.59" width="0.4064" layer="1"/>
<wire x1="15.113" y1="16.82" x2="15.113" y2="19.939" width="0.4064" layer="1"/>
<wire x1="15.113" y1="19.939" x2="15.113" y2="21.59" width="0.4064" layer="1"/>
<contactref element="D2/STA" pad="+"/>
<contactref element="D3/NET" pad="+"/>
<wire x1="9.271" y1="2.667" x2="10.287" y2="2.667" width="0.254" layer="1"/>
<wire x1="11.303" y1="2.667" x2="10.287" y2="2.667" width="0.254" layer="1"/>
<via x="10.287" y="2.667" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="10.287" y1="2.667" x2="26.924" y2="2.667" width="0.254" layer="16"/>
<via x="26.924" y="2.667" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="26.924" y1="2.667" x2="27.94" y2="2.667" width="0.254" layer="1"/>
<wire x1="27.305" y1="15.748" x2="27.813" y2="15.748" width="0.4064" layer="1"/>
<wire x1="27.813" y1="15.748" x2="28.321" y2="15.24" width="0.4064" layer="1"/>
<wire x1="28.321" y1="15.24" x2="28.321" y2="15.113" width="0.4064" layer="1"/>
<wire x1="28.321" y1="15.113" x2="28.321" y2="13.716" width="0.4064" layer="1"/>
<wire x1="28.321" y1="15.113" x2="28.067" y2="15.367" width="0.4064" layer="1"/>
<wire x1="28.321" y1="15.113" x2="28.575" y2="15.367" width="0.4064" layer="1"/>
<wire x1="15.24" y1="21.59" x2="16.129" y2="21.59" width="0.4064" layer="16"/>
<wire x1="16.129" y1="21.59" x2="16.764" y2="22.225" width="0.4064" layer="16"/>
<wire x1="16.764" y1="22.86" x2="16.764" y2="22.225" width="0.4064" layer="16"/>
<wire x1="28.321" y1="13.716" x2="26.924" y2="12.319" width="0.4064" layer="1"/>
<wire x1="26.924" y1="12.319" x2="26.924" y2="2.667" width="0.4064" layer="1"/>
</signal>
<signal name="VIN">
<contactref element="U1" pad="2"/>
<contactref element="R4" pad="2"/>
<contactref element="C2" pad="+"/>
<contactref element="D1" pad="-"/>
<contactref element="T_EXT" pad="T"/>
<contactref element="C24" pad="2"/>
<polygon width="0.254" layer="1" isolate="0.254" thermals="no">
<vertex x="9.017" y="20.828"/>
<vertex x="9.779" y="20.828"/>
<vertex x="9.779" y="18.61755" curve="-90"/>
<vertex x="9.32245" y="18.161" curve="90"/>
<vertex x="8.8265" y="17.66505"/>
<vertex x="8.8265" y="14.478" curve="-90"/>
<vertex x="8.1915" y="13.843"/>
<vertex x="5.08" y="13.843" curve="-90"/>
<vertex x="4.953" y="13.97"/>
<vertex x="4.953" y="18.288" curve="-90"/>
<vertex x="5.588" y="18.923"/>
<vertex x="8.493365625" y="18.923" curve="90"/>
<vertex x="9.017" y="19.446634375"/>
</polygon>
<wire x1="5.461" y1="18.034" x2="5.461" y2="19.812" width="0.4064" layer="1"/>
<via x="47.879" y="21.463" extent="1-16" drill="0.635" diameter="1.778"/>
<wire x1="47.879" y1="21.463" x2="43.866915625" y2="25.475084375" width="2.032" layer="16"/>
<wire x1="43.866915625" y1="25.475084375" x2="18.669" y2="25.475084375" width="2.032" layer="16"/>
<wire x1="18.669" y1="25.475084375" x2="10.563009375" y2="25.475084375" width="2.032" layer="16"/>
<wire x1="10.563009375" y1="25.475084375" x2="6.223" y2="21.135075" width="2.032" layer="16" curve="90"/>
<via x="6.223" y="12.827" extent="1-16" drill="0.635" diameter="1.778"/>
<wire x1="18.415" y1="21.59" x2="18.415" y2="24.384" width="0.4064" layer="16"/>
<wire x1="18.415" y1="24.384" x2="18.415" y2="25.221084375" width="0.4064" layer="16"/>
<wire x1="18.415" y1="25.221084375" x2="18.669" y2="25.475084375" width="0.4064" layer="16"/>
<wire x1="18.415" y1="24.384" x2="17.907" y2="24.892" width="0.4064" layer="16"/>
<wire x1="18.415" y1="24.384" x2="18.796" y2="24.765" width="0.4064" layer="16"/>
<contactref element="D2" pad="-"/>
<wire x1="47.879" y1="21.463" x2="57.404" y2="21.463" width="2.032" layer="1"/>
<wire x1="57.404" y1="21.463" x2="58.598" y2="20.269" width="2.032" layer="1"/>
<wire x1="58.598" y1="17.78" x2="58.598" y2="20.269" width="2.032" layer="1"/>
<wire x1="58.598" y1="17.78" x2="58.598" y2="13.716" width="2.032" layer="1"/>
<wire x1="58.598" y1="13.716" x2="58.598" y2="13.132" width="2.032" layer="1"/>
<wire x1="58.598" y1="13.132" x2="58.547" y2="13.081" width="2.032" layer="1"/>
<wire x1="58.547" y1="13.081" x2="58.547" y2="13.665" width="2.032" layer="1"/>
<wire x1="58.547" y1="13.665" x2="58.598" y2="13.716" width="2.032" layer="1"/>
<wire x1="5.715" y1="15.24" x2="6.223" y2="14.732" width="1.778" layer="1"/>
<wire x1="6.223" y1="14.732" x2="6.223" y2="12.827" width="2.032" layer="1"/>
<wire x1="6.223" y1="21.135075" x2="6.223" y2="12.827" width="2.032" layer="16"/>
</signal>
<signal name="N$4">
<contactref element="R19" pad="2"/>
<contactref element="SIMHOLDER" pad="4"/>
<via x="42.3545" y="27.051" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="44.5135" y1="27.051" x2="49.784" y2="21.7805" width="0.4064" layer="16"/>
<wire x1="51.816" y1="38.608" x2="51.816" y2="37.465" width="0.4064" layer="1"/>
<via x="51.816" y="37.465" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="51.816" y1="37.465" x2="51.816" y2="36.83" width="0.4064" layer="16"/>
<wire x1="51.816" y1="36.83" x2="51.181" y2="36.195" width="0.4064" layer="16"/>
<via x="42.418" y="35.6235" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="51.181" y1="36.195" x2="42.9895" y2="36.195" width="0.4064" layer="16"/>
<wire x1="42.9895" y1="36.195" x2="42.418" y2="35.6235" width="0.4064" layer="16"/>
<wire x1="42.3545" y1="27.051" x2="44.5135" y2="27.051" width="0.4064" layer="16"/>
<wire x1="42.3545" y1="27.051" x2="42.3545" y2="35.56" width="0.4064" layer="1"/>
<wire x1="42.3545" y1="35.56" x2="42.418" y2="35.6235" width="0.4064" layer="1"/>
<wire x1="49.784" y1="21.7805" x2="49.784" y2="17.5895" width="0.4064" layer="16"/>
<wire x1="49.784" y1="17.5895" x2="48.641" y2="16.4465" width="0.4064" layer="16"/>
<wire x1="48.641" y1="16.4465" x2="48.641" y2="13.933" width="0.4064" layer="16"/>
<wire x1="48.641" y1="13.933" x2="48.64" y2="13.932" width="0.4064" layer="16"/>
</signal>
<signal name="N$5">
<contactref element="R18" pad="1"/>
<contactref element="SIMHOLDER" pad="3"/>
<via x="50.165" y="37.465" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="50.165" y1="38.608" x2="50.165" y2="37.465" width="0.4064" layer="1"/>
<wire x1="48.56" y1="39.182" x2="48.56" y2="38.562" width="0.254" layer="16"/>
<wire x1="48.56" y1="38.562" x2="49.657" y2="37.465" width="0.254" layer="16"/>
<wire x1="49.657" y1="37.465" x2="50.165" y2="37.465" width="0.254" layer="16"/>
</signal>
<signal name="N$6">
<contactref element="R17" pad="1"/>
<contactref element="SIMHOLDER" pad="2"/>
<via x="48.514" y="37.465" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="51.01" y1="39.222" x2="51.01" y2="37.167" width="0.254" layer="16"/>
<wire x1="51.01" y1="37.167" x2="50.673" y2="36.83" width="0.254" layer="16"/>
<wire x1="50.673" y1="36.83" x2="49.149" y2="36.83" width="0.254" layer="16"/>
<wire x1="49.149" y1="36.83" x2="48.514" y2="37.465" width="0.254" layer="16"/>
<wire x1="48.387" y1="38.608" x2="48.387" y2="37.592" width="0.4064" layer="1"/>
<wire x1="48.387" y1="37.592" x2="48.514" y2="37.465" width="0.4064" layer="1"/>
</signal>
<signal name="SIM_DATA">
<contactref element="U2" pad="31"/>
<contactref element="R19" pad="1"/>
<wire x1="29.036" y1="44.385" x2="29.036" y2="42.344453125" width="0.254" layer="1"/>
<wire x1="29.036" y1="42.344453125" x2="30.613453125" y2="40.767" width="0.254" layer="1"/>
<wire x1="30.613453125" y1="40.767" x2="42.799" y2="40.767" width="0.254" layer="1"/>
<wire x1="42.799" y1="40.767" x2="44.196" y2="42.164" width="0.254" layer="1"/>
<wire x1="44.196" y1="42.164" x2="48.768" y2="42.164" width="0.254" layer="1"/>
<wire x1="48.768" y1="42.164" x2="49.784" y2="41.148" width="0.254" layer="1"/>
<wire x1="50.8" y1="41.148" x2="49.784" y2="41.148" width="0.254" layer="1"/>
<wire x1="50.8" y1="41.148" x2="51.816" y2="40.132" width="0.254" layer="1"/>
</signal>
<signal name="SIM_CLK">
<contactref element="U2" pad="32"/>
<contactref element="R18" pad="2"/>
<wire x1="28.036" y1="44.385" x2="28.036" y2="42.60233125" width="0.254" layer="1"/>
<wire x1="28.036" y1="42.60233125" x2="30.354778125" y2="40.283553125" width="0.254" layer="1"/>
<wire x1="30.354778125" y1="40.283553125" x2="42.950553125" y2="40.283553125" width="0.254" layer="1"/>
<wire x1="42.950553125" y1="40.283553125" x2="44.333615625" y2="41.666615625" width="0.254" layer="1"/>
<wire x1="44.333615625" y1="41.666615625" x2="48.630384375" y2="41.666615625" width="0.254" layer="1"/>
<wire x1="50.165" y1="40.132" x2="49.911" y2="40.132" width="0.254" layer="1"/>
<wire x1="48.630384375" y1="41.666615625" x2="50.165" y2="40.132" width="0.254" layer="1"/>
</signal>
<signal name="SIM_RST">
<contactref element="U2" pad="33"/>
<contactref element="R17" pad="2"/>
<wire x1="27.036" y1="44.385" x2="27.036" y2="42.822903125" width="0.254" layer="1"/>
<wire x1="27.036" y1="42.822903125" x2="30.09375625" y2="39.765146875" width="0.254" layer="1"/>
<wire x1="43.067146875" y1="39.765146875" x2="44.4547125" y2="41.1527125" width="0.254" layer="1"/>
<wire x1="44.4547125" y1="41.1527125" x2="48.1282875" y2="41.1527125" width="0.254" layer="1"/>
<wire x1="30.09375625" y1="39.765146875" x2="43.067146875" y2="39.765146875" width="0.254" layer="1"/>
<wire x1="48.1282875" y1="41.1527125" x2="48.387" y2="40.894" width="0.254" layer="1"/>
<wire x1="48.387" y1="40.894" x2="48.387" y2="40.132" width="0.254" layer="1"/>
</signal>
<signal name="SIM_VDD">
<contactref element="U2" pad="30"/>
<contactref element="C20" pad="1"/>
<contactref element="SIMHOLDER" pad="1"/>
<wire x1="30.036" y1="44.385" x2="30.036" y2="42.183725" width="0.254" layer="1"/>
<wire x1="30.036" y1="42.183725" x2="30.944725" y2="41.275" width="0.254" layer="1"/>
<wire x1="30.944725" y1="41.275" x2="42.672" y2="41.275" width="0.254" layer="1"/>
<wire x1="42.672" y1="41.275" x2="44.0506875" y2="42.6536875" width="0.254" layer="1"/>
<wire x1="44.0506875" y1="42.6536875" x2="49.0403125" y2="42.6536875" width="0.254" layer="1"/>
<wire x1="49.0403125" y1="42.6536875" x2="50.038" y2="41.656" width="0.254" layer="1"/>
<wire x1="52.705" y1="41.656" x2="50.038" y2="41.656" width="0.254" layer="1"/>
<via x="53.34" y="41.021" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="52.705" y1="41.656" x2="53.34" y2="41.021" width="0.254" layer="1"/>
<wire x1="53.34" y1="40.132" x2="53.34" y2="41.021" width="0.254" layer="1"/>
<wire x1="53.61" y1="39.182" x2="53.61" y2="40.751" width="0.254" layer="16"/>
<wire x1="53.61" y1="40.751" x2="53.34" y2="41.021" width="0.254" layer="16"/>
</signal>
<signal name="N$3">
<contactref element="Q3" pad="3"/>
<contactref element="R20" pad="2"/>
<wire x1="6.731" y1="5.969" x2="6.731" y2="3.556" width="0.3048" layer="1"/>
<wire x1="6.731" y1="3.556" x2="7.62" y2="2.667" width="0.3048" layer="1"/>
</signal>
<signal name="N$7">
<contactref element="D3/NET" pad="-"/>
<contactref element="R20" pad="1"/>
<wire x1="7.62" y1="1.143" x2="9.271" y2="1.143" width="0.3048" layer="1"/>
</signal>
<signal name="N$8">
<contactref element="Q3" pad="1"/>
<contactref element="R13" pad="2"/>
<contactref element="R15" pad="1"/>
<wire x1="8.763" y1="5.019" x2="10.353" y2="5.019" width="0.3048" layer="1"/>
<wire x1="10.353" y1="5.019" x2="10.541" y2="5.207" width="0.3048" layer="1"/>
<wire x1="12.319" y1="5.207" x2="10.541" y2="5.207" width="0.3048" layer="1"/>
</signal>
<signal name="N$10">
<contactref element="R13" pad="1"/>
<contactref element="U2" pad="52"/>
<wire x1="12.319" y1="6.731" x2="12.319" y2="7.62" width="0.3048" layer="1"/>
<via x="12.319" y="7.62" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="12.319" y1="7.62" x2="23.231975" y2="7.62" width="0.3048" layer="16"/>
<wire x1="23.231975" y1="7.62" x2="24.13" y2="8.518025" width="0.3048" layer="16"/>
<wire x1="24.13" y1="8.518025" x2="24.13" y2="20.32" width="0.3048" layer="16"/>
<via x="24.13" y="20.32" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="24.13" y1="20.32" x2="25.971" y2="20.32" width="0.3048" layer="1"/>
<wire x1="25.971" y1="20.32" x2="26.036" y2="20.385" width="0.3048" layer="1"/>
</signal>
<signal name="VRTC">
<contactref element="U2" pad="26"/>
<contactref element="C6" pad="2"/>
<contactref element="J1" pad="+"/>
<wire x1="24.892" y1="45.538" x2="30.933" y2="45.538" width="1.016" layer="16"/>
<wire x1="30.933" y1="45.538" x2="32.385" y2="46.99" width="1.016" layer="16"/>
<via x="32.385" y="46.99" extent="1-16" drill="0.381" diameter="0.8128"/>
<wire x1="32.385" y1="46.99" x2="34.163" y2="46.99" width="1.016" layer="1"/>
<wire x1="34.036" y1="44.385" x2="34.036" y2="46.863" width="0.6096" layer="1"/>
<wire x1="34.036" y1="46.863" x2="34.163" y2="46.99" width="0.6096" layer="1"/>
</signal>
<signal name="LRXD">
<contactref element="U2" pad="10"/>
<contactref element="R8" pad="3"/>
<contactref element="Q6" pad="2"/>
<wire x1="50.546" y1="33.848" x2="50.48" y2="33.782" width="0.254" layer="1"/>
<wire x1="46.036" y1="33.385" x2="47.228" y2="33.385" width="0.254" layer="1"/>
<wire x1="47.228" y1="33.385" x2="47.625" y2="33.782" width="0.254" layer="1"/>
<wire x1="47.625" y1="33.782" x2="47.625" y2="34.514021875" width="0.254" layer="1"/>
<wire x1="47.625" y1="34.514021875" x2="47.908978125" y2="34.798" width="0.254" layer="1"/>
<wire x1="47.908978125" y1="34.798" x2="50.292" y2="34.798" width="0.254" layer="1"/>
<wire x1="50.292" y1="34.798" x2="50.546" y2="34.798" width="0.254" layer="1"/>
<wire x1="50.546" y1="34.798" x2="50.673" y2="34.798" width="0.254" layer="1"/>
<wire x1="50.673" y1="34.798" x2="54.61" y2="34.798" width="0.254" layer="1"/>
<wire x1="54.61" y1="34.798" x2="54.864" y2="34.544" width="0.254" layer="1"/>
<wire x1="54.864" y1="34.544" x2="55.5517" y2="34.544" width="0.254" layer="1"/>
<wire x1="55.5517" y1="34.544" x2="55.5601" y2="34.5524" width="0.254" layer="1"/>
<wire x1="50.48" y1="33.782" x2="50.48" y2="34.49351875" width="0.254" layer="1"/>
<wire x1="50.48" y1="34.61" x2="50.48" y2="34.732" width="0.254" layer="1"/>
<wire x1="50.48" y1="34.732" x2="50.546" y2="34.798" width="0.254" layer="1"/>
<wire x1="50.48" y1="34.605" x2="50.48" y2="34.61" width="0.254" layer="1"/>
<wire x1="50.48" y1="34.61" x2="50.292" y2="34.798" width="0.254" layer="1"/>
<wire x1="50.48" y1="34.49351875" x2="50.48" y2="34.605" width="0.254" layer="1"/>
<wire x1="50.48" y1="34.605" x2="50.673" y2="34.798" width="0.254" layer="1"/>
</signal>
<signal name="LTXD">
<contactref element="U2" pad="9"/>
<contactref element="R8" pad="4"/>
<contactref element="Q7" pad="2"/>
<wire x1="55.5601" y1="33.7269" x2="53.9641" y2="33.7269" width="0.254" layer="1"/>
<wire x1="53.9641" y1="33.7269" x2="53.909" y2="33.782" width="0.254" layer="1"/>
<wire x1="46.036" y1="32.385" x2="47.371" y2="32.385" width="0.254" layer="1"/>
<wire x1="47.371" y1="32.385" x2="47.879" y2="31.877" width="0.254" layer="1"/>
<wire x1="53.848" y1="32.639" x2="53.848" y2="33.721" width="0.254" layer="1"/>
<wire x1="53.848" y1="33.721" x2="53.909" y2="33.782" width="0.254" layer="1"/>
<wire x1="47.879" y1="31.877" x2="53.086" y2="31.877" width="0.254" layer="1"/>
<wire x1="53.086" y1="31.877" x2="53.848" y2="32.639" width="0.254" layer="1"/>
</signal>
<signal name="HRXD">
<contactref element="R8" pad="1"/>
<contactref element="J7" pad="2"/>
<contactref element="Q6" pad="3"/>
<wire x1="49.53" y1="35.814" x2="51.181" y2="35.814" width="0.254" layer="1"/>
<wire x1="51.181" y1="35.814" x2="52.07" y2="36.703" width="0.254" layer="1"/>
<via x="55.3001" y="36.9019" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="55.3001" y1="45.6649" x2="53.975" y2="46.99" width="0.254" layer="16"/>
<wire x1="52.07" y1="36.703" x2="55.1012" y2="36.703" width="0.254" layer="1"/>
<wire x1="55.1012" y1="36.703" x2="55.3001" y2="36.9019" width="0.254" layer="1"/>
<wire x1="55.5601" y1="36.1399" x2="55.5601" y2="36.6419" width="0.254" layer="1"/>
<wire x1="55.5601" y1="36.6419" x2="55.3001" y2="36.9019" width="0.254" layer="1"/>
<wire x1="55.3001" y1="36.9019" x2="55.3001" y2="45.6649" width="0.254" layer="16"/>
</signal>
<signal name="HTXD">
<contactref element="R8" pad="2"/>
<contactref element="J7" pad="5"/>
<contactref element="Q7" pad="3"/>
<wire x1="53.975" y1="44.45" x2="54.737" y2="43.688" width="0.254" layer="16"/>
<wire x1="54.737" y1="43.688" x2="54.737" y2="37.338" width="0.254" layer="16"/>
<via x="54.356" y="35.814" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="52.959" y1="35.814" x2="54.356" y2="35.814" width="0.254" layer="1"/>
<wire x1="55.5601" y1="35.3144" x2="54.8556" y2="35.3144" width="0.254" layer="1"/>
<wire x1="54.8556" y1="35.3144" x2="54.356" y2="35.814" width="0.254" layer="1"/>
<wire x1="54.356" y1="35.814" x2="54.356" y2="36.957" width="0.254" layer="16"/>
<wire x1="54.356" y1="36.957" x2="54.737" y2="37.338" width="0.254" layer="16"/>
</signal>
<signal name="VDD_EXT">
<contactref element="U2" pad="15"/>
<contactref element="R8" pad="5"/>
<contactref element="R8" pad="6"/>
<contactref element="Q7" pad="1"/>
<contactref element="Q6" pad="1"/>
<contactref element="J4" pad="7"/>
<wire x1="48.58" y1="33.782" x2="48.58" y2="32.954" width="0.4064" layer="1"/>
<wire x1="48.58" y1="32.954" x2="48.895" y2="32.639" width="0.4064" layer="1"/>
<wire x1="48.895" y1="32.639" x2="51.943" y2="32.639" width="0.4064" layer="1"/>
<via x="54.61" y="32.639" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="51.943" y="32.639" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="51.943" y1="32.639" x2="51.943" y2="33.716" width="0.4064" layer="1"/>
<wire x1="51.943" y1="33.716" x2="52.009" y2="33.782" width="0.4064" layer="1"/>
<wire x1="46.036" y1="38.385" x2="47.34" y2="38.385" width="0.4064" layer="1"/>
<wire x1="47.34" y1="38.385" x2="47.498" y2="38.227" width="0.4064" layer="1"/>
<wire x1="47.498" y1="38.227" x2="47.498" y2="35.941" width="0.4064" layer="1"/>
<wire x1="47.498" y1="35.941" x2="48.006" y2="35.433" width="0.4064" layer="1"/>
<via x="48.006" y="35.433" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="48.006" y1="35.433" x2="50.8" y2="32.639" width="0.4064" layer="16"/>
<wire x1="51.943" y1="32.639" x2="50.8" y2="32.639" width="0.4064" layer="16"/>
<wire x1="51.943" y1="32.639" x2="54.61" y2="32.639" width="0.4064" layer="16"/>
<via x="61.595" y="31.115" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="61.595" y1="31.115" x2="61.595" y2="24.68919375" width="0.4064" layer="16"/>
<wire x1="61.595" y1="24.68919375" x2="62.40819375" y2="23.876" width="0.4064" layer="16"/>
<wire x1="62.40819375" y1="23.876" x2="63.881" y2="23.876" width="0.4064" layer="16"/>
<wire x1="63.881" y1="23.876" x2="64.77" y2="22.987" width="0.4064" layer="16"/>
<wire x1="64.77" y1="22.987" x2="64.77" y2="18.415" width="0.4064" layer="16"/>
<wire x1="64.77" y1="18.415" x2="63.5" y2="17.145" width="0.4064" layer="16"/>
<wire x1="56.7139" y1="34.5524" x2="56.49809375" y2="34.33659375" width="0.4064" layer="1"/>
<wire x1="56.498090625" y1="33.943846875" x2="56.715034375" y2="33.7269" width="0.4064" layer="1"/>
<wire x1="56.715034375" y1="33.7269" x2="57.0841" y2="33.7269" width="0.4064" layer="1"/>
<wire x1="57.0841" y1="34.5524" x2="56.7139" y2="34.5524" width="0.4064" layer="1"/>
<wire x1="54.61" y1="32.639" x2="56.8325" y2="32.639" width="0.4064" layer="1"/>
<wire x1="56.8325" y1="32.639" x2="57.15" y2="32.639" width="0.4064" layer="1"/>
<wire x1="57.15" y1="32.639" x2="57.3405" y2="32.639" width="0.4064" layer="1"/>
<wire x1="57.0841" y1="33.7269" x2="57.0841" y2="33.0811" width="0.4064" layer="1"/>
<wire x1="57.0841" y1="32.7049" x2="57.15" y2="32.639" width="0.4064" layer="1"/>
<wire x1="57.0841" y1="32.7049" x2="57.0841" y2="32.8954" width="0.4064" layer="1"/>
<wire x1="57.0841" y1="33.0811" x2="57.0865" y2="33.0835" width="0.4064" layer="1"/>
<wire x1="57.0865" y1="33.0835" x2="57.0865" y2="32.893" width="0.4064" layer="1"/>
<wire x1="57.0865" y1="32.893" x2="56.8325" y2="32.639" width="0.4064" layer="1"/>
<wire x1="57.0841" y1="33.0811" x2="57.0841" y2="32.8954" width="0.4064" layer="1"/>
<wire x1="57.0841" y1="32.8954" x2="57.3405" y2="32.639" width="0.4064" layer="1"/>
<wire x1="56.49809375" y1="34.33659375" x2="56.49809375" y2="33.94385" width="0.4064" layer="1"/>
<wire x1="56.49809375" y1="33.94385" x2="56.498090625" y2="33.943846875" width="0.4064" layer="1"/>
<wire x1="57.3405" y1="32.639" x2="60.071" y2="32.639" width="0.4064" layer="1"/>
<wire x1="60.071" y1="32.639" x2="61.595" y2="31.115" width="0.4064" layer="1"/>
</signal>
<signal name="N$15">
<contactref element="C17" pad="1"/>
<contactref element="C18" pad="2"/>
<contactref element="C13" pad="1"/>
<contactref element="C14" pad="2"/>
<contactref element="U2" pad="21"/>
<contactref element="L3" pad="1"/>
<wire x1="15.367" y1="39.243" x2="17.018" y2="39.243" width="0.3048" layer="1"/>
<wire x1="17.018" y1="39.243" x2="17.018" y2="37.592" width="0.3048" layer="1"/>
<wire x1="18.669" y1="37.592" x2="17.018" y2="37.592" width="0.3048" layer="1"/>
<wire x1="18.669" y1="37.592" x2="18.669" y2="39.243" width="0.3048" layer="1"/>
<wire x1="18.669" y1="37.592" x2="19.177" y2="37.084" width="0.3048" layer="1"/>
<wire x1="19.177" y1="37.084" x2="19.685" y2="37.084" width="0.3048" layer="1"/>
<wire x1="19.685" y1="37.084" x2="19.939" y2="37.338" width="0.3048" layer="1"/>
<wire x1="19.939" y1="37.338" x2="19.939" y2="46.228" width="0.3048" layer="1"/>
<wire x1="19.939" y1="46.228" x2="22.987" y2="49.276" width="0.3048" layer="1"/>
<wire x1="22.987" y1="49.276" x2="36.703" y2="49.276" width="0.3048" layer="1"/>
<wire x1="36.703" y1="49.276" x2="38.735" y2="47.244" width="0.3048" layer="1"/>
<wire x1="38.735" y1="47.244" x2="38.735" y2="45.974" width="0.3048" layer="1"/>
<wire x1="38.735" y1="45.974" x2="39.036" y2="45.673" width="0.3048" layer="1"/>
<wire x1="39.036" y1="44.385" x2="39.036" y2="45.673" width="0.3048" layer="1"/>
</signal>
<signal name="N$19">
<contactref element="C18" pad="1"/>
<contactref element="C19" pad="2"/>
<contactref element="C14" pad="1"/>
<contactref element="C15" pad="2"/>
<contactref element="U2" pad="22"/>
<contactref element="L1" pad="1"/>
<wire x1="15.367" y1="34.417" x2="17.018" y2="34.417" width="0.3048" layer="1"/>
<wire x1="17.018" y1="34.417" x2="17.018" y2="36.068" width="0.3048" layer="1"/>
<wire x1="18.669" y1="34.417" x2="18.669" y2="36.068" width="0.3048" layer="1"/>
<wire x1="17.018" y1="36.068" x2="18.669" y2="36.068" width="0.3048" layer="1"/>
<wire x1="18.669" y1="36.068" x2="18.796" y2="36.068" width="0.254" layer="1"/>
<wire x1="18.796" y1="36.068" x2="18.796" y2="36.195" width="0.3048" layer="1"/>
<wire x1="18.796" y1="36.195" x2="19.177" y2="36.576" width="0.3048" layer="1"/>
<wire x1="19.177" y1="36.576" x2="19.939" y2="36.576" width="0.3048" layer="1"/>
<wire x1="19.939" y1="36.576" x2="20.447" y2="37.084" width="0.3048" layer="1"/>
<wire x1="20.447" y1="37.084" x2="20.447" y2="45.974" width="0.3048" layer="1"/>
<wire x1="20.447" y1="45.974" x2="23.241" y2="48.768" width="0.3048" layer="1"/>
<wire x1="23.241" y1="48.768" x2="36.449" y2="48.768" width="0.3048" layer="1"/>
<wire x1="36.449" y1="48.768" x2="38.227" y2="46.99" width="0.3048" layer="1"/>
<wire x1="38.227" y1="46.99" x2="38.227" y2="45.974" width="0.3048" layer="1"/>
<wire x1="38.227" y1="45.974" x2="38.036" y2="45.783" width="0.3048" layer="1"/>
<wire x1="38.036" y1="44.385" x2="38.036" y2="45.783" width="0.3048" layer="1"/>
</signal>
<signal name="N$16">
<contactref element="Q4" pad="3"/>
<contactref element="R21" pad="2"/>
<wire x1="14.224" y1="5.969" x2="14.224" y2="3.937" width="0.254" layer="1"/>
<wire x1="14.224" y1="3.937" x2="12.954" y2="2.667" width="0.254" layer="1"/>
</signal>
<signal name="N$17">
<contactref element="D2/STA" pad="-"/>
<contactref element="R21" pad="1"/>
<wire x1="11.303" y1="1.143" x2="12.954" y2="1.143" width="0.3048" layer="1"/>
</signal>
<signal name="N$18">
<contactref element="Q4" pad="1"/>
<contactref element="R14" pad="2"/>
<contactref element="R16" pad="1"/>
<wire x1="17.907" y1="5.207" x2="19.558" y2="5.207" width="0.254" layer="1"/>
<wire x1="17.907" y1="5.207" x2="16.256" y2="5.207" width="0.254" layer="1"/>
<wire x1="16.256" y1="5.207" x2="16.256" y2="5.019" width="0.254" layer="1"/>
</signal>
<signal name="N$20">
<contactref element="U2" pad="66"/>
<contactref element="R14" pad="1"/>
<wire x1="19.558" y1="6.731" x2="20.828" y2="6.731" width="0.3048" layer="1"/>
<via x="20.828" y="6.731" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="20.828" y1="6.731" x2="23.72111875" y2="6.731" width="0.3048" layer="16"/>
<wire x1="23.72111875" y1="6.731" x2="24.892" y2="7.90188125" width="0.3048" layer="16"/>
<wire x1="24.892" y1="7.90188125" x2="24.892" y2="22.86" width="0.3048" layer="16"/>
<via x="27.813" y="22.5425" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="40.036" y1="20.385" x2="40.036" y2="23.1465" width="0.3048" layer="1"/>
<wire x1="24.892" y1="22.86" x2="25.273" y2="23.241" width="0.3048" layer="16"/>
<wire x1="25.273" y1="23.241" x2="27.559" y2="23.241" width="0.3048" layer="16"/>
<wire x1="27.559" y1="23.241" x2="27.813" y2="22.987" width="0.3048" layer="16"/>
<wire x1="27.813" y1="22.987" x2="27.813" y2="22.5425" width="0.3048" layer="16"/>
<wire x1="40.036" y1="23.1465" x2="36.386959375" y2="26.795540625" width="0.3048" layer="1"/>
<wire x1="36.386959375" y1="26.795540625" x2="30.859540625" y2="26.795540625" width="0.3048" layer="1"/>
<wire x1="30.859540625" y1="26.795540625" x2="27.813" y2="23.749" width="0.3048" layer="1"/>
<wire x1="27.813" y1="22.5425" x2="27.813" y2="23.749" width="0.3048" layer="1"/>
</signal>
<signal name="N$1">
<contactref element="U2" pad="60"/>
<contactref element="R10" pad="2"/>
<contactref element="C10" pad="2"/>
<wire x1="34.036" y1="20.385" x2="34.036" y2="18.034" width="0.4064" layer="1"/>
<wire x1="34.036" y1="18.034" x2="35.687" y2="18.034" width="0.4064" layer="1"/>
</signal>
<signal name="N$21">
<contactref element="R10" pad="1"/>
<contactref element="C11" pad="2"/>
<contactref element="ANT1" pad="D"/>
<contactref element="R11" pad="2"/>
<wire x1="34.036" y1="16.51" x2="35.687" y2="16.51" width="0.4064" layer="1"/>
<wire x1="34.036" y1="16.51" x2="34.036" y2="14.732" width="0.4064" layer="1"/>
<wire x1="34.036" y1="14.732" x2="34.036" y2="12.7" width="0.4064" layer="1"/>
</signal>
<signal name="D9">
<contactref element="JP" pad="1"/>
<contactref element="U3" pad="10"/>
<via x="59.055" y="28.194" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="46.0375" y1="29.083" x2="48.02140625" y2="27.09909375" width="0.4064" layer="16"/>
<wire x1="59.055" y1="28.194" x2="57.96009375" y2="27.09909375" width="0.4064" layer="16"/>
<wire x1="57.96009375" y1="27.09909375" x2="48.02140625" y2="27.09909375" width="0.4064" layer="16"/>
<wire x1="46.0375" y1="29.083" x2="34.29" y2="29.083" width="0.4064" layer="16"/>
<via x="34.29" y="29.083" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="34.29" y="36.195" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="34.29" y1="29.083" x2="34.29" y2="36.195" width="0.4064" layer="1"/>
<wire x1="34.29" y1="36.195" x2="38.1" y2="36.195" width="0.4064" layer="16"/>
<wire x1="38.1" y1="36.195" x2="39.116" y2="37.211" width="0.4064" layer="16"/>
<wire x1="39.116" y1="37.211" x2="39.116" y2="50.8" width="0.4064" layer="16"/>
<contactref element="R3" pad="1"/>
<contactref element="JP" pad="2"/>
<wire x1="57.658" y1="26.67" x2="57.658" y2="28.194" width="0.1524" layer="1"/>
<wire x1="55.372" y1="26.67" x2="57.658" y2="26.67" width="0.4064" layer="1"/>
<wire x1="59.055" y1="28.194" x2="57.658" y2="28.194" width="0.4064" layer="1"/>
</signal>
<signal name="LDBG_TX">
<contactref element="U2" pad="27"/>
</signal>
<signal name="LDBG_RX">
<contactref element="U2" pad="28"/>
</signal>
<signal name="GPIO12">
<contactref element="U2" pad="68"/>
</signal>
<signal name="GPIO11">
<contactref element="U2" pad="67"/>
</signal>
<signal name="GPIO10">
<contactref element="U2" pad="51"/>
</signal>
<signal name="GPIO9">
<contactref element="U2" pad="50"/>
</signal>
<signal name="GPIO8">
<contactref element="U2" pad="49"/>
</signal>
<signal name="GPIO7">
<contactref element="U2" pad="48"/>
</signal>
<signal name="GPIO6">
<contactref element="U2" pad="47"/>
<contactref element="J3" pad="6"/>
<via x="28.575" y="31.115" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="60.325" y1="32.512" x2="60.325" y2="34.29" width="0.254" layer="16"/>
<wire x1="28.575" y1="31.115" x2="46.609" y2="31.115" width="0.254" layer="16"/>
<wire x1="22.036" y1="28.385" x2="25.845" y2="28.385" width="0.254" layer="1"/>
<wire x1="25.845" y1="28.385" x2="28.575" y2="31.115" width="0.254" layer="1"/>
<wire x1="46.609" y1="31.115" x2="48.895" y2="28.829" width="0.254" layer="16"/>
<wire x1="48.895" y1="28.829" x2="56.642" y2="28.829" width="0.254" layer="16"/>
<wire x1="56.642" y1="28.829" x2="60.325" y2="32.512" width="0.254" layer="16"/>
</signal>
<signal name="GPIO5">
<contactref element="U2" pad="44"/>
<contactref element="J3" pad="5"/>
<via x="29.21" y="31.75" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="58.928" y1="35.433" x2="60.325" y2="36.83" width="0.254" layer="16"/>
<wire x1="22.052" y1="31.369" x2="22.036" y2="31.385" width="0.254" layer="1"/>
<wire x1="58.928" y1="31.877" x2="58.928" y2="35.433" width="0.254" layer="16"/>
<wire x1="29.21" y1="31.75" x2="46.736" y2="31.75" width="0.254" layer="16"/>
<wire x1="22.052" y1="31.369" x2="27.4955" y2="31.369" width="0.254" layer="1"/>
<wire x1="27.4955" y1="31.369" x2="27.8765" y2="31.75" width="0.254" layer="1"/>
<wire x1="27.8765" y1="31.75" x2="29.21" y2="31.75" width="0.254" layer="1"/>
<wire x1="46.736" y1="31.75" x2="49.149" y2="29.337" width="0.254" layer="16"/>
<wire x1="49.149" y1="29.337" x2="56.388" y2="29.337" width="0.254" layer="16"/>
<wire x1="56.388" y1="29.337" x2="58.928" y2="31.877" width="0.254" layer="16"/>
</signal>
<signal name="GPIO4">
<contactref element="U2" pad="43"/>
<contactref element="J3" pad="4"/>
<via x="28.575" y="32.385" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="58.42" y1="32.131" x2="58.42" y2="37.465" width="0.254" layer="16"/>
<wire x1="58.42" y1="37.465" x2="60.325" y2="39.37" width="0.254" layer="16"/>
<wire x1="22.036" y1="32.385" x2="23.5585" y2="32.385" width="0.254" layer="1"/>
<wire x1="28.575" y1="32.385" x2="46.7995" y2="32.385" width="0.254" layer="16"/>
<wire x1="23.5585" y1="32.385" x2="24.13" y2="31.8135" width="0.254" layer="1"/>
<wire x1="24.13" y1="31.8135" x2="27.178" y2="31.8135" width="0.254" layer="1"/>
<wire x1="27.178" y1="31.8135" x2="27.7495" y2="32.385" width="0.254" layer="1"/>
<wire x1="27.7495" y1="32.385" x2="28.575" y2="32.385" width="0.254" layer="1"/>
<wire x1="46.7995" y1="32.385" x2="49.3395" y2="29.845" width="0.254" layer="16"/>
<wire x1="49.3395" y1="29.845" x2="56.134" y2="29.845" width="0.254" layer="16"/>
<wire x1="56.134" y1="29.845" x2="58.42" y2="32.131" width="0.254" layer="16"/>
</signal>
<signal name="GPIO3">
<contactref element="U2" pad="42"/>
<contactref element="J3" pad="3"/>
<wire x1="22.036" y1="33.385" x2="23.384" y2="33.385" width="0.254" layer="1"/>
<via x="29.21" y="33.02" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="57.912" y1="32.385" x2="57.912" y2="39.497" width="0.254" layer="16"/>
<wire x1="57.912" y1="39.497" x2="60.325" y2="41.91" width="0.254" layer="16"/>
<wire x1="29.21" y1="33.02" x2="46.863" y2="33.02" width="0.254" layer="16"/>
<wire x1="23.384" y1="33.385" x2="24.4475" y2="32.3215" width="0.254" layer="1"/>
<wire x1="24.4475" y1="32.3215" x2="26.924" y2="32.3215" width="0.254" layer="1"/>
<wire x1="26.924" y1="32.3215" x2="27.6225" y2="33.02" width="0.254" layer="1"/>
<wire x1="27.6225" y1="33.02" x2="29.21" y2="33.02" width="0.254" layer="1"/>
<wire x1="46.863" y1="33.02" x2="49.5935" y2="30.2895" width="0.254" layer="16"/>
<wire x1="49.5935" y1="30.2895" x2="55.8165" y2="30.2895" width="0.254" layer="16"/>
<wire x1="55.8165" y1="30.2895" x2="57.912" y2="32.385" width="0.254" layer="16"/>
</signal>
<signal name="GPIO2">
<contactref element="U2" pad="41"/>
<contactref element="J3" pad="2"/>
<via x="28.575" y="33.655" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="57.404" y1="32.639" x2="57.404" y2="41.529" width="0.254" layer="16"/>
<wire x1="57.404" y1="41.529" x2="60.325" y2="44.45" width="0.254" layer="16"/>
<wire x1="22.036" y1="34.385" x2="23.463" y2="34.385" width="0.254" layer="1"/>
<wire x1="23.463" y1="34.385" x2="24.257" y2="35.179" width="0.254" layer="1"/>
<wire x1="24.257" y1="35.179" x2="27.051" y2="35.179" width="0.254" layer="1"/>
<wire x1="28.575" y1="33.655" x2="46.9265" y2="33.655" width="0.254" layer="16"/>
<wire x1="27.051" y1="35.179" x2="28.575" y2="33.655" width="0.254" layer="1"/>
<wire x1="46.9265" y1="33.655" x2="49.784" y2="30.7975" width="0.254" layer="16"/>
<wire x1="49.784" y1="30.7975" x2="55.5625" y2="30.7975" width="0.254" layer="16"/>
<wire x1="55.5625" y1="30.7975" x2="57.404" y2="32.639" width="0.254" layer="16"/>
</signal>
<signal name="GPIO1">
<contactref element="U2" pad="40"/>
<contactref element="J3" pad="1"/>
<wire x1="22.036" y1="35.385" x2="23.574" y2="35.385" width="0.254" layer="1"/>
<wire x1="23.574" y1="35.385" x2="23.876" y2="35.687" width="0.254" layer="1"/>
<wire x1="23.876" y1="35.687" x2="27.813" y2="35.687" width="0.254" layer="1"/>
<via x="29.21" y="34.29" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="56.8852875" y1="41.8992875" x2="58.674" y2="43.688" width="0.254" layer="16"/>
<wire x1="58.674" y1="43.688" x2="58.674" y2="45.339" width="0.254" layer="16"/>
<wire x1="58.674" y1="45.339" x2="60.325" y2="46.99" width="0.254" layer="16"/>
<wire x1="29.21" y1="34.29" x2="46.99" y2="34.29" width="0.254" layer="16"/>
<wire x1="27.813" y1="35.687" x2="29.21" y2="34.29" width="0.254" layer="1"/>
<wire x1="49.966021875" y1="31.313978125" x2="55.221134375" y2="31.313978125" width="0.254" layer="16"/>
<wire x1="55.221134375" y1="31.313978125" x2="56.8852875" y2="32.97813125" width="0.254" layer="16"/>
<wire x1="56.8852875" y1="32.97813125" x2="56.8852875" y2="41.8992875" width="0.254" layer="16"/>
<wire x1="49.966021875" y1="31.313978125" x2="46.99" y2="34.29" width="0.254" layer="16"/>
</signal>
<signal name="PWM2">
<contactref element="U2" pad="36"/>
<contactref element="J13" pad="2"/>
<wire x1="29.845" y1="30.48" x2="29.845" y2="34.62666875" width="0.254" layer="1"/>
<wire x1="29.845" y1="34.62666875" x2="28.27666875" y2="36.195" width="0.254" layer="1"/>
<wire x1="28.27666875" y1="36.195" x2="26.67" y2="36.195" width="0.254" layer="1"/>
<via x="29.845" y="30.48" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="61.595" y1="33.02" x2="61.595" y2="35.56" width="0.254" layer="16"/>
<wire x1="61.595" y1="35.56" x2="62.865" y2="36.83" width="0.254" layer="16"/>
<wire x1="22.036" y1="39.385" x2="23.48" y2="39.385" width="0.254" layer="1"/>
<wire x1="23.48" y1="39.385" x2="26.67" y2="36.195" width="0.254" layer="1"/>
<wire x1="46.482" y1="30.48" x2="48.641" y2="28.321" width="0.254" layer="16"/>
<wire x1="48.641" y1="28.321" x2="56.896" y2="28.321" width="0.254" layer="16"/>
<wire x1="56.896" y1="28.321" x2="61.595" y2="33.02" width="0.254" layer="16"/>
<wire x1="29.845" y1="30.48" x2="46.482" y2="30.48" width="0.254" layer="16"/>
</signal>
<signal name="PWM1">
<contactref element="U2" pad="35"/>
<contactref element="J13" pad="1"/>
<wire x1="30.48" y1="29.845" x2="30.48" y2="34.82793125" width="0.254" layer="1"/>
<wire x1="30.48" y1="34.82793125" x2="28.54143125" y2="36.7665" width="0.254" layer="1"/>
<wire x1="28.54143125" y1="36.7665" x2="26.924" y2="36.7665" width="0.254" layer="1"/>
<via x="30.48" y="29.845" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="62.865" y1="34.29" x2="62.865" y2="33.909" width="0.254" layer="16"/>
<wire x1="62.865" y1="33.528" x2="62.865" y2="34.29" width="0.254" layer="16"/>
<wire x1="30.48" y1="29.845" x2="46.2915" y2="29.845" width="0.254" layer="16"/>
<wire x1="22.036" y1="40.385" x2="23.3055" y2="40.385" width="0.254" layer="1"/>
<wire x1="23.3055" y1="40.385" x2="26.924" y2="36.7665" width="0.254" layer="1"/>
<wire x1="46.2915" y1="29.845" x2="48.387" y2="27.7495" width="0.254" layer="16"/>
<wire x1="48.387" y1="27.7495" x2="57.0865" y2="27.7495" width="0.254" layer="16"/>
<wire x1="57.0865" y1="27.7495" x2="62.865" y2="33.528" width="0.254" layer="16"/>
</signal>
<signal name="EXT_VIN">
<contactref element="U3" pad="23"/>
<contactref element="D1" pad="+"/>
<contactref element="C23" pad="2"/>
<wire x1="47.371" y1="2.54" x2="54.229" y2="9.398" width="1.27" layer="1"/>
<wire x1="54.229" y1="9.398" x2="54.229" y2="10.668" width="1.27" layer="1"/>
<wire x1="54.229" y1="10.668" x2="54.229" y2="13.665" width="1.27" layer="1"/>
<wire x1="54.229" y1="13.665" x2="54.178" y2="13.716" width="1.27" layer="1"/>
<wire x1="45.72" y1="2.54" x2="47.371" y2="2.54" width="1.27" layer="1"/>
</signal>
<signal name="LRTS">
<contactref element="U2" pad="8"/>
<contactref element="J4" pad="5"/>
<wire x1="46.036" y1="31.385" x2="60.05504375" y2="31.385" width="0.2032" layer="1"/>
<wire x1="60.05504375" y1="31.385" x2="61.595" y2="29.84504375" width="0.2032" layer="1"/>
<wire x1="61.595" y1="29.84504375" x2="61.595" y2="22.682903125" width="0.2032" layer="1"/>
<wire x1="61.595" y1="22.682903125" x2="62.052903125" y2="22.225" width="0.2032" layer="1"/>
<wire x1="62.052903125" y1="22.225" x2="63.5" y2="22.225" width="0.2032" layer="1"/>
</signal>
<signal name="CTS">
<contactref element="U2" pad="7"/>
<contactref element="J4" pad="4"/>
<wire x1="47.371" y1="30.988" x2="59.863971875" y2="30.988" width="0.2032" layer="1"/>
<wire x1="59.863971875" y1="30.988" x2="61.214" y2="29.637971875" width="0.2032" layer="1"/>
<wire x1="61.214" y1="29.637971875" x2="61.214" y2="22.479" width="0.2032" layer="1"/>
<wire x1="61.214" y1="22.479" x2="62.738" y2="20.955" width="0.2032" layer="1"/>
<wire x1="62.738" y1="20.955" x2="64.77" y2="20.955" width="0.2032" layer="1"/>
<wire x1="64.77" y1="20.955" x2="66.04" y2="22.225" width="0.2032" layer="1"/>
<wire x1="46.036" y1="30.385" x2="46.768" y2="30.385" width="0.2032" layer="1"/>
<wire x1="46.768" y1="30.385" x2="47.371" y2="30.988" width="0.2032" layer="1"/>
</signal>
<signal name="DSR">
<contactref element="U2" pad="6"/>
<contactref element="J4" pad="3"/>
<wire x1="48.006" y1="30.607" x2="59.66211875" y2="30.607" width="0.2032" layer="1"/>
<wire x1="59.66211875" y1="30.607" x2="60.833" y2="29.43611875" width="0.2032" layer="1"/>
<wire x1="60.833" y1="29.43611875" x2="60.833" y2="22.352" width="0.2032" layer="1"/>
<wire x1="60.833" y1="22.352" x2="62.103" y2="21.082" width="0.2032" layer="1"/>
<wire x1="64.77" y1="18.415" x2="66.04" y2="19.685" width="0.2032" layer="1"/>
<wire x1="62.103" y1="21.082" x2="62.103" y2="19.05" width="0.2032" layer="1"/>
<wire x1="62.103" y1="19.05" x2="62.738" y2="18.415" width="0.2032" layer="1"/>
<wire x1="62.738" y1="18.415" x2="64.77" y2="18.415" width="0.2032" layer="1"/>
<wire x1="46.036" y1="29.385" x2="46.784" y2="29.385" width="0.2032" layer="1"/>
<wire x1="46.784" y1="29.385" x2="48.006" y2="30.607" width="0.2032" layer="1"/>
</signal>
<signal name="DCD">
<contactref element="U2" pad="5"/>
<contactref element="J4" pad="2"/>
<wire x1="48.641" y1="30.226" x2="59.374371875" y2="30.226" width="0.2032" layer="1"/>
<wire x1="59.374371875" y1="30.226" x2="60.452" y2="29.148371875" width="0.2032" layer="1"/>
<wire x1="60.452" y1="29.148371875" x2="60.452" y2="22.225" width="0.2032" layer="1"/>
<wire x1="60.452" y1="22.225" x2="61.722" y2="20.955" width="0.2032" layer="1"/>
<wire x1="64.77" y1="15.875" x2="66.04" y2="17.145" width="0.2032" layer="1"/>
<wire x1="61.722" y1="20.955" x2="61.722" y2="16.764" width="0.2032" layer="1"/>
<wire x1="61.722" y1="16.764" x2="62.611" y2="15.875" width="0.2032" layer="1"/>
<wire x1="62.611" y1="15.875" x2="64.77" y2="15.875" width="0.2032" layer="1"/>
<wire x1="46.036" y1="28.385" x2="46.8" y2="28.385" width="0.2032" layer="1"/>
<wire x1="46.8" y1="28.385" x2="48.641" y2="30.226" width="0.2032" layer="1"/>
</signal>
<signal name="RI">
<contactref element="U2" pad="4"/>
<contactref element="J4" pad="1"/>
<wire x1="48.895" y1="29.845" x2="59.172975" y2="29.845" width="0.2032" layer="1"/>
<wire x1="59.172975" y1="29.845" x2="60.071" y2="28.946975" width="0.2032" layer="1"/>
<wire x1="60.071" y1="28.946975" x2="60.071" y2="22.098" width="0.2032" layer="1"/>
<wire x1="60.071" y1="22.098" x2="61.341" y2="20.828" width="0.2032" layer="1"/>
<wire x1="61.341" y1="20.828" x2="61.341" y2="13.690996875" width="0.2032" layer="1"/>
<wire x1="61.341" y1="13.690996875" x2="62.14699375" y2="12.885003125" width="0.2032" layer="1"/>
<wire x1="62.14699375" y1="12.885003125" x2="64.32000625" y2="12.885003125" width="0.2032" layer="1"/>
<wire x1="64.32000625" y1="12.885003125" x2="66.04" y2="14.605" width="0.2032" layer="1"/>
<wire x1="46.036" y1="27.385" x2="47.324" y2="27.385" width="0.2032" layer="1"/>
<wire x1="47.324" y1="27.385" x2="47.625" y2="27.686" width="0.2032" layer="1"/>
<wire x1="47.625" y1="27.686" x2="47.625" y2="28.575" width="0.2032" layer="1"/>
<wire x1="47.625" y1="28.575" x2="48.895" y2="29.845" width="0.2032" layer="1"/>
</signal>
<signal name="LDTR">
<contactref element="U2" pad="3"/>
<contactref element="J4" pad="6"/>
<wire x1="49.022" y1="29.337" x2="59.055" y2="29.337" width="0.2032" layer="1"/>
<wire x1="59.055" y1="29.337" x2="59.69" y2="28.702" width="0.2032" layer="1"/>
<wire x1="59.69" y1="28.702" x2="59.69" y2="24.384" width="0.2032" layer="1"/>
<via x="59.436" y="24.13" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="59.436" y1="24.13" x2="59.436" y2="23.749" width="0.3048" layer="16"/>
<wire x1="59.436" y1="23.749" x2="63.5" y2="19.685" width="0.3048" layer="16"/>
<wire x1="46.036" y1="26.385" x2="46.832" y2="26.385" width="0.2032" layer="1"/>
<wire x1="59.69" y1="24.384" x2="59.436" y2="24.13" width="0.2032" layer="1"/>
<wire x1="49.022" y1="29.337" x2="48.133" y2="28.448" width="0.2032" layer="1"/>
<wire x1="48.133" y1="28.448" x2="48.133" y2="27.099915625" width="0.2032" layer="1"/>
<wire x1="48.133" y1="27.099915625" x2="47.449084375" y2="26.416" width="0.2032" layer="1"/>
<wire x1="47.449084375" y1="26.416" x2="46.863" y2="26.416" width="0.2032" layer="1"/>
<wire x1="46.863" y1="26.416" x2="46.832" y2="26.385" width="0.2032" layer="1"/>
</signal>
<signal name="LINEIN_R">
<contactref element="U2" pad="23"/>
<contactref element="C7" pad="2"/>
<wire x1="37.036" y1="44.385" x2="37.036" y2="43.101" width="0.254" layer="1"/>
<wire x1="37.036" y1="43.101" x2="37.338" y2="42.799" width="0.254" layer="1"/>
<wire x1="37.338" y1="42.799" x2="42.291" y2="42.799" width="0.254" layer="1"/>
<wire x1="42.291" y1="42.799" x2="43.657125" y2="44.165125" width="0.254" layer="1"/>
<wire x1="43.657125" y1="44.165125" x2="49.814875" y2="44.165125" width="0.254" layer="1"/>
<wire x1="49.814875" y1="44.165125" x2="50.8" y2="43.18" width="0.254" layer="1"/>
<wire x1="50.8" y1="43.18" x2="54.61" y2="43.18" width="0.254" layer="1"/>
<wire x1="54.61" y1="43.18" x2="56.134" y2="41.656" width="0.254" layer="1"/>
<wire x1="56.134" y1="41.656" x2="56.134" y2="40.005" width="0.254" layer="1"/>
<wire x1="56.134" y1="40.005" x2="55.245" y2="39.116" width="0.254" layer="1"/>
<wire x1="55.245" y1="38.862" x2="55.245" y2="39.116" width="0.254" layer="1"/>
</signal>
<signal name="LINEIN_L">
<contactref element="U2" pad="24"/>
<contactref element="C8" pad="2"/>
<wire x1="36.036" y1="44.385" x2="36.036" y2="43.085" width="0.254" layer="1"/>
<wire x1="36.036" y1="43.085" x2="36.83" y2="42.291" width="0.254" layer="1"/>
<wire x1="36.83" y1="42.291" x2="42.418" y2="42.291" width="0.254" layer="1"/>
<wire x1="42.418" y1="42.291" x2="43.7744875" y2="43.6474875" width="0.254" layer="1"/>
<wire x1="43.7744875" y1="43.6474875" x2="49.5705125" y2="43.6474875" width="0.254" layer="1"/>
<wire x1="49.5705125" y1="43.6474875" x2="50.546" y2="42.672" width="0.254" layer="1"/>
<wire x1="50.546" y1="42.672" x2="54.229" y2="42.672" width="0.254" layer="1"/>
<wire x1="54.229" y1="42.672" x2="55.118" y2="41.783" width="0.254" layer="1"/>
<wire x1="55.118" y1="41.783" x2="55.118" y2="41.021" width="0.254" layer="1"/>
<wire x1="55.118" y1="41.021" x2="55.245" y2="40.894" width="0.254" layer="1"/>
</signal>
<signal name="N$13">
<contactref element="C12" pad="1"/>
<contactref element="U2" pad="19"/>
<contactref element="R12" pad="1"/>
<wire x1="17.145" y1="30.226" x2="18.669" y2="30.226" width="0.3048" layer="1"/>
<via x="41.021" y="45.847" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="41.021" y1="45.847" x2="41.021" y2="37.211" width="0.3048" layer="16"/>
<wire x1="41.021" y1="37.211" x2="38.735" y2="34.925" width="0.3048" layer="16"/>
<wire x1="38.735" y1="34.925" x2="22.225" y2="34.925" width="0.3048" layer="16"/>
<via x="18.669" y="31.369" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="18.669" y1="31.369" x2="18.669" y2="30.226" width="0.3048" layer="1"/>
<wire x1="41.036" y1="44.385" x2="41.036" y2="45.832" width="0.6096" layer="1"/>
<wire x1="41.036" y1="45.832" x2="41.021" y2="45.847" width="0.6096" layer="1"/>
<wire x1="22.225" y1="34.925" x2="18.669" y2="31.369" width="0.3048" layer="16"/>
</signal>
<signal name="PWRKEY">
<contactref element="U2" pad="1"/>
<contactref element="Q1" pad="3"/>
<contactref element="POWER" pad="2"/>
<via x="25.908" y="6.604" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="26.8605" y="22.5435" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="46.036" y1="24.385" x2="47.245" y2="24.385" width="0.4064" layer="1"/>
<wire x1="26.8605" y1="23.876" x2="26.8605" y2="22.5435" width="0.3048" layer="1"/>
<wire x1="26.8605" y1="22.5435" x2="26.8605" y2="7.5565" width="0.3048" layer="16"/>
<wire x1="46.036" y1="24.385" x2="39.75" y2="24.385" width="0.3048" layer="1"/>
<wire x1="39.75" y1="24.385" x2="36.77026875" y2="27.36473125" width="0.3048" layer="1"/>
<wire x1="36.77026875" y1="27.36473125" x2="30.34923125" y2="27.36473125" width="0.3048" layer="1"/>
<wire x1="30.34923125" y1="27.36473125" x2="26.8605" y2="23.876" width="0.3048" layer="1"/>
<wire x1="26.8605" y1="7.5565" x2="25.908" y2="6.604" width="0.3048" layer="16"/>
<wire x1="21.844" y1="2.921" x2="21.844" y2="4.3815" width="0.3048" layer="1"/>
<wire x1="21.844" y1="4.3815" x2="22.5425" y2="5.08" width="0.3048" layer="1"/>
<wire x1="22.5425" y1="5.08" x2="24.384" y2="5.08" width="0.3048" layer="1"/>
<wire x1="24.384" y1="5.08" x2="25.908" y2="6.604" width="0.3048" layer="1"/>
<wire x1="47.245" y1="24.385" x2="49.149" y2="26.289" width="0.4064" layer="1"/>
<wire x1="49.149" y1="26.289" x2="50.673" y2="26.289" width="0.4064" layer="1"/>
</signal>
<signal name="STXD">
<contactref element="J7" pad="4"/>
<contactref element="U3" pad="8"/>
<wire x1="52.705" y1="47.48745625" x2="51.29745625" y2="48.895" width="0.254" layer="1"/>
<wire x1="51.29745625" y1="48.895" x2="47.625" y2="48.895" width="0.254" layer="1"/>
<wire x1="47.625" y1="48.895" x2="45.72" y2="50.8" width="0.254" layer="1"/>
<wire x1="52.705" y1="47.48745625" x2="52.705" y2="45.72" width="0.254" layer="1"/>
<wire x1="52.705" y1="45.72" x2="51.435" y2="44.45" width="0.254" layer="1"/>
</signal>
<signal name="SRXD">
<contactref element="J7" pad="3"/>
<contactref element="U3" pad="9"/>
<wire x1="51.435" y1="46.99" x2="51.435" y2="47.625" width="0.254" layer="1"/>
<wire x1="51.435" y1="47.625" x2="50.8" y2="48.26" width="0.254" layer="1"/>
<wire x1="50.8" y1="48.26" x2="44.196" y2="48.26" width="0.254" layer="1"/>
<wire x1="44.196" y1="48.26" x2="41.656" y2="50.8" width="0.254" layer="1"/>
</signal>
<signal name="MRXD">
<contactref element="J7" pad="1"/>
<contactref element="U3" pad="2"/>
<wire x1="56.515" y1="46.99"

repository: Dont-Copy-That-Floppy/OpenCellPhone

path: /SeedStudio_GPRSv2/GPRS_Shield_eagle_file/GPRS Shield eagle file/GPRSshield V2.brd

repo_name: Dont-Copy-That-Floppy/OpenCellPhone

extension: brd

filename: GPRSshield V2.brd


text:
x2="57.15" y2="46.99" width="0.254" layer="1"/>
<wire x1="57.15" y1="46.99" x2="60.96" y2="50.8" width="0.254" layer="1"/>
</signal>
<signal name="MTXD">
<contactref element="J7" pad="6"/>
<contactref element="U3" pad="1"/>
<wire x1="58.166" y1="47.244" x2="59.817" y2="48.895" width="0.254" layer="1"/>
<wire x1="59.817" y1="48.895" x2="61.595" y2="48.895" width="0.254" layer="1"/>
<wire x1="61.595" y1="48.895" x2="63.5" y2="50.8" width="0.254" layer="1"/>
<wire x1="58.166" y1="47.244" x2="58.166" y2="46.101" width="0.254" layer="1"/>
<wire x1="58.166" y1="46.101" x2="56.515" y2="44.45" width="0.254" layer="1"/>
</signal>
<signal name="ADC">
<contactref element="U2" pad="25"/>
<contactref element="J13" pad="3"/>
<wire x1="35.036" y1="44.385" x2="35.036" y2="43.069" width="0.254" layer="1"/>
<wire x1="35.036" y1="43.069" x2="36.322" y2="41.783" width="0.254" layer="1"/>
<wire x1="36.322" y1="41.783" x2="42.545" y2="41.783" width="0.254" layer="1"/>
<wire x1="42.545" y1="41.783" x2="43.942003125" y2="43.180003125" width="0.254" layer="1"/>
<wire x1="43.942003125" y1="43.180003125" x2="49.275996875" y2="43.180003125" width="0.254" layer="1"/>
<wire x1="49.275996875" y1="43.180003125" x2="50.292" y2="42.164" width="0.254" layer="1"/>
<wire x1="50.292" y1="42.164" x2="53.34" y2="42.164" width="0.254" layer="1"/>
<wire x1="53.34" y1="42.164" x2="54.229" y2="41.275" width="0.254" layer="1"/>
<wire x1="54.229" y1="41.275" x2="54.229" y2="38.049903125" width="0.254" layer="1"/>
<wire x1="54.229" y1="38.049903125" x2="54.686903125" y2="37.592" width="0.254" layer="1"/>
<wire x1="54.686903125" y1="37.592" x2="58.547" y2="37.592" width="0.254" layer="1"/>
<wire x1="58.547" y1="37.592" x2="59.055" y2="38.1" width="0.254" layer="1"/>
<wire x1="59.055" y1="38.1" x2="61.595" y2="38.1" width="0.254" layer="1"/>
<wire x1="61.595" y1="38.1" x2="62.865" y2="39.37" width="0.254" layer="1"/>
</signal>
<signal name="N$23">
<contactref element="J13" pad="6"/>
<contactref element="C7" pad="1"/>
<wire x1="57.023" y1="38.862" x2="57.023" y2="38.989" width="0.254" layer="1"/>
<wire x1="57.023" y1="38.989" x2="58.801" y2="40.767" width="0.254" layer="1"/>
<wire x1="58.801" y1="40.767" x2="58.801" y2="42.656365625" width="0.254" layer="1"/>
<wire x1="58.801" y1="42.656365625" x2="59.324634375" y2="43.18" width="0.254" layer="1"/>
<wire x1="59.324634375" y1="43.18" x2="63.5" y2="43.18" width="0.254" layer="1"/>
<wire x1="63.5" y1="43.18" x2="64.135" y2="43.815" width="0.254" layer="1"/>
<wire x1="64.135" y1="43.815" x2="64.135" y2="45.72" width="0.254" layer="1"/>
<wire x1="64.135" y1="45.72" x2="62.865" y2="46.99" width="0.254" layer="1"/>
</signal>
<signal name="N$29">
<contactref element="J13" pad="5"/>
<contactref element="C8" pad="1"/>
<wire x1="57.023" y1="40.894" x2="57.023" y2="41.021" width="0.254" layer="1"/>
<wire x1="57.023" y1="41.021" x2="58.293" y2="42.291" width="0.254" layer="1"/>
<wire x1="58.293" y1="42.291" x2="58.293" y2="44.704" width="0.254" layer="1"/>
<wire x1="58.293" y1="44.704" x2="59.309" y2="45.72" width="0.254" layer="1"/>
<wire x1="59.309" y1="45.72" x2="61.595" y2="45.72" width="0.254" layer="1"/>
<wire x1="61.595" y1="45.72" x2="62.865" y2="44.45" width="0.254" layer="1"/>
</signal>
<signal name="N$30">
<contactref element="R12" pad="2"/>
<contactref element="C16" pad="2"/>
<contactref element="L4" pad="1"/>
<wire x1="14.097" y1="28.702" x2="15.621" y2="28.702" width="0.3048" layer="1"/>
<wire x1="15.621" y1="28.702" x2="17.145" y2="28.702" width="0.3048" layer="1"/>
</signal>
<signal name="N$36">
<contactref element="Q1" pad="1"/>
<contactref element="R3" pad="2"/>
<contactref element="R2" pad="1"/>
<wire x1="53.467" y1="28.194" x2="55.372" y2="28.194" width="0.4064" layer="1"/>
<wire x1="53.467" y1="28.194" x2="51.75" y2="28.194" width="0.4064" layer="1"/>
<wire x1="51.75" y1="28.194" x2="51.623" y2="28.321" width="0.4064" layer="1"/>
</signal>
<signal name="N$11">
<contactref element="U2" pad="2"/>
<contactref element="POWER" pad="1"/>
<via x="24.892" y="6.731" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="25.908" y="22.5425" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="40.02" y1="25.385" x2="37.443771875" y2="27.961228125" width="0.3048" layer="1"/>
<wire x1="37.443771875" y1="27.961228125" x2="29.866228125" y2="27.961228125" width="0.3048" layer="1"/>
<wire x1="29.866228125" y1="27.961228125" x2="25.908" y2="24.003" width="0.3048" layer="1"/>
<wire x1="25.908" y1="22.5425" x2="25.908" y2="24.003" width="0.3048" layer="1"/>
<wire x1="25.908" y1="22.5425" x2="25.908" y2="7.747" width="0.3048" layer="16"/>
<wire x1="46.036" y1="25.385" x2="40.02" y2="25.385" width="0.3048" layer="1"/>
<wire x1="25.908" y1="7.747" x2="24.892" y2="6.731" width="0.3048" layer="16"/>
<wire x1="17.526" y1="2.921" x2="19.431" y2="2.921" width="0.3048" layer="1"/>
<wire x1="19.431" y1="2.921" x2="22.225" y2="5.715" width="0.3048" layer="1"/>
<wire x1="22.225" y1="5.715" x2="23.876" y2="5.715" width="0.3048" layer="1"/>
<wire x1="23.876" y1="5.715" x2="24.892" y2="6.731" width="0.3048" layer="1"/>
</signal>
<signal name="DISP_CLK">
<contactref element="U2" pad="11"/>
<contactref element="CLK" pad="T"/>
<wire x1="46.036" y1="34.385" x2="44.71183125" y2="34.385" width="0.2032" layer="1"/>
<wire x1="44.71183125" y1="34.385" x2="42.545" y2="36.55183125" width="0.2032" layer="1"/>
<wire x1="42.545" y1="36.55183125" x2="42.545" y2="37.465" width="0.2032" layer="1"/>
<via x="42.545" y="37.465" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="42.545" y1="37.465" x2="42.545" y2="45.72" width="0.3048" layer="16"/>
<wire x1="42.545" y1="45.72" x2="43.815" y2="46.99" width="0.3048" layer="16"/>
</signal>
<signal name="DISP_DATA">
<contactref element="U2" pad="12"/>
<contactref element="DATA" pad="T"/>
<wire x1="46.036" y1="35.385" x2="44.471621875" y2="35.385" width="0.2032" layer="1"/>
<wire x1="44.471621875" y1="35.385" x2="43.18" y2="36.676621875" width="0.2032" layer="1"/>
<wire x1="43.18" y1="36.676621875" x2="43.18" y2="38.1" width="0.2032" layer="1"/>
<via x="43.18" y="38.1" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="43.18" y1="38.1" x2="43.18" y2="43.815" width="0.3048" layer="16"/>
<wire x1="43.18" y1="43.815" x2="43.815" y2="44.45" width="0.3048" layer="16"/>
</signal>
<signal name="DISP_D/C">
<contactref element="U2" pad="13"/>
<contactref element="D/C" pad="T"/>
<via x="43.815" y="37.465" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="43.815" y1="37.465" x2="43.815" y2="36.931746875" width="0.2032" layer="1"/>
<wire x1="43.815" y1="36.931746875" x2="44.361246875" y2="36.3855" width="0.2032" layer="1"/>
<wire x1="44.361246875" y1="36.3855" x2="46.0355" y2="36.3855" width="0.2032" layer="1"/>
<wire x1="46.0355" y1="36.3855" x2="46.036" y2="36.385" width="0.2032" layer="1"/>
<wire x1="43.815" y1="37.465" x2="43.815" y2="41.91" width="0.3048" layer="16"/>
<wire x1="43.815" y1="41.91" x2="46.355" y2="44.45" width="0.3048" layer="16"/>
</signal>
<signal name="DISP_CS">
<contactref element="U2" pad="14"/>
<contactref element="CS" pad="T"/>
<via x="44.45" y="38.1" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="44.45" y1="38.1" x2="44.45" y2="37.719" width="0.2032" layer="1"/>
<wire x1="44.45" y1="37.719" x2="44.784" y2="37.385" width="0.2032" layer="1"/>
<wire x1="46.036" y1="37.385" x2="44.784" y2="37.385" width="0.2032" layer="1"/>
<wire x1="44.45" y1="38.1" x2="44.45" y2="40.64" width="0.3048" layer="16"/>
<wire x1="44.45" y1="40.64" x2="47.625" y2="43.815" width="0.3048" layer="16"/>
<wire x1="47.625" y1="43.815" x2="47.625" y2="45.72" width="0.3048" layer="16"/>
<wire x1="47.625" y1="45.72" x2="46.355" y2="46.99" width="0.3048" layer="16"/>
</signal>
<signal name="N$31">
<contactref element="Q5" pad="1"/>
<contactref element="R22" pad="1"/>
<wire x1="48.133" y1="15.875" x2="48.58" y2="15.875" width="0.4064" layer="1"/>
<wire x1="48.58" y1="15.875" x2="49.85" y2="14.605" width="0.4064" layer="1"/>
</signal>
<signal name="N$39">
<contactref element="C22" pad="1"/>
<contactref element="R24" pad="1"/>
<contactref element="R22" pad="2"/>
<contactref element="D4" pad="2"/>
<wire x1="48.133" y1="14.351" x2="48.133" y2="12.192" width="0.4064" layer="1"/>
<wire x1="48.133" y1="12.192" x2="49.403" y2="12.192" width="0.4064" layer="1"/>
<wire x1="49.403" y1="12.192" x2="49.911" y2="12.7" width="0.4064" layer="1"/>
<wire x1="48.133" y1="14.351" x2="46.736" y2="14.351" width="0.4064" layer="1"/>
<wire x1="46.736" y1="14.351" x2="46.355" y2="13.97" width="0.4064" layer="1"/>
<wire x1="46.355" y1="13.97" x2="46.355" y2="13.065" width="0.4064" layer="1"/>
</signal>
<signal name="3V3">
<contactref element="U3" pad="27"/>
</signal>
<signal name="N$50">
<contactref element="U3" pad="28"/>
</signal>
<signal name="5V">
<contactref element="U3" pad="26"/>
<contactref element="R8" pad="8"/>
<contactref element="R8" pad="7"/>
<contactref element="Q5" pad="2"/>
<contactref element="C21" pad="2"/>
<contactref element="C22" pad="2"/>
<via x="43.18" y="27.94" extent="1-16" drill="0.3048" diameter="0.635"/>
<via x="56.261" y="36.83" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="47.244" y1="34.925" x2="43.18" y2="34.925" width="0.4064" layer="16"/>
<via x="43.18" y="34.925" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="56.261" y1="36.83" x2="56.896" y2="36.83" width="0.4064" layer="1"/>
<wire x1="56.896" y1="36.83" x2="57.0841" y2="36.6419" width="0.4064" layer="1"/>
<wire x1="57.0841" y1="36.1399" x2="57.0841" y2="36.6419" width="0.4064" layer="1"/>
<wire x1="47.244" y1="34.925" x2="50.27866875" y2="31.89033125" width="0.4064" layer="16"/>
<wire x1="50.27866875" y1="31.89033125" x2="54.8588375" y2="31.89033125" width="0.4064" layer="16"/>
<wire x1="54.8588375" y1="31.89033125" x2="56.261" y2="33.29249375" width="0.4064" layer="16"/>
<wire x1="56.261" y1="33.29249375" x2="56.261" y2="36.83" width="0.4064" layer="16"/>
<wire x1="57.0841" y1="36.1399" x2="56.9679" y2="36.1399" width="0.4064" layer="1"/>
<wire x1="50.546" y1="22.0345" x2="44.6405" y2="27.94" width="0.4064" layer="16"/>
<wire x1="44.6405" y1="27.94" x2="43.18" y2="27.94" width="0.4064" layer="16"/>
<wire x1="43.18" y1="27.94" x2="43.18" y2="34.925" width="0.4064" layer="1"/>
<wire x1="56.6759" y1="35.3144" x2="56.489178125" y2="35.501121875" width="0.4064" layer="1"/>
<wire x1="56.489178125" y1="35.501121875" x2="56.489178125" y2="35.941590625" width="0.4064" layer="1"/>
<wire x1="56.489178125" y1="35.941590625" x2="56.6874875" y2="36.1399" width="0.4064" layer="1"/>
<wire x1="56.6874875" y1="36.1399" x2="57.0841" y2="36.1399" width="0.4064" layer="1"/>
<wire x1="57.0841" y1="35.3144" x2="56.6759" y2="35.3144" width="0.4064" layer="1"/>
<wire x1="38.1" y1="2.54" x2="40.005" y2="4.445" width="1.27" layer="1"/>
<wire x1="40.005" y1="4.445" x2="46.736" y2="4.445" width="1.27" layer="1"/>
<wire x1="46.736" y1="4.445" x2="51.689" y2="9.398" width="1.27" layer="1"/>
<wire x1="51.689" y1="9.398" x2="51.689" y2="12.7" width="1.27" layer="1"/>
<wire x1="51.689" y1="12.7" x2="51.689" y2="10.795" width="0.4064" layer="1"/>
<wire x1="51.689" y1="10.795" x2="51.562" y2="10.668" width="0.4064" layer="1"/>
<wire x1="51.689" y1="12.7" x2="51.689" y2="14.544" width="1.27" layer="1"/>
<wire x1="51.689" y1="14.544" x2="51.75" y2="14.605" width="1.27" layer="1"/>
<wire x1="50.546" y1="22.0345" x2="50.546" y2="17.5895" width="0.4064" layer="16"/>
<via x="52.451" y="15.6845" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="51.75" y1="14.605" x2="51.75" y2="15.413321875" width="0.4064" layer="1"/>
<wire x1="51.75" y1="15.413321875" x2="52.021178125" y2="15.6845" width="0.4064" layer="1"/>
<wire x1="52.021178125" y1="15.6845" x2="52.451" y2="15.6845" width="0.4064" layer="1"/>
<wire x1="50.546" y1="17.5895" x2="52.451" y2="15.6845" width="0.4064" layer="16"/>
</signal>
<signal name="N$24">
<contactref element="U3" pad="3"/>
</signal>
<signal name="N$25">
<contactref element="U3" pad="4"/>
</signal>
<signal name="N$26">
<contactref element="U3" pad="5"/>
</signal>
<signal name="N$27">
<contactref element="U3" pad="6"/>
</signal>
<signal name="N$28">
<contactref element="U3" pad="7"/>
</signal>
<signal name="N$32">
<contactref element="U3" pad="11"/>
</signal>
<signal name="N$33">
<contactref element="U3" pad="12"/>
</signal>
<signal name="N$34">
<contactref element="U3" pad="13"/>
</signal>
<signal name="N$35">
<contactref element="U3" pad="14"/>
</signal>
<signal name="N$37">
<contactref element="U3" pad="16"/>
</signal>
<signal name="N$41">
<contactref element="U3" pad="20"/>
</signal>
<signal name="N$42">
<contactref element="U3" pad="19"/>
</signal>
<signal name="N$43">
<contactref element="U3" pad="18"/>
</signal>
<signal name="N$44">
<contactref element="U3" pad="17"/>
</signal>
<signal name="N$12">
<contactref element="R4" pad="1"/>
<contactref element="U1" pad="7"/>
<wire x1="3.937" y1="19.812" x2="3.937" y2="22.5425" width="0.254" layer="1"/>
<wire x1="3.937" y1="22.5425" x2="5.461" y2="24.0665" width="0.254" layer="1"/>
<wire x1="5.461" y1="24.0665" x2="8.9535" y2="24.0665" width="0.254" layer="1"/>
<wire x1="8.9535" y1="24.0665" x2="9.271" y2="24.384" width="0.254" layer="1"/>
<wire x1="9.271" y1="24.384" x2="9.271" y2="25.4" width="0.254" layer="1"/>
</signal>
<signal name="N$38">
<contactref element="U1" pad="3"/>
<contactref element="L2" pad="1"/>
<contactref element="D8" pad="-"/>
<polygon width="0.254" layer="1" isolate="0.254" thermals="no" rank="2">
<vertex x="10.287" y="20.828"/>
<vertex x="11.049" y="20.828"/>
<vertex x="11.049" y="17.907" curve="90"/>
<vertex x="11.43" y="17.526"/>
<vertex x="11.938" y="17.526" curve="-90"/>
<vertex x="12.319" y="17.145"/>
<vertex x="12.319" y="9.216059375" curve="-91.273197"/>
<vertex x="11.929534375" y="8.83515625"/>
<vertex x="9.834034375" y="8.881721875" curve="-88.718542"/>
<vertex x="9.4615" y="9.262628125"/>
<vertex x="9.4615" y="17.145" curve="-90"/>
<vertex x="9.8425" y="17.526"/>
<vertex x="9.906" y="17.526" curve="90"/>
<vertex x="10.287" y="17.907"/>
</polygon>
</signal>
<signal name="N$47">
<contactref element="U1" pad="5"/>
<contactref element="R5" pad="1"/>
<contactref element="R6" pad="1"/>
<contactref element="C1" pad="2"/>
<wire x1="13.589" y1="23.241" x2="12.319" y2="23.241" width="0.3048" layer="1"/>
<wire x1="12.319" y1="23.241" x2="11.811" y2="23.749" width="0.3048" layer="1"/>
<wire x1="11.811" y1="23.749" x2="11.811" y2="25.4" width="0.3048" layer="1"/>
<wire x1="13.589" y1="23.241" x2="13.589" y2="21.59" width="0.3048" layer="1"/>
<wire x1="13.589" y1="21.59" x2="13.589" y2="19.939" width="0.3048" layer="1"/>
</signal>
<signal name="N$9">
<contactref element="PWR" pad="-"/>
<contactref element="R1" pad="2"/>
<wire x1="27.94" y1="1.143" x2="29.464" y2="1.143" width="0.3048" layer="1"/>
</signal>
<signal name="N$45">
<contactref element="L4" pad="2"/>
<contactref element="D7" pad="2"/>
<contactref element="J2" pad="1"/>
<wire x1="14.097" y1="30.226" x2="13.97" y2="30.226" width="0.3048" layer="1"/>
<wire x1="12.5423875" y1="28.6713875" x2="5.9836125" y2="28.6713875" width="0.3048" layer="1"/>
<wire x1="5.9836125" y1="28.6713875" x2="4.81" y2="29.845" width="0.3048" layer="1"/>
<wire x1="2.8" y1="33.38" x2="2.8" y2="31.671628125" width="0.3048" layer="1"/>
<wire x1="2.8" y1="31.671628125" x2="4.626628125" y2="29.845" width="0.3048" layer="1"/>
<wire x1="4.626628125" y1="29.845" x2="4.81" y2="29.845" width="0.3048" layer="1"/>
<wire x1="12.5423875" y1="28.6713875" x2="14.097" y2="30.226" width="0.3048" layer="1"/>
</signal>
<signal name="N$48">
<contactref element="L3" pad="2"/>
<contactref element="D5" pad="2"/>
<contactref element="J2" pad="4"/>
<wire x1="8.9" y1="40.28" x2="8.9" y2="43.317" width="0.3048" layer="1"/>
<wire x1="8.9" y1="43.317" x2="9.398" y2="43.815" width="0.3048" layer="1"/>
<wire x1="9.398" y1="43.815" x2="10.525" y2="43.815" width="0.3048" layer="1"/>
<wire x1="8.9" y1="40.28" x2="8.9" y2="38.725" width="0.3048" layer="1"/>
<wire x1="8.9" y1="38.725" x2="9.398" y2="38.227" width="0.3048" layer="1"/>
<wire x1="9.398" y1="38.227" x2="13.335" y2="38.227" width="0.3048" layer="1"/>
<wire x1="13.335" y1="38.227" x2="13.716" y2="38.608" width="0.3048" layer="1"/>
<wire x1="13.716" y1="38.608" x2="13.716" y2="40.259" width="0.3048" layer="1"/>
<wire x1="13.716" y1="40.259" x2="14.224" y2="40.767" width="0.3048" layer="1"/>
<wire x1="14.224" y1="40.767" x2="15.367" y2="40.767" width="0.3048" layer="1"/>
</signal>
<signal name="N$51">
<contactref element="D6" pad="2"/>
<contactref element="J2" pad="3"/>
<contactref element="L1" pad="2"/>
<wire x1="8.6" y1="33.38" x2="8.6" y2="30.516" width="0.3048" layer="1"/>
<wire x1="8.6" y1="30.516" x2="9.271" y2="29.845" width="0.3048" layer="1"/>
<wire x1="9.271" y1="29.845" x2="10.525" y2="29.845" width="0.3048" layer="1"/>
<wire x1="8.6" y1="33.38" x2="8.6" y2="34.889" width="0.3048" layer="1"/>
<wire x1="8.6" y1="34.889" x2="9.144" y2="35.433" width="0.3048" layer="1"/>
<wire x1="9.144" y1="35.433" x2="13.208" y2="35.433" width="0.3048" layer="1"/>
<wire x1="13.208" y1="35.433" x2="13.716" y2="34.925" width="0.3048" layer="1"/>
<wire x1="13.716" y1="34.925" x2="13.716" y2="33.528" width="0.3048" layer="1"/>
<wire x1="13.716" y1="33.528" x2="14.351" y2="32.893" width="0.3048" layer="1"/>
<wire x1="14.351" y1="32.893" x2="15.367" y2="32.893" width="0.3048" layer="1"/>
</signal>
<signal name="N$52">
<contactref element="P1" pad="1"/>
<contactref element="R11" pad="1"/>
<wire x1="35.56" y1="14.732" x2="38.1" y2="14.732" width="0.4064" layer="1"/>
<wire x1="38.1" y1="14.732" x2="39.37" y2="13.462" width="0.4064" layer="1" curve="-90"/>
<wire x1="39.37" y1="13.462" x2="39.37" y2="11.811" width="0.4064" layer="1"/>
</signal>
<signal name="N$2">
<contactref element="Q5" pad="3"/>
<contactref element="T_5V" pad="T"/>
<contactref element="R23" pad="1"/>
<contactref element="D2" pad="+"/>
<wire x1="50.8" y1="16.637" x2="50.038" y2="16.637" width="0.4064" layer="1"/>
<wire x1="50.038" y1="16.637" x2="48.26" y2="18.415" width="0.4064" layer="1"/>
<via x="48.26" y="18.415" extent="1-16" drill="0.3048" diameter="0.635"/>
<wire x1="48.26" y1="18.415" x2="42.672" y2="24.003" width="0.4064" layer="16"/>
<wire x1="42.672" y1="24.003" x2="22.479" y2="24.003" width="0.4064" layer="16"/>
<wire x1="22.479" y1="24.003" x2="21.59" y2="23.114" width="0.4064" layer="16"/>
<wire x1="21.59" y1="23.114" x2="21.59" y2="21.59" width="0.4064" layer="16"/>
<wire x1="50.8" y1="16.637" x2="50.8" y2="16.764" width="0.4064" layer="1"/>
<wire x1="50.8" y1="16.764" x2="50.927" y2="16.891" width="0.4064" layer="1"/>
<wire x1="50.927" y1="16.891" x2="51.562" y2="16.891" width="1.27" layer="1"/>
<wire x1="51.562" y1="16.891" x2="52.197" y2="16.891" width="1.27" layer="1"/>
<wire x1="52.197" y1="16.891" x2="53.289" y2="16.891" width="1.27" layer="1"/>
<wire x1="53.289" y1="16.891" x2="54.178" y2="17.78" width="1.27" layer="1"/>
<wire x1="51.562" y1="18.415" x2="51.562" y2="17.78" width="1.27" layer="1"/>
<wire x1="51.562" y1="17.526" x2="51.562" y2="16.891" width="1.27" layer="1"/>
<wire x1="51.562" y1="17.526" x2="50.927" y2="16.891" width="1.27" layer="1"/>
<wire x1="51.562" y1="17.78" x2="51.562" y2="17.526" width="1.27" layer="1"/>
<wire x1="51.562" y1="17.526" x2="52.197" y2="16.891" width="1.27" layer="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>

license: MIT

license_type: permissive

branch_name: refs/heads/master


text:
package sample

import (
	"context"
	"crypto/rand"
	"encoding/base64"
	"fmt"
	"path"

	"github.com/puppetlabs/relay-core/pkg/authenticate"
	"github.com/puppetlabs/relay-core/pkg/metadataapi/opt"
	"github.com/puppetlabs/relay-core/pkg/model"
	"gopkg.in/square/go-jose.v2/jwt"
)

type stepTokenEntry struct {
	runID, stepName string
}

type TokenMap struct {
	steps    map[stepTokenEntry]string
	triggers map[string]string
}

func (tm *TokenMap) ForStep(runID, stepName string) (tok string, found bool) {
	tok, found = tm.steps[stepTokenEntry{runID, stepName}]
	return
}

func (tm *TokenMap) ForTrigger(triggerName string) (tok string, found bool) {
	tok, found = tm.triggers[triggerName]
	return
}

type TokenGenerator struct {
	key    interface{}
	issuer authenticate.Issuer
}

func (tg *TokenGenerator) Key() interface{} {
	return tg.key
}

func (tg *TokenGenerator) GenerateAll(ctx context.Context, sc *opt.SampleConfig) *TokenMap {
	m := &TokenMap{
		steps:    make(map[stepTokenEntry]string),
		triggers: make(map[string]string),
	}

	for id, run := range sc.Runs {
		rm := model.Run{ID: id}

		for name := range run.Steps {
			sm := &model.Step{Run: rm, Name: name}

			claims := &authenticate.Claims{
				Claims: &jwt.Claims{
					Audience: jwt.Audience{authenticate.MetadataAPIAudienceV1},
					Subject:  fmt.Sprintf(path.Join(sm.Type().Plural, sm.Hash().HexEncoding())),
				},
				RelayRunID: rm.ID,
				RelayName:  sm.Name,
			}

			tok, err := tg.issuer.Issue(ctx, claims)
			if err != nil {
				log().Error("failed to generate token for step", "run-id", rm.ID, "step-name", sm.Name, "error", err)
			}

			m.steps[stepTokenEntry{rm.ID, sm.Name}] = string(tok)
			log().Info("generated JWT for step", "run-id", rm.ID, "step-name", sm.Name, "token", string(tok))
		}
	}

	for name := range sc.Triggers {
		tm := &model.Trigger{Name: name}

		claims := &authenticate.Claims{
			Claims: &jwt.Claims{
				Audience: jwt.Audience{authenticate.MetadataAPIAudienceV1},
				Subject:  fmt.Sprintf(path.Join(tm.Type().Plural, tm.Hash().HexEncoding())),
			},
			RelayName: tm.Name,
		}

		tok, err := tg.issuer.Issue(ctx, claims)
		if err != nil {
			log().Error("failed to generate token for trigger", "trigger-name", tm.Name, "error", err)
		}

		m.triggers[tm.Name] = string(tok)
		log().Info("generated JWT for trigger", "trigger-name", tm.Name, "token", string(tok))
	}

	return m
}

func NewHS256TokenGenerator(key []byte) (*TokenGenerator, error) {
	if len(key) == 0 {
		// Generate a new key.
		key = make([]byte, 64)
		if _, err := rand.Read(key); err != nil {
			return nil, err
		}

		log().Info("created new HMAC-SHA256 signing key", "key", base64.StdEncoding.EncodeToString(key))
	}

	issuer, err := authenticate.NewHS256KeySignerIssuer(key)
	if err != nil {
		return nil, err
	}

	return &TokenGenerator{
		key:    key,
		issuer: issuer,
	}, nil
}

repository: puppetlabs/relay-core

repo_name: puppetlabs/relay-core

branch_name: refs/heads/main

gha_language: Go

extension: go