Return Values of Methods

The return values of methods are below.

get_adapter( )

Retun Value

scan( )

Return Value: The following are returned to specified scan_callback

connect()

Return Value: The following are returned to specified connect_callback

discover_services( )

Return value: The following are returned to specified service_callback

Other cases:{"message": "description of failure"}

read_characteristic( )

Return value:

write_characteristic( )

Return value:

set_char_notif_or_indication( )

Return value: The following are returned to specified notif_callback