http://wiki.openmoko.org/index.php?title=User:Kagee&feed=atom&action=history
User:Kagee - Revision history
2024-03-29T08:23:41Z
Revision history for this page on the wiki
MediaWiki 1.19.24
http://wiki.openmoko.org/index.php?title=User:Kagee&diff=73262&oldid=prev
Kagee: nobody knows
2009-07-25T23:37:41Z
<p>nobody knows</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 23:37, 25 July 2009</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==Bluetooth Networking==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">This really says it all: </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><pre></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/bluetooth-guide.xml</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Thu Jul 16 23:02:01 2009 UTC (9 days ago) by nightmorph</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Branch: MAIN</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">CVS Tags: HEAD</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Changes since 1.15: +12 -125 lines</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Diff to previous 1.15</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">updated bluetooth guide, emergency fixes, bug 266690. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">we now no longer have a chapter on setting up a PAN, </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">since nobody knows how the hell to do this.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></pre></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* org.freesmartphone.Usage - method - ListResources ( ) → as - description: List available resources.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* org.freesmartphone.Usage - method - ListResources ( ) → as - description: List available resources.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 63:</td>
<td colspan="2" class="diff-lineno">Line 78:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>/etc/bluetooth/main.conf # aaded pass="1234"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>/etc/bluetooth/main.conf # aaded pass="1234"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* http://bluez.sourceforge.net/contrib/HOWTO-PAN (old)</ins></div></td></tr>
</table>
Kagee
http://wiki.openmoko.org/index.php?title=User:Kagee&diff=73261&oldid=prev
Kagee at 23:08, 25 July 2009
2009-07-25T23:08:03Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 23:08, 25 July 2009</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* org.freesmartphone.Usage - method - ListResources ( ) → as - description: List available resources.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* org.freesmartphone.Usage - method - ListResources ( ) → as - description: List available resources.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*cli-framework</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*cli-framework <ins class="diffchange diffchange-inline">will report that that it could not coeenct to bluez - you have to usageiface.RequestResource('Bluetooth') in another cli-framwork session for it to work</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Removed several:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Removed several:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</div></td></tr>
</table>
Kagee
http://wiki.openmoko.org/index.php?title=User:Kagee&diff=73259&oldid=prev
Kagee at 22:26, 25 July 2009
2009-07-25T22:26:12Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 22:26, 25 July 2009</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    </del>org.freesmartphone.Usage</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* </ins>org.freesmartphone.Usage <ins class="diffchange diffchange-inline">- method - ListResources ( ) → as - description: List available resources.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Method</del>:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*cli-framework</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">ListResources </del>( ) <del class="diffchange diffchange-inline">→ as</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Removed several</ins>:</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Using **pending_return in dbus_connection_send_with_reply_setup</ins>() <ins class="diffchange diffchange-inline">without pending_setup is deprecated and strongly discouraged</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Description: List available resources.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><pre></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Returns</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">as: resources</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">An array of resource names.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    cli-framework</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.ListResources()</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.ListResources()</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>['WiFi', 'Display', 'Bluetooth', 'TEST', 'GSM', 'CPU', 'GPS']</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>['WiFi', 'Display', 'Bluetooth', 'TEST', 'GSM', 'CPU', 'GPS']</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">>>> usageiface.ListResources()</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">['WiFi', 'Display', 'Bluetooth', 'TEST', 'GSM', 'CPU', 'GPS']</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.GetResourcePolicy('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.GetResourcePolicy('Bluetooth')</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'auto'</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'auto'</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.GetResourceState('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.GetResourceState('Bluetooth')</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>False</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>False</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.RequestResource('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.RequestResource('Bluetooth')</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> a = usageiface.RequestResource('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> a = usageiface.RequestResource('Bluetooth')</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Traceback (most recent call last):</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Traceback (most recent call last):</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   File "<console>", line 1, in <module></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   File "<console>", line 1, in <module></div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 35:</td>
<td colspan="2" class="diff-lineno">Line 25:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     message, timeout)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     message, timeout)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>DBusException: org.freesmartphone.Usage.UserExists: User :1.25 already requested Bluetooth</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>DBusException: org.freesmartphone.Usage.UserExists: User :1.25 already requested Bluetooth</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.GetResourceState('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.GetResourceState('Bluetooth')</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>True</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>True</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> a = usageiface.ReleaseResource('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> a = usageiface.ReleaseResource('Bluetooth')</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> a = usageiface.RequestResource('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> a = usageiface.RequestResource('Bluetooth')</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.GetResourceState('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.GetResourceState('Bluetooth')</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> a = usageiface.ReleaseResource('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> a = usageiface.ReleaseResource('Bluetooth')</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.GetResourceState('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> usageiface.GetResourceState('Bluetooth')</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>False</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>False</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> a = usageiface.RequestResource('Bluetooth')</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>>>> a = usageiface.RequestResource('Bluetooth')</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Using </del>*<del class="diffchange diffchange-inline">*pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"></pre></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>><del class="diffchange diffchange-inline">></del>></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*<ins class="diffchange diffchange-inline">cli</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><pre</ins>></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">root@om-gta02:~# hcitool dev</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Devices:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> hci0 00:06:6E:17:84:32</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">root@om-gta02:~# hciconfig</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">hci0: Type: USB</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> BD Address: 00:06:6E:17:84:32 ACL MTU: 384:8 SCO MTU: 64:8</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> UP RUNNING PSCAN </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> RX bytes:1111 acl:0 sco:0 events:47 errors:0</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> TX bytes:449 acl:0 sco:0 commands:47 errors:0</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">cd ~</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">cp /etc/default/dropbear .</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">nano /etc/default/dropbear  # DROPBEAR_PORT=22</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">/etc/init.d/dropbear restart</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">/etc/bluetooth/main.conf # aaded pass="1234"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"></pre</ins>></div></td></tr>
</table>
Kagee
http://wiki.openmoko.org/index.php?title=User:Kagee&diff=73246&oldid=prev
Kagee: New page: org.freesmartphone.Usage Method: ListResources ( ) → as Description: List available resources. Returns as: resources An array of resource names. cli-framework >>> usageiface....
2009-07-25T21:24:40Z
<p>New page: org.freesmartphone.Usage Method: ListResources ( ) → as Description: List available resources. Returns as: resources An array of resource names. cli-framework >>> usageiface....</p>
<p><b>New page</b></p><div> org.freesmartphone.Usage<br />
<br />
Method:<br />
ListResources ( ) → as<br />
<br />
Description: List available resources.<br />
Returns<br />
as: resources<br />
<br />
An array of resource names.<br />
<br />
cli-framework<br />
>>> usageiface.ListResources()<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
['WiFi', 'Display', 'Bluetooth', 'TEST', 'GSM', 'CPU', 'GPS']<br />
<br />
>>> usageiface.ListResources()<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
['WiFi', 'Display', 'Bluetooth', 'TEST', 'GSM', 'CPU', 'GPS']<br />
>>> usageiface.GetResourcePolicy('Bluetooth')<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
'auto'<br />
>>> usageiface.GetResourceState('Bluetooth')<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
False<br />
>>> usageiface.RequestResource('Bluetooth')<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
>>> a = usageiface.RequestResource('Bluetooth')<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
Traceback (most recent call last):<br />
File "<console>", line 1, in <module><br />
File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__<br />
**keywords)<br />
File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking<br />
message, timeout)<br />
DBusException: org.freesmartphone.Usage.UserExists: User :1.25 already requested Bluetooth<br />
>>> usageiface.GetResourceState('Bluetooth')<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
True<br />
>>> a = usageiface.ReleaseResource('Bluetooth')<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
>>> a = usageiface.RequestResource('Bluetooth')<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
>>> usageiface.GetResourceState('Bluetooth')<br />
>>> a = usageiface.ReleaseResource('Bluetooth')<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
>>> usageiface.GetResourceState('Bluetooth')<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
False<br />
>>> a = usageiface.RequestResource('Bluetooth')<br />
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged<br />
>>></div>
Kagee