apps/bleprph: Make device name configurable

This commit is contained in:
Andrzej Kaczmarek
2019-07-29 10:58:32 +02:00
parent 708d3b30ea
commit 0c0910b398
2 changed files with 2 additions and 4 deletions
-4
View File
@@ -323,10 +323,6 @@ main(void)
rc = gatt_svr_init();
assert(rc == 0);
/* Set the default device name. */
rc = ble_svc_gap_device_name_set("nimble-bleprph");
assert(rc == 0);
#if MYNEWT_VAL(BLE_SVC_DIS_FIRMWARE_REVISION_READ_PERM) >= 0
/* Set firmware version in DIS */
imgr_my_version(&ver);
+2
View File
@@ -64,3 +64,5 @@ syscfg.vals:
# values.
MSYS_1_BLOCK_COUNT: 22
MSYS_1_BLOCK_SIZE: 110
BLE_SVC_GAP_DEVICE_NAME: '"nimble-bleprph"'