When obniz is used as a BLE peripheral, other devices connect the obniz device via BLE and read or write values. The value can be rewritten by the device via BLE if it has write permission, or change by itself. However, just change the value is not enough and use Notify to tell the other party that the value has changed.
You can use the characteristic.notify() function to notify the connected device that a characteristic value has changed. The characteristics must have a property that allows Notify to be sent. To be specific, "notify" is necessary in property, and CCCD in descriptor. You have to set the CCCD in the descriptor item as follows when creating characteristics. It is also necessary that the connected party subscribe to receive the notify.