BlackBerry: Difference between revisions

No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
All of this information was tested on a BlackBerry Curve 8900 or BlackBerry Bold 9700 (but generally not both!) on T-Mobile, usually within Atlanta.
==UMA==
* Unlicensed Mobile Access (see this [http://www.networkworld.com/newsletters/converg/2006/0424converge2.html NetworkWorld writeup]). GSM/GPRS devices using "unlicensed" spectrum -- Bluetooth, 802.11, etc (see [http://www.umatechnology.org/overview/ this overview]).
* "UMA" vs "uma" in display: "uma" provides only voice functionality, while "UMA" provides a full data suite.
==BlackBerry data==
* <tt>btool -l</tt> will list connected devices:
<pre>[hyperbox](0) $ btool -l
Blackberry devices found:
Device ID: 0xfb6d10. PIN: 228db871, Description: RIM BlackBerry Device
[hyperbox](0) $ </pre>
* <tt>btool -t</tt> will list supported databases. Use <tt>-P devpassword</tt> if a password has been set.
===LDIF===
* <tt>btool -L</tt> lists contact fields native to the device:
<pre>[hyperbox](0) $ btool -L
Blackberry devices found:
Device ID: 0x26dcd10. PIN: 228db871, Description: RIM BlackBerry Device
Using device (PIN): 228db871
  Email              : Email address
  Phone              : Phone number
  Fax                : Fax number
  WorkPhone          : Work phone number
  HomePhone          : Home phone number
  MobilePhone        : Mobile phone number
  Pager              : Pager number
  PIN                : PIN
  FirstName          : First name
  LastName            : Last name
  Company            : Company name
  DefaultCommunicationsMethod: Default communications method
  WorkAddress1        : Work Address, line 1
  WorkAddress2        : Work Address, line 2
  WorkAddress3        : Work Address, line 3
  WorkCity            : WorkCity
  WorkProvince        : WorkProvince / State
  WorkPostalCode      : Work Postal / ZIP code
  WorkCountry        : WorkCountry
  JobTitle            : Job Title
  PublicKey          : Public key
  Notes              : Notes
  WorkPostalAddress  : Mailing Work address (includes address lines, city, province, country, and postal code)
  HomePostalAddress  : Mailing home address (includes address lines, city, province, country, and postal code)
  FullName            : First + Last names
  FQDN                : Fully qualified domain name
[hyperbox](0) $ </pre>
* ...and <tt>btool -M</tt> will provided a LDIF mapping:
<pre>[hyperbox](0) $ btool -M
Blackberry devices found:
Device ID: 0x1a65d10. PIN: 228db871, Description: RIM BlackBerry Device
Using device (PIN): 228db871
ContactLdif Mapping:
  dn                  ->  FQDN / FQDN
  c                  ->  WorkCountry / WorkCountry
                      objectClass: country
  cn                  ->  FullName / FullName
  displayName        ->  FullName / FullName
  facsimileTelephoneNumber->  Fax / Fax
  givenName          ->  FirstName / FirstName
  homePhone          ->  HomePhone / HomePhone
  homePostalAddress  ->  HomePostalAddress / HomePostalAddress
  l                  ->  WorkCity / WorkCity
  mail                ->  Email / Email
  mobile              ->  MobilePhone / MobilePhone
  note                ->  Notes / Notes
  o                  ->  Company / Company
  pager              ->  Pager / Pager
  postalAddress      ->  WorkPostalAddress / WorkPostalAddress
  postalCode          ->  WorkPostalCode / WorkPostalCode
  sn                  ->  LastName / LastName
  st                  ->  WorkProvince / WorkProvince
  street              ->  WorkAddress1 / WorkAddress1
  telephoneNumber    ->  WorkPhone / WorkPhone
  title              ->  JobTitle / JobTitle
  >>> DN attribute: cn</pre>
* Finally, dump a device database with <tt>btool -d DB</tt>, and load it with <tt>btool -s DB</tt>:
<pre>[hyperbox](0) $ btool -d 'Address Book' | grep FirstName | wc -l
654
[hyperbox](0) $ </pre>
==Character Modification==
==Character Modification==
* To quickly capitalize a letter, hold it down for about a second.
* To quickly capitalize a letter, hold it down for about a second.
* To type characters with commonly-used [http://en.wikipedia.org/wiki/Diacritic diacritics], hold down the closest English letter, and spin the trackball.
* To type characters with commonly-used [http://en.wikipedia.org/wiki/Diacritic diacritics], hold down the closest English letter, and spin the trackball.
** This will not work for input fields limited to ASCII (for instance SMS test messages).
** This will not work for input fields limited to ASCII (for instance SMS test messages).
==Apps==
==Apps==
* [http://googleblog.blogspot.com/2009/07/google-voice-mobile-app-for-blackberry.html Google Voice] as of at least 2009-07-15
* [http://googleblog.blogspot.com/2009/07/google-voice-mobile-app-for-blackberry.html Google Voice] as of at least 2009-07-15
* [http://www.google.com/mobile/sync/ Google Sync] is absolutely necessary
* [http://www.google.com/mobile/sync/ Google Sync] is absolutely necessary
==[[Debian|Linux]]==
==[[Debian|Linux]]==
* BlackBerry uses WINDOWS-1252 by default, which is pretty much entirely useless. Use <tt>-i UTF-8</tt> to convert data to UTF-8.
** No, btool doesn't appear to simply honor [[LANG]].
* <tt>[http://www.blackberryfaq.com/index.php/How_to_Use_BCharge bcharge]</tt> from the [http://sourceforge.net/projects/barry/ barry] package is used to properly set up USB-based charging
* <tt>[http://www.blackberryfaq.com/index.php/How_to_Use_BCharge bcharge]</tt> from the [http://sourceforge.net/projects/barry/ barry] package is used to properly set up USB-based charging
* <tt>btool</tt> from the barry-util package:
* <tt>btool</tt> from the barry-util package:
Line 24: Line 104:
[recombinator](0) $ </pre>
[recombinator](0) $ </pre>
* <tt>barrybackup</tt>
* <tt>barrybackup</tt>
===Tethering===
===Tethering on T-Mobile===
Update <tt>/etc/network/interfaces</tt>, adding:<pre>iface ppp0 inet ppp
Update <tt>/etc/network/interfaces</tt>, adding:<pre>iface ppp0 inet ppp
provider barry-tmobileus</pre>
provider barry-tmobileus</pre>Place the following file at <tt>/usr/local/etc/barry-tmobileus.chat</tt>:<pre>ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
Place the following file at <tt>/usr/local/etc/barry-tmobileus.chat</tt>:<pre>ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
SAY "Initializing\n"
'' ATZ
'' ATZ
OK AT+CGDCONT=1,"IP","wap.voicestream.com"
OK AT+CGDCONT=1,"IP","wap.voicestream.com"
OK-AT-OK ATDT*99#
OK-AT-OK ATDT*99#
CONNECT \d\c</pre>Place the following file at <tt>/etc/ppp/peers/barry-tmobileus</tt>:<pre>connect "/usr/sbin/chat -f /usr/local/etc/barry-tmobileus.chat"
CONNECT \d\c</pre>Place the following file at <tt>/usr/local/etc/barry-tmobileus.dechat</tt>, and make it executable:<pre>#!/bin/sh


#
killall pppob</pre>Place the following file at <tt>/etc/ppp/peers/barry-tmobileus</tt>:<pre>connect "/usr/sbin/chat -f /usr/local/etc/barry-tmobileus.chat"
# authentication options - no need for ISP to authenticate to us, but
disconnect "/usr/local/etc/barry-tmobileus.dechat"
#                          we may need a login here: user/password/name
#
noauth
noauth
user ""
user ""
password ""
password ""
#name wapuser
#
# handle the default route and DNS
#
#nodefaultroute
defaultroute
defaultroute
usepeerdns
usepeerdns
#
# disable unsupported options
#
noipdefault
noipdefault
nodetach
nodetach
Line 59: Line 126:
nobsdcomp
nobsdcomp
noaccomp
noaccomp
#default-asyncmap
nocrtscts
nocrtscts
nopcomp
nopcomp
nomagic
nomagic
passive
passive
#nomultilink
ipcp-restart 7
ipcp-restart 7
ipcp-accept-local
ipcp-accept-local
ipcp-accept-remote
ipcp-accept-remote
# need lcp-echo turned off, at least for tmobile, otherwise c0onnectin
# disconnects after few mn of inactivity.
# thanks to loon for this info
lcp-echo-interval 0
lcp-echo-interval 0
lcp-echo-failure 999
lcp-echo-failure 999
#
# limit size of packets
#
mtu 1492
mtu 1492
#
# operate in debug mode
#
debug
debug
#debug debug debug
pty "/usr/sbin/pppob -P yourpassword -p yourpin"</pre>Note that the <tt>pty</tt> argument ought be updated for your device's password and PIN.
 
==Bluetooth==
#
[[File:bluetooth.png|bluetooth-applet with active connection|thumb]]
# call pppob for the USB link
* Ensure you have a working bluetooth adapter with <tt>hcitool dev</tt>
#
* At least one service must be running for a successful HCI connection (try bluez-simple-agent)
pty "/usr/sbin/pppob -P yourpassword -p yourpin"
 
 
#
# unused options
#
 
#modem
## refused anyway, no point in trying every time
#novj</pre>Note that the <tt>pty</tt> argument ought be updated for your device's password and PIN.