Object function reference

read_notification

A reference entry for read_notification

Object function · BluetoothDevice

read_notification([, number timeout_milliseconds]) ⇒ map

Waits for the next notification and returns a map containing service, characteristic, and data. The timeout is in milliseconds, defaults to the native wait behaviour, and must be between 0 and 3,600,000.