11ca3442bSMatthias Ringwald\documentclass[a4paper,titlepage,oneside,12pt]{amsart} %amsart 21ca3442bSMatthias Ringwald\usepackage{graphicx} 31ca3442bSMatthias Ringwald\usepackage[colorlinks=true]{hyperref} 41ca3442bSMatthias Ringwald%\usepackage{geometry} % see geometry.pdf on how to lay out the page. There's lots. 51ca3442bSMatthias Ringwald\usepackage[margin=1.3in]{geometry} 61ca3442bSMatthias Ringwald\geometry{a4paper} % or letter or a5paper or ... etc 71ca3442bSMatthias Ringwald% \geometry{landscape} % rotated page geometry 81ca3442bSMatthias Ringwald\usepackage{ifthen} 91ca3442bSMatthias Ringwald\usepackage{longtable} 101ca3442bSMatthias Ringwald 111ca3442bSMatthias Ringwald% See the ``Article customise'' template for come common customisations 121ca3442bSMatthias Ringwald\usepackage[usenames,dvipsnames]{color} 131ca3442bSMatthias Ringwald 141ca3442bSMatthias Ringwald\usepackage[table]{xcolor} 151ca3442bSMatthias Ringwald 161ca3442bSMatthias Ringwald\definecolor{lightgray}{RGB}{245, 245, 245} 171ca3442bSMatthias Ringwald\definecolor{bkblue}{RGB}{18, 47, 76} 181ca3442bSMatthias Ringwald\definecolor{bklightblue}{RGB}{102, 131, 158} 191ca3442bSMatthias Ringwald\definecolor{mygreen}{rgb}{0,0.6,0} 201ca3442bSMatthias Ringwald\definecolor{orange}{RGB}{255,153,0} 211ca3442bSMatthias Ringwald 221ca3442bSMatthias Ringwald\usepackage{opensans} 231ca3442bSMatthias Ringwald\usepackage{setspace} 241ca3442bSMatthias Ringwald\usepackage{booktabs} \newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}} 251ca3442bSMatthias Ringwald 261ca3442bSMatthias Ringwald\usepackage{color} 271ca3442bSMatthias Ringwald 281ca3442bSMatthias Ringwald% show todos 291ca3442bSMatthias Ringwald\newcommand{\todo}[1]{\colorbox{yellow}{#1}} 301ca3442bSMatthias Ringwald% ignore todos 311ca3442bSMatthias Ringwald% \newcommand{\todo}[1]{} 321ca3442bSMatthias Ringwald 331ca3442bSMatthias Ringwald\newcommand{\toread}[1]{{\color{bklightblue} #1}} 341ca3442bSMatthias Ringwald 351ca3442bSMatthias Ringwald\usepackage{listings} 361ca3442bSMatthias Ringwald\lstset{ % 371ca3442bSMatthias Ringwaldfloat, 381ca3442bSMatthias Ringwaldlanguage=C, % choose the language of the code 391ca3442bSMatthias Ringwaldbasicstyle=\footnotesize, % the size of the fonts that are used for the code 401ca3442bSMatthias Ringwald%numbers=left, % where to put the line-numbers 411ca3442bSMatthias Ringwald%numberstyle=\footnotesize, % the size of the fonts that are used for the line-numbers 421ca3442bSMatthias Ringwald%stepnumber=1, % the step between two line-numbers. If it is 1 each line will be numbered 431ca3442bSMatthias Ringwald%numbersep=5pt, % how far the line-numbers are from the code 441ca3442bSMatthias Ringwaldbackgroundcolor=\color{lightgray}, % choose the background color. You must add \usepackage{color} 451ca3442bSMatthias Ringwaldshowspaces=false, % show spaces adding particular underscores 461ca3442bSMatthias Ringwaldshowstringspaces=false, % underline spaces within strings 471ca3442bSMatthias Ringwaldshowtabs=false, % show tabs within strings adding particular underscores 481ca3442bSMatthias Ringwaldframe=single, % adds a frame around the code 491ca3442bSMatthias Ringwaldframerule=0.2pt, 501ca3442bSMatthias Ringwaldtabsize=2, % sets default tabsize to 2 spaces 511ca3442bSMatthias Ringwaldcaptionpos=b, % sets the caption-position to bottom 521ca3442bSMatthias Ringwaldbreaklines=true, % sets automatic line breaking 531ca3442bSMatthias Ringwaldbreakatwhitespace=false, % sets if automatic breaks should only happen at whitespace 541ca3442bSMatthias Ringwaldescapeinside={\%*}{*)}, % if you want to add a comment within your code 551ca3442bSMatthias Ringwaldbelowcaptionskip=5em, 561ca3442bSMatthias Ringwaldaboveskip=\baselineskip, 571ca3442bSMatthias Ringwaldbelowskip=\baselineskip, 581ca3442bSMatthias Ringwaldcommentstyle=\itshape\color{mygreen}, 591ca3442bSMatthias Ringwaldkeywordstyle=\bfseries\color{black}, 601ca3442bSMatthias Ringwaldidentifierstyle=\color{black}, 611ca3442bSMatthias Ringwaldstringstyle=\color{blue}, 62ec820d77SMatthias Ringwaldmorekeywords={*, btstack_timer_source_t, btstack_data_source_t, uint32_t, uint16_t, uint8_t, btstack_run_loop_TYPE, le_command_status_t, gatt_client_t, 63d25c33e5SMatthias Ringwald gatt_client_characteristic_t, gatt_client_service_t, gatt_client_characteristic_descriptor_t, service_record_item_t, bd_addr_t, btstack_packet_handler_t, 64fb55bd0aSMatthias Ringwald hci_cmd_t, btstack_control_t, remote_device_db_t, link_key_t, device_name_t, hci_transport_t, hci_uart_config_t, sdp_query_event_t, 65*7fbb5f59SMatthias Ringwald sdp_query_complete_event_t, sdp_client_query_rfcomm_service_event_t, sdp_parser_event_t, sdp_parser_event_type_t, 661ca3442bSMatthias Ringwald sdp_parser_attribute_value_event_t, sdp_parser_complete_event_t, advertising_report_t, gc_state_t, le_service_event_t, 671ca3442bSMatthias Ringwald le_characteristic_event_t} 681ca3442bSMatthias Ringwald} 691ca3442bSMatthias Ringwald 70688f526fSMatthias Ringwald\newcommand{\versionNr}{1.0} 711ca3442bSMatthias Ringwald\newcommand{\authorMila}{Dr. sc. Milanka Ringwald} 721ca3442bSMatthias Ringwald\newcommand{\authorMatthias}{Dr. sc. Matthias Ringwald} 731ca3442bSMatthias Ringwald\newcommand{\bkContact}{\href{[email protected]}{[email protected]}} 741ca3442bSMatthias Ringwald\newcommand{\barWidth}{0.3cm} 751ca3442bSMatthias Ringwald\newcommand{\urlfoot}[2]{\href{#1}{{\color{blue} #2}}\footnote{#1}} 761ca3442bSMatthias Ringwald 771ca3442bSMatthias Ringwald\makeatletter 781ca3442bSMatthias Ringwald\renewcommand{\maketitle}{ 791ca3442bSMatthias Ringwald \begin{titlepage} 801ca3442bSMatthias Ringwald \fosfamily 811ca3442bSMatthias Ringwald \begin{center} 821ca3442bSMatthias Ringwald \begin{minipage}[b]{\textwidth} 831ca3442bSMatthias Ringwald \begin{minipage}[b]{.1\textwidth} 841ca3442bSMatthias Ringwald \color{bkblue}\rule{\barWidth{}}{22cm} 851ca3442bSMatthias Ringwald \end{minipage} 861ca3442bSMatthias Ringwald \hfill\begin{minipage}[b]{.8\textwidth}\begin{flushright} 871ca3442bSMatthias Ringwald {\color{bkblue} 88c1bdcc24SMatthias Ringwald VERSION \versionNr{} \\ 891ca3442bSMatthias Ringwald \today \\} 901ca3442bSMatthias Ringwald \vspace*{7.5cm} 911ca3442bSMatthias Ringwald \hfill\includegraphics[width=0.85\textwidth]{picts/bklogo.pdf} 921ca3442bSMatthias Ringwald \vspace*{1.5cm} 931ca3442bSMatthias Ringwald \begin{spacing}{2} 941ca3442bSMatthias Ringwald {\huge \color{bkblue} \@title} \\ 951ca3442bSMatthias Ringwald {\Large \color{bklightblue} Including Quickstart Guide} 961ca3442bSMatthias Ringwald \end{spacing} 971ca3442bSMatthias Ringwald \vspace*{1.5cm} 981ca3442bSMatthias Ringwald {\color{bkblue}\large \authorMila \\ 991ca3442bSMatthias Ringwald \large \authorMatthias \\ 1001ca3442bSMatthias Ringwald \large \bkContact\\ } 1011ca3442bSMatthias Ringwald \end{flushright}\end{minipage} 1021ca3442bSMatthias Ringwald \vfill 1031ca3442bSMatthias Ringwald \begin{minipage}[b]{\textwidth} 1041ca3442bSMatthias Ringwald \color{bklightblue}\rule{\barWidth{}}{\barWidth{}} 1051ca3442bSMatthias Ringwald \end{minipage} 1061ca3442bSMatthias Ringwald \end{minipage} 1071ca3442bSMatthias Ringwald 1081ca3442bSMatthias Ringwald 1091ca3442bSMatthias Ringwald \end{center} 1101ca3442bSMatthias Ringwald \end{titlepage} 1111ca3442bSMatthias Ringwald} 1121ca3442bSMatthias Ringwald\makeatother 1131ca3442bSMatthias Ringwald 1141ca3442bSMatthias Ringwald\title[BTstack Manual] {BTstack Manual} 1151ca3442bSMatthias Ringwald\author{Copyright \copyright 2012-2015 BlueKitchen GmbH} 1161ca3442bSMatthias Ringwald 1171ca3442bSMatthias Ringwald%%% BEGIN DOCUMENT 1181ca3442bSMatthias Ringwald 1191ca3442bSMatthias Ringwald\newcommand{\UserGuide}{\urlfoot{http://processors.wiki.ti.com/index.php/PAN1315EMK\_User\_Guide\#RF3\_Connector}{User Guide}{}} 1201ca3442bSMatthias Ringwald\newcommand{\MSPGCCWiki}{\urlfoot{http://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=MSPGCC\_Wiki}{MSPGCC Wiki}} 1211ca3442bSMatthias Ringwald\newcommand{\GNUMake}{\urlfoot{http://gnuwin32.sourceforge.net/packages/make.htm}{GNU Make}} 1221ca3442bSMatthias Ringwald\newcommand{\Python}{\urlfoot{http://www.python.org/getit/}{Python}} 1231ca3442bSMatthias Ringwald\newcommand{\mspgcc}{\urlfoot{http://sourceforge.net/projects/mspgcc/files/Windows/mingw32/}{mspgcc}} 1241ca3442bSMatthias Ringwald\newcommand{\BTSfile}{\urlfoot{http://processors.wiki.ti.com/index.php/CC256x\_Downloads}{BTS file}} 1251ca3442bSMatthias Ringwald\newcommand{\MSPFlasher}{\urlfoot{http://processors.wiki.ti.com/index.php/MSP430\_Flasher\_-\_Command\_Line\_Programmer}{MSP430Flasher}} 1261ca3442bSMatthias Ringwald\newcommand{\MSPDebug}{\urlfoot{http://mspdebug.sourceforge.net/}{MSPDebug}} 1271ca3442bSMatthias Ringwald\newcommand{\BtstackGithub}{\urlfoot{https://github.com/bluekitchen/btstack/archive/master.zip}{BTstack's page}} 1281ca3442bSMatthias Ringwald\newcommand{\gccarm}{\urlfoot{https://launchpad.net/gcc-arm-embedded}{arm-gcc}} 1291ca3442bSMatthias Ringwald\newcommand{\OpenOCD}{\urlfoot{http://openocd.org}{OpenOCD}} 1301ca3442bSMatthias Ringwald\newcommand{\mplabxc}{\urlfoot{http://www.microchip.com/pagehandler/en\_us/devtools/mplabxc/}{MPLAB XC}} 1311ca3442bSMatthias Ringwald\newcommand{\PICkit}{\urlfoot{http://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=pg164130}{PICkit 3}} 1321ca3442bSMatthias Ringwald\newcommand{\pkgconfig}{\urlfoot{http://www.freedesktop.org/wiki/Software/pkg-config/}{pkg-config}} 1331ca3442bSMatthias Ringwald\newcommand{\libusb}{\urlfoot{www.libusb.org}{libusb}} 1341ca3442bSMatthias Ringwald\newcommand{\Zadig}{\urlfoot{http://zadig.akeo.ie}{Zadig}} 1351ca3442bSMatthias Ringwald\newcommand{\MSYS}{\urlfoot{www.mingw.org/wiki/msys}{MSYS}} 1361ca3442bSMatthias Ringwald\newcommand{\MINGW}{\urlfoot{www.mingw.org}{MINGW32}} 1371ca3442bSMatthias Ringwald 1381ca3442bSMatthias Ringwald 1391ca3442bSMatthias Ringwald%level -1: part, 0: chapter, 1: section, etc. 1401ca3442bSMatthias Ringwald\setcounter{tocdepth}{3} 1411ca3442bSMatthias Ringwald 1421ca3442bSMatthias Ringwald\begin{document} 1431ca3442bSMatthias Ringwald 1441ca3442bSMatthias Ringwald\maketitle 1451ca3442bSMatthias Ringwald\hypersetup{linkcolor=blue} 1461ca3442bSMatthias Ringwald\hypersetup{urlcolor=blue} 1471ca3442bSMatthias Ringwald\hypersetup{citecolor=blue} 1481ca3442bSMatthias Ringwald 1491ca3442bSMatthias Ringwald\tableofcontents 1501ca3442bSMatthias Ringwald\pagebreak 1511ca3442bSMatthias Ringwald 1521ca3442bSMatthias Ringwald 1531ca3442bSMatthias Ringwald\input{btstack_final} 1541ca3442bSMatthias Ringwald 1551ca3442bSMatthias Ringwald\end{document}