Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Go to the documentation of this file.
42 if(
nullptr != jAddressType ) {
54 switch( bdAddressType ) {
std::string from_jstring_to_string(JNIEnv *env, jstring str)
jstring from_string_to_jstring(JNIEnv *env, const std::string &str)
jstring fromBDAddressTypeToJavaAddressType(JNIEnv *env, BDAddressType bdAddressType)
DirectBTJNISettings directBTJNISettings
static std::string jAddressTypeRandom("random")
static std::string jStringEmpty("")
BDAddressType fromJavaAdressTypeToBDAddressType(JNIEnv *env, jstring jAddressType)
BDAddressType
BT Core Spec v5.2: Vol 3, Part C Generic Access Profile (GAP): 15.1.1.1 Public Bluetooth address.
@ BDADDR_LE_RANDOM
Bluetooth LE random address, see BLERandomAddressType.
static std::string jAddressTypePublic("public")
@ BDADDR_LE_PUBLIC
Bluetooth LE public address.
@ BDADDR_BREDR
Bluetooth BREDR address.