mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-02 01:38:19 +00:00
1. CONFIG_BT_DEVICE_NAME_GATT_WRITABLE=y removed. The default GAP Device Name write permission is plain BT_GATT_PERM_WRITE — no bonding required (Zephyr gap_svc.c:158). Any connected peer (bonded or not) could rename the device. Worse, a GAP write updates bt_get_name() but NOT prefs.node_name, so the advertised name wouldn't track the renamed value. Rename now flows exclusively through CMD_SET_ADVERT_NAME, which is NUS-protected (AUTHEN required) and properly propagates via zephcore_ble_update_name() to prefs + GATT + adv data. 2. CONFIG_BT_DIS_FW_REV_STR synced from "1.13.0" to "v1.15.1-zephyr" to match CompanionMesh.cpp CMD_DEVICE_QUERY's version string. Comment added requiring the two to stay in sync.