@procivis/react-native-one-core
Preparing search index...
BlePeripheral
Interface BlePeripheral
interface
BlePeripheral
{
getCharacteristicWrites
(
device
:
string
,
service
:
string
,
characteristic
:
string
,
)
:
Promise
<
number
[]
[]
>
;
getConnectionChangeEvents
()
:
Promise
<
ConnectionEventBindingEnum
[]
>
;
isAdapterEnabled
()
:
Promise
<
boolean
>
;
isAdvertising
()
:
Promise
<
boolean
>
;
notifyCharacteristicData
(
deviceAddress
:
string
,
service
:
string
,
characteristic
:
string
,
data
:
number
[]
,
)
:
Promise
<
void
>
;
setCharacteristicData
(
service
:
string
,
characteristic
:
string
,
data
:
number
[]
,
)
:
Promise
<
void
>
;
startAdvertisement
(
deviceName
:
undefined
|
string
,
services
:
ServiceDescriptionBindingDto
[]
,
)
:
Promise
<
undefined
|
string
>
;
stopAdvertisement
()
:
Promise
<
void
>
;
stopServer
()
:
Promise
<
void
>
;
waitForCharacteristicRead
(
device
:
string
,
service
:
string
,
characteristic
:
string
,
)
:
Promise
<
void
>
;
}
Index
Methods
get
Characteristic
Writes
get
Connection
Change
Events
is
Adapter
Enabled
is
Advertising
notify
Characteristic
Data
set
Characteristic
Data
start
Advertisement
stop
Advertisement
stop
Server
wait
For
Characteristic
Read
Methods
get
Characteristic
Writes
getCharacteristicWrites
(
device
:
string
,
service
:
string
,
characteristic
:
string
,
)
:
Promise
<
number
[]
[]
>
Parameters
device
:
string
service
:
string
characteristic
:
string
Returns
Promise
<
number
[]
[]
>
get
Connection
Change
Events
getConnectionChangeEvents
()
:
Promise
<
ConnectionEventBindingEnum
[]
>
Returns
Promise
<
ConnectionEventBindingEnum
[]
>
is
Adapter
Enabled
isAdapterEnabled
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
is
Advertising
isAdvertising
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
notify
Characteristic
Data
notifyCharacteristicData
(
deviceAddress
:
string
,
service
:
string
,
characteristic
:
string
,
data
:
number
[]
,
)
:
Promise
<
void
>
Parameters
deviceAddress
:
string
service
:
string
characteristic
:
string
data
:
number
[]
Returns
Promise
<
void
>
set
Characteristic
Data
setCharacteristicData
(
service
:
string
,
characteristic
:
string
,
data
:
number
[]
,
)
:
Promise
<
void
>
Parameters
service
:
string
characteristic
:
string
data
:
number
[]
Returns
Promise
<
void
>
start
Advertisement
startAdvertisement
(
deviceName
:
undefined
|
string
,
services
:
ServiceDescriptionBindingDto
[]
,
)
:
Promise
<
undefined
|
string
>
Parameters
deviceName
:
undefined
|
string
services
:
ServiceDescriptionBindingDto
[]
Returns
Promise
<
undefined
|
string
>
stop
Advertisement
stopAdvertisement
()
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
Server
stopServer
()
:
Promise
<
void
>
Returns
Promise
<
void
>
wait
For
Characteristic
Read
waitForCharacteristicRead
(
device
:
string
,
service
:
string
,
characteristic
:
string
,
)
:
Promise
<
void
>
Parameters
device
:
string
service
:
string
characteristic
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Characteristic
Writes
get
Connection
Change
Events
is
Adapter
Enabled
is
Advertising
notify
Characteristic
Data
set
Characteristic
Data
start
Advertisement
stop
Advertisement
stop
Server
wait
For
Characteristic
Read
@procivis/react-native-one-core
Loading...