pub fn server_notify(
env: Env,
server: JObject,
device: JObject,
characteristic: JObject,
confirm: bool,
value: &[u8],
) -> Result<bool, Error>Expand description
Push a value to one subscriber.
API 33 takes the bytes directly and returns a status; older releases want the value set on the characteristic first. Both are tried, newest first.