summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/dbt_peripheral00.cpp2
-rw-r--r--examples/java/DBTPeripheral00.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/dbt_peripheral00.cpp b/examples/dbt_peripheral00.cpp
index 1d8c0d84..e8be95e9 100644
--- a/examples/dbt_peripheral00.cpp
+++ b/examples/dbt_peripheral00.cpp
@@ -103,7 +103,7 @@ DBGattServerRef dbGattServer( new DBGattServer(
std::make_shared<DBGattChar>( std::make_unique<const jau::uuid16_t>(GattCharacteristicType::DEVICE_NAME) /* value_type_ */,
BTGattChar::PropertyBitVal::Read,
jau::darray<DBGattDescRef>() /* intentionally empty */,
- make_poctets("Synthethic Sensor 01") /* value */ ),
+ make_poctets(adapter_name.c_str()) /* value */ ),
std::make_shared<DBGattChar>( std::make_unique<const jau::uuid16_t>(GattCharacteristicType::APPEARANCE) /* value_type_ */,
BTGattChar::PropertyBitVal::Read,
jau::darray<DBGattDescRef>() /* intentionally empty */,
diff --git a/examples/java/DBTPeripheral00.java b/examples/java/DBTPeripheral00.java
index a8fd4bfd..49f01cfc 100644
--- a/examples/java/DBTPeripheral00.java
+++ b/examples/java/DBTPeripheral00.java
@@ -144,7 +144,7 @@ public class DBTPeripheral00 {
new DBGattChar( DBGattChar.UUID16.DEVICE_NAME /* value_type_ */,
new GattCharPropertySet(GattCharPropertySet.Type.Read),
new ArrayList<DBGattDesc>(/* intentionally w/o Desc */ ),
- make_gvalue("Synthethic Sensor 01") /* value */ ),
+ make_gvalue(adapter_name) /* value */ ),
new DBGattChar( DBGattChar.UUID16.APPEARANCE /* value_type_ */,
new GattCharPropertySet(GattCharPropertySet.Type.Read),
new ArrayList<DBGattDesc>(/* intentionally w/o Desc */ ),