![]() |
4S Device Communication Module Collection
Version 0.6-SNAPSHOT
Full documentation of the modules in the 4SDC collection (aimed at 4SDC module developers)
|
|
Android PAL bluetooth implementation using the Bluedroid stack. More...
#include "PAL/bluetooth.h"
#include "PAL/android.h"
#include "FSYS/log.h"
#include "FSYS/basemsg.h"
#include "FSYS/msgaddr.h"
#include "FSYS/msgreceiver.h"
#include "FSYS/msgsender.h"
#include <cassert>
#include <condition_variable>
#include <jni.h>
#include <map>
#include <mutex>
#include <queue>
#include <set>
#include <string>
#include <thread>
#include <typeinfo>
#include <memory>
#include <utility>
#include <vector>
Namespaces |
Variables | |
static JniManager * | anonymous_namespace{bluedroid.cpp}::jniMgr = nullptr |
static bool | anonymous_namespace{bluedroid.cpp}::jniNativesRegistered = false |
This file implements the bluetooth PAL module specified in bluetooth.h for the Android platform using the Bluedroid bluetooth stack. Communication with the Java-based stack goes through the Bluedroid.java class.
Currently, only Bluetooth classic is supported, but in the future, also Bluetooth LE (a.k.a. SMART) support should be covered by this implementation.
thread_local
storage is needed.