Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OTDriver.cpp File Reference

#include <opie2/odebug.h>
#include <qtimer.h>
#include <sys/poll.h>
#include <bluezlib.h>
#include <OTGateway.h>
#include <OTDriver.h>
#include <OTHCISocket.h>

Include dependency graph for OTDriver.cpp:

Go to the source code of this file.

Defines

#define GET_LINK_QUALITY_RP_SIZE   READ_LINK_QUALITY_RP_SIZE

Variables

struct {
   const char *   str
   unsigned short   rev
csr_map []
static char * services []
static char * major_devices []
static ClassMap_t MapMiscClass []
static ClassMap_t MapUnclassifiedClass []
static ClassMap_t MapComputerClass []
static ClassMap_t MapPhoneClass []
static ClassMap_t MapAVClass []
static ClassMap_t MapPeripheralClass []
static MainClassMap_t MainClasses []


Define Documentation

#define GET_LINK_QUALITY_RP_SIZE   READ_LINK_QUALITY_RP_SIZE
 

Definition at line 17 of file OTDriver.cpp.

Referenced by Opietooth2::OTDriver::getLinkQuality().


Variable Documentation

struct { ... } csr_map[] [static]
 

Referenced by Opietooth2::OTDriver::getRevCsr().

MainClassMap_t MainClasses[] [static]
 

Initial value:

 {
    { 0, MapMiscClass },
    { 1, MapComputerClass },
    { 2, MapPhoneClass },
    { 3, 0 }, 
    { 4, MapAVClass },
    { 5, MapPeripheralClass },
    { 6, 0 }, 
    { 63, MapUnclassifiedClass },
    { -1, 0 }
}

Definition at line 137 of file OTDriver.cpp.

char* major_devices[] [static]
 

Initial value:

 { "Miscellaneous",
                                 "Computer",
                                 "Phone",
                                 "LAN Access",
                                 "Audio/Video",
                                 "Peripheral",
                                 "Imaging",
                                 "Uncategorized" }

Definition at line 57 of file OTDriver.cpp.

Referenced by Opietooth2::OTDriver::getClass().

ClassMap_t MapAVClass[] [static]
 

Initial value:

 {
    { 0, "Uncategorized" },
    { 1, "Device conforms to the Headset profile" },
    { 2, "Hands-free" },
    { 3, 0 },
    { 4, "Microphone" },
    { 5, "Loudspeaker" },
    { 6, "Headphones" },
    { 7, "Portable Audio" },
    { 8, "Car Audio" },
    { 9, "Set-top box" },
    { 10, "HiFi Audio Device" },
    { 11, "VCR" },
    { 12, "Video Camera" },
    { 13, "Camcorder" },
    { 14, "Video Monitor" },
    { 15, "Video Display and Loudspeaker" },
    { 16, "Video Conferencing" },
    { 17, 0 },
    { 18, "Gaming/Toy" },
    { -1, 0 }
}

Definition at line 102 of file OTDriver.cpp.

ClassMap_t MapComputerClass[] [static]
 

Initial value:

 {
    { 0, "Uncategorized" } ,
    { 1, "Desktop workstation" } ,
    { 2, "Server" } ,
    { 3, "Laptop" } ,
    { 4, "Handheld" } ,
    { 5, "Palm" } ,
    { 6, "Wearable" },
    { -1, 0 }
}

Definition at line 80 of file OTDriver.cpp.

ClassMap_t MapMiscClass[] [static]
 

Initial value:

 {
    { -1, "" }
}

Definition at line 72 of file OTDriver.cpp.

ClassMap_t MapPeripheralClass[] [static]
 

Initial value:

 {
    { 16, "Keyboard" },
    { 32, "Pointing device" },
    { 48, "Combo keyboard/pointing device" },
    { -1, 0 }
}

Definition at line 125 of file OTDriver.cpp.

ClassMap_t MapPhoneClass[] [static]
 

Initial value:

 {
    { 0, "Uncategorized" },
    { 1, "Cellular" },
    { 2, "Cordless" },
    { 3, "Smart phone" },
    { 4, "Wired modem or voice gateway" },
    { 5, "Common ISDN Access" },
    { 6, "Sim Card Reader" },
    { -1, 0 }
}

Definition at line 91 of file OTDriver.cpp.

ClassMap_t MapUnclassifiedClass[] [static]
 

Initial value:

 {
    { -1, "" }
}

Definition at line 76 of file OTDriver.cpp.

unsigned short rev
 

Definition at line 27 of file OTDriver.cpp.

Referenced by DateBook::slotDoFind(), and SenderUI::slotRev().

char* services[] [static]
 

Initial value:

 { "Positioning",
                            "Networking",
                            "Rendering",
                            "Capturing",
                            "Object Transfer",
                            "Audio",
                            "Telephony",
                            "Information" }

Definition at line 48 of file OTDriver.cpp.

Referenced by Opietooth2::OTDriver::getClass().

const char* str
 

Definition at line 26 of file OTDriver.cpp.

Referenced by Stream::addFilters(), OPimNotifyManager::alarmsToString(), Opie::OPimNotifyManager::alarmsToString(), OContact::anniversary(), Opie::OPimContact::anniversary(), OPimResolver::applicationChannel(), Opie::OPimResolver::applicationChannel(), OPimXRefManager::apps(), Opie::OPimXRefManager::apps(), KateView::askReplaceEnd(), KeyMappings::assignModifier(), KeyMappings::assignUnicode(), Qt3::QTextFormatter::bidiReorderLine(), OContact::birthday(), Opie::OPimContact::birthday(), OpieTooth::ObexDialog::browse(), InputDialog::browse(), optionsDialog::BrowseSelected(), Gfx::buildImageStream(), categoryEdittingFileName(), ExcelBook::CellDataString(), HlCInt::checkHgl(), Opie::MM::ExifData::compression_to_string(), Opie::Core::OPluginManager::configName(), QUType_QString::convertFrom(), QUType_QString::convertTo(), OTimeZone::current(), Opie::OPimTimeZone::current(), Opie::DB::OSQLResultItem::dataToDate(), dateBookJournalFile(), OConversion::dateTimeToString(), OConversion::dateToString(), Opie::OPimDateConversion::dateToString(), OCopServer::delChannel(), Opie::Core::Internal::OPluginLibraryHolder::deref(), DCIM_DirLister::dirUp(), Highlight::doHighlight(), NetworkDialog::downloadFile(), QOutputDev::drawChar(), TextEdit::fileOpen(), OpieTooth::PPPDialog::fillOutPut(), KateView::findAgain(), TextPage::findText(), Opie::Ui::Internal::FontListItem::FontListItem(), forAll(), TimeConversion::fromISO8601(), fullBaseName(), PNGSlave::fullImageInfo(), WellenreiterMainWindow::getFileName(), Parser::getObj(), WriteMail::getRecipients(), Opietooth2::OTDriver::getRevCsr(), TextParser::getString(), CInputScript::GetString(), QOutputDev::getText(), ThumbNailTool::getThumb(), OpieObex::OtherHandler::handle(), ExcelBook::HandleSetOfSST(), XINE::Lib::handleXineEvent(), LibraryDialog::httpDownload(), PNGSlave::iconViewName(), Qtopia::Record::idsToString(), AddressbookWindow::importvCard(), OCOPClient::init(), DateBookDB::init(), Gutenbrowser::initConfig(), internalLatin1ToUnicode(), StringParser::join(), MScanListItem::key(), Opie::Core::OGenericPluginLoader::languageList(), QString::latin1ToUnicode(), Opie::Core::Internal::DebugBackend::line(), OTodoAccessXML::load(), Opie::OPimTodoAccessXML::load(), Todo::TemplateManager::load(), TaskEditorStatus::load(), ODateBookAccessBackend_XML::loadFile(), Opie::ODateBookAccessBackend_XML::loadFile(), Parser::makeStream(), PIMListView::makeString(), SubUnit::makeSubUnit(), QIMPenMatch::matchWords(), ClipboardApplet::mousePressEvent(), Opie::Net::OWirelessNetworkInterface::nickName(), numberPlacing(), OFileSelector::OFileSelector(), Opie::Ui::OFileSelector::OFileSelector(), Gfx::opBeginImage(), OpenEtext::open(), ImageViewer::openFile(), CameraMainWindow::outputToMenuItemClicked(), PackageWindow::PackageWindow(), Sheet::paintCell(), KateDocument::paintTextLine(), KHUtil::parseArgs(), OpieTooth::Manager::parseHCIOutput(), AnyLnk::parseText(), OPimRecord::partner(), Opie::OPimRecord::partner(), JpegSlave::pixmap(), Qt3::QTextCursor::place(), XINE::Lib::play(), Opie::Core::OGenericPluginLoader::plugins(), UI::popup_dialog(), PostScriptFunction::PostScriptFunction(), ThumbNailTool::putThumb(), OPimResolver::qcopChannel(), Opie::OPimResolver::qcopChannel(), KLocale::readDate(), GfxFont::readEmbFontFile(), KLocale::readTime(), OPimMainWindow::record(), Opie::OPimMainWindow::record(), OPimNotifyManager::remindersToString(), Opie::OPimNotifyManager::remindersToString(), CDrawBuffer::render(), QCString::replace(), KateView::replace(), VUMeter::resize(), SampledFunction::SampledFunction(), ProfileManager::save(), DateBookDB::save(), ODateBookAccessBackend_XML::save(), Opie::ODateBookAccessBackend_XML::save(), TextEdit::saveAs(), saveEachEvent(), ContactEditor::saveEntry(), AbEditor::saveEntry(), DateBookDB::saveJournalEntry(), QCopBridgePI::sendDesktopMessage(), QCopBridge::sendDesktopMessageOld(), SenderUI::SenderUI(), OPimResolver::serviceName(), Opie::OPimResolver::serviceName(), Opie::Core::Internal::SIMpad::setDisplayBrightness(), XINE::Lib::setfile(), OpieTooth::HciConfWrapper::setValue(), ConfigMainWindow::showAbout(), ConfigMainWindow::showIntro(), AppLauncher::sigStopped(), Todo::TemplateDialogImpl::slotAdd(), Clock::slotBrowseMp3File(), OFileViewFileListView::slotClicked(), Opie::Ui::Internal::OFileViewFileListView::slotClicked(), OpieTooth::Manager::slotConnectionOutput(), OFileViewFileListView::slotCurrentChanged(), Opie::Ui::Internal::OFileViewFileListView::slotCurrentChanged(), PiecesTable::slotCustomImage(), PackageInfoDlg::slotFiles(), OpieTooth::Manager::slotHCIOut(), MainWindow::slotImportExcel(), ViewMail::slotItemClicked(), FifteenConfigDialog::slotLoadImage(), ORecurranceWidget::slotMonthLabel(), OPimRecurrenceWidget::slotMonthLabel(), RepeatEntry::slotMonthLabel(), FileTransfer::slotRead(), FileReceive::slotRead(), OpieTooth::Manager::slotSDPOut(), SenderUI::slotSend(), Composer::slotSendQueued(), DateBookWeek::slotShowEvent(), OpieTooth::Manager::slotSignalStrengthOutput(), PIconView::slotViewChanged(), ORecurranceWidget::slotWeekLabel(), OPimRecurrenceWidget::slotWeekLabel(), RepeatEntry::slotWeekLabel(), Qt3::QTextCursor::splitAndInsertEmptyParagraph(), Opie::Net::OWirelessNetworkInterface::SSID(), Opie::Net::ONetwork::synchronize(), QInputDialog::textChanged(), DCIM_DirLister::thumbNail(), TempScreenSaverMonitor::timerEvent(), TimeConversion::toISO8601(), toISOLocal(), OContact::toRichText(), Contact::toRichText(), Opie::OPimContact::toRichText(), OTodoAccessXML::toString(), Opie::OPimTodoAccessXML::toString(), Qt3::QTextDeleteCommand::unexecute(), Game::update_info(), OContactAccessBackend_XML::updateJournal(), Opie::OPimContactAccessBackend_XML::updateJournal(), Qt3::QTextString::width(), CDrawBuffer::width(), PickboardAdd::word(), KateConfig::write(), Config::write(), QTextStream::writeBlock(), TEmuVt102::XtermHack(), and yyparse().


Generated on Sat Nov 5 17:10:46 2005 for OPIE by  doxygen 1.4.2