toggle menu
Kotlin-BLE-Library
androidJvm
switch theme
advertiser
no.
nordicsemi.
android.
kotlin.
ble.
advertiser
Ble
Advertiser
Companion
no.
nordicsemi.
android.
kotlin.
ble.
advertiser.
callback
Ble
Advertising
Event
Ble
Advertising
Status
Companion
UNKNOWN
ADVERTISE_FAILED_ALREADY_STARTED
ADVERTISE_FAILED_DATA_TOO_LARGE
ADVERTISE_FAILED_FEATURE_UNSUPPORTED
ADVERTISE_FAILED_INTERNAL_ERROR
ADVERTISE_FAILED_TOO_MANY_ADVERTISERS
ADVERTISE_SUCCESS
On
Advertising
Data
Set
On
Advertising
Enabled
On
Advertising
Parameters
Updated
On
Advertising
Set
Started
On
Advertising
Set
Stopped
On
Periodic
Advertising
Data
Set
On
Periodic
Advertising
Enabled
On
Periodic
Advertising
Parameters
Updated
On
Scan
Response
Data
Set
no.
nordicsemi.
android.
kotlin.
ble.
advertiser.
error
Advertisement
Not
Started
Exception
Ble
Advertising
Error
Companion
ADVERTISE_FAILED_ALREADY_STARTED
ADVERTISE_FAILED_DATA_TOO_LARGE
ADVERTISE_FAILED_FEATURE_UNSUPPORTED
ADVERTISE_FAILED_INTERNAL_ERROR
ADVERTISE_FAILED_TOO_MANY_ADVERTISERS
app_client
no.
nordicsemi.
android.
kotlin.
ble.
app.
client
Blinky
Destination
Blinky
Destination
Id
Hilt
Application
Hilt
Module
Main
Activity
Scanner
Destination
Scanner
Destination
Id
no.
nordicsemi.
android.
kotlin.
ble.
app.
client.
repository
Blinky
Server
no.
nordicsemi.
android.
kotlin.
ble.
app.
client.
screen.
repository
Blinky
Button
Parser
Blinky
Led
Parser
no.
nordicsemi.
android.
kotlin.
ble.
app.
client.
screen.
view
Blinky
Screen()
Blinky
View
State
Device
View()
to
Display
String()
no.
nordicsemi.
android.
kotlin.
ble.
app.
client.
screen.
viewmodel
Blinky
Specifications
Blinky
View
Model
app_server
no.
nordicsemi.
android.
kotlin.
ble.
server
Advertise
View()
Blinky
Specifications
Hilt
Application
Main
Activity
Main
Screen()
Server
State
Server
View
Model
State
View()
to
Display
String()
client
no.
nordicsemi.
android.
kotlin.
ble.
client.
main.
bonding
Bonding
Broadcast
Receiver
Companion
no.
nordicsemi.
android.
kotlin.
ble.
client.
main.
callback
Client
Ble
Gatt
Companion
no.
nordicsemi.
android.
kotlin.
ble.
client.
main.
service
Client
Ble
Gatt
Characteristic
Client
Ble
Gatt
Descriptor
Client
Ble
Gatt
Service
Client
Ble
Gatt
Services
client-android
no.
nordicsemi.
android.
kotlin.
ble.
client.
real
Client
Ble
Gatt
Callback
Native
Client
Ble
API
client-api
no.
nordicsemi.
android.
kotlin.
ble.
client.
api
Client
Gatt
Event
Bond
State
Changed
Characteristic
Changed
Characteristic
Event
Characteristic
Read
Characteristic
Write
Connection
State
Changed
Descriptor
Event
Descriptor
Read
Descriptor
Write
Mtu
Changed
Phy
Read
Phy
Update
Read
Remote
Rssi
Reliable
Write
Completed
Service
Changed
Service
Event
Services
Discovered
Client
Mutex
Handle
Callback
Gatt
Client
API
client-mock
no.
nordicsemi.
android.
kotlin.
ble.
client.
mock
Ble
Mock
Gatt
core
no.
nordicsemi.
android.
kotlin.
ble.
core
Ble
Device
Client
Device
Mock
Client
Device
Companion
Mock
Server
Device
Real
Client
Device
Real
Server
Device
Server
Device
no.
nordicsemi.
android.
kotlin.
ble.
core.
advertiser
Ble
Advertising
Config
Ble
Advertising
Data
Ble
Advertising
Interval
INTERVAL_LOW
INTERVAL_MEDIUM
INTERVAL_HIGH
Ble
Advertising
Settings
Ble
Tx
Power
Level
TX_POWER_ULTRA_LOW
TX_POWER_LOW
TX_POWER_MEDIUM
TX_POWER_HIGH
Manufacturer
Data
Service
Data
no.
nordicsemi.
android.
kotlin.
ble.
core.
data
Ble
Gatt
Connection
Priority
BALANCED
HIGH
LOW_POWER
DIGITAL_CAR_KEY
Ble
Gatt
Connection
Status
Companion
UNKNOWN
SUCCESS
TERMINATE_LOCAL_HOST
TERMINATE_PEER_USER
LINK_LOSS
NOT_SUPPORTED
CANCELLED
TIMEOUT
Ble
Gatt
Connect
Options
Ble
Gatt
Consts
Ble
Gatt
Operation
Status
Companion
GATT_UNKNOWN
GATT_ERROR
GATT_SUCCESS
GATT_CONNECTION_CONGESTED
GATT_FAILURE
GATT_INSUFFICIENT_AUTHENTICATION
GATT_INSUFFICIENT_ENCRYPTION
GATT_INVALID_ATTRIBUTE_LENGTH
GATT_INVALID_OFFSET
GATT_READ_NOT_PERMITTED
GATT_REQUEST_NOT_SUPPORTED
GATT_WRITE_NOT_PERMITTED
GATT_INSUFFICIENT_AUTHORIZATION
Ble
Gatt
Permission
Companion
PERMISSION_READ
PERMISSION_READ_ENCRYPTED
PERMISSION_READ_ENCRYPTED_MITM
PERMISSION_WRITE
PERMISSION_WRITE_ENCRYPTED
PERMISSION_WRITE_ENCRYPTED_MITM
PERMISSION_WRITE_SIGNED
PERMISSION_WRITE_SIGNED_MITM
Ble
Gatt
Phy
Companion
PHY_LE_1M
PHY_LE_2M
PHY_LE_CODED
Ble
Gatt
Property
Companion
PROPERTY_BROADCAST
PROPERTY_EXTENDED_PROPS
PROPERTY_INDICATE
PROPERTY_NOTIFY
PROPERTY_READ
PROPERTY_SIGNED_WRITE
PROPERTY_WRITE
PROPERTY_WRITE_NO_RESPONSE
Ble
Write
Type
DEFAULT
NO_RESPONSE
SIGNED
Bond
State
Companion
NONE
BONDING
BONDED
Gatt
Connection
State
Companion
STATE_DISCONNECTED
STATE_CONNECTING
STATE_CONNECTED
STATE_DISCONNECTING
Gatt
Connection
State
With
Status
Companion
Mtu
Phy
Info
Phy
Option
Companion
NO_PREFERRED
S2
S8
to
Log
Level()
no.
nordicsemi.
android.
kotlin.
ble.
core.
data.
util
Data
Byte
Array
Companion
Float
Format
FORMAT_FLOAT
FORMAT_SFLOAT
get
Type
Len()
Int
Format
FORMAT_UINT8
FORMAT_UINT16_LE
FORMAT_UINT16_BE
FORMAT_UINT24_LE
FORMAT_UINT24_BE
FORMAT_UINT32_LE
FORMAT_UINT32_BE
FORMAT_SINT8
FORMAT_SINT16_LE
FORMAT_SINT16_BE
FORMAT_SINT24_LE
FORMAT_SINT24_BE
FORMAT_SINT32_LE
FORMAT_SINT32_BE
Long
Format
FORMAT_UINT32_LE
FORMAT_UINT32_BE
FORMAT_SINT32_LE
FORMAT_SINT32_BE
map()
to
Display
String()
Value
Format
FORMAT_UINT8
FORMAT_UINT16
FORMAT_UINT16_LE
FORMAT_UINT16_BE
FORMAT_UINT24
FORMAT_UINT24_LE
FORMAT_UINT24_BE
FORMAT_UINT32
FORMAT_UINT32_LE
FORMAT_UINT32_BE
FORMAT_SINT8
FORMAT_SINT16
FORMAT_SINT16_LE
FORMAT_SINT16_BE
FORMAT_SINT24
FORMAT_SINT24_LE
FORMAT_SINT24_BE
FORMAT_SINT32
FORMAT_SINT32_LE
FORMAT_SINT32_BE
FORMAT_SFLOAT
FORMAT_FLOAT
no.
nordicsemi.
android.
kotlin.
ble.
core.
errors
Device
Disconnected
Exception
Gatt
Exception
Gatt
Operation
Exception
Missing
Property
Exception
Notification
Descriptor
Not
Found
Exception
no.
nordicsemi.
android.
kotlin.
ble.
core.
event
Experimental
Api
Value
Flow
Companion
no.
nordicsemi.
android.
kotlin.
ble.
core.
mapper
Ble
Type
Companion
DATA_TYPE_NONE
DATA_TYPE_FLAGS
DATA_TYPE_SERVICE_UUIDS_16_BIT_PARTIAL
DATA_TYPE_SERVICE_UUIDS_16_BIT_COMPLETE
DATA_TYPE_SERVICE_UUIDS_32_BIT_PARTIAL
DATA_TYPE_SERVICE_UUIDS_32_BIT_COMPLETE
DATA_TYPE_SERVICE_UUIDS_128_BIT_PARTIAL
DATA_TYPE_SERVICE_UUIDS_128_BIT_COMPLETE
DATA_TYPE_LOCAL_NAME_SHORT
DATA_TYPE_LOCAL_NAME_COMPLETE
DATA_TYPE_TX_POWER_LEVEL
DATA_TYPE_CLASS_OF_DEVICE
DATA_TYPE_SIMPLE_PAIRING_HASH_C
DATA_TYPE_SIMPLE_PAIRING_RANDOMIZER_R
DATA_TYPE_DEVICE_ID
DATA_TYPE_SECURITY_MANAGER_OUT_OF_BAND_FLAGS
DATA_TYPE_SLAVE_CONNECTION_INTERVAL_RANGE
DATA_TYPE_SERVICE_SOLICITATION_UUIDS_16_BIT
DATA_TYPE_SERVICE_SOLICITATION_UUIDS_128_BIT
DATA_TYPE_SERVICE_DATA_16_BIT
DATA_TYPE_PUBLIC_TARGET_ADDRESS
DATA_TYPE_RANDOM_TARGET_ADDRESS
DATA_TYPE_APPEARANCE
DATA_TYPE_ADVERTISING_INTERVAL
DATA_TYPE_LE_BLUETOOTH_DEVICE_ADDRESS
DATA_TYPE_LE_ROLE
DATA_TYPE_SIMPLE_PAIRING_HASH_C_256
DATA_TYPE_SIMPLE_PAIRING_RANDOMIZER_R_256
DATA_TYPE_SERVICE_SOLICITATION_UUIDS_32_BIT
DATA_TYPE_SERVICE_DATA_32_BIT
DATA_TYPE_SERVICE_DATA_128_BIT
DATA_TYPE_LE_SECURE_CONNECTIONS_CONFIRMATION_VALUE
DATA_TYPE_LE_SECURE_CONNECTIONS_RANDOM_VALUE
DATA_TYPE_URI
DATA_TYPE_INDOOR_POSITIONING
DATA_TYPE_TRANSPORT_DISCOVERY_DATA
DATA_TYPE_LE_SUPPORTED_FEATURES
DATA_TYPE_CHANNEL_MAP_UPDATE_INDICATION
DATA_TYPE_PB_ADV
DATA_TYPE_MESH_MESSAGE
DATA_TYPE_MESH_BEACON
DATA_TYPE_BIG_INFO
DATA_TYPE_BROADCAST_CODE
DATA_TYPE_RESOLVABLE_SET_IDENTIFIER
DATA_TYPE_ADVERTISING_INTERVAL_LONG
DATA_TYPE_3D_INFORMATION_DATA
DATA_TYPE_MANUFACTURER_SPECIFIC_DATA
Scan
Record
Serializer
no.
nordicsemi.
android.
kotlin.
ble.
core.
mutex
Mutex
Wrapper
Requested
Locked
Feature
CONNECTION
BONDING
MTU
PHY_READ
PHY_UPDATE
READ_REMOTE_RSSI
DESCRIPTOR_WRITE
DESCRIPTOR_READ
CHARACTERISTIC_WRITE
CHARACTERISTIC_READ
SERVICES_DISCOVERED
Shared
Mutex
Wrapper
no.
nordicsemi.
android.
kotlin.
ble.
core.
provider
Connection
Provider
no.
nordicsemi.
android.
kotlin.
ble.
core.
scanner
Advertising
Data
Type
With
Data
Ble
Gatt
Primary
Phy
Companion
PHY_LE_1M
PHY_LE_CODED
Ble
Num
Of
Matches
MATCH_NUM_ONE_ADVERTISEMENT
MATCH_NUM_FEW_ADVERTISEMENT
MATCH_NUM_MAX_ADVERTISEMENT
Ble
Scan
Data
Status
Companion
DATA_COMPLETE
DATA_TRUNCATED
Ble
Scan
Filter
Ble
Scan
Mode
SCAN_MODE_OPPORTUNISTIC
SCAN_MODE_LOW_POWER
SCAN_MODE_BALANCED
SCAN_MODE_LOW_LATENCY
Ble
Scanner
Callback
Type
CALLBACK_TYPE_ALL_MATCHES
CALLBACK_TYPE_FIRST_MATCH
CALLBACK_TYPE_MATCH_LOST
Ble
Scanner
Match
Mode
MATCH_MODE_AGGRESSIVE
MATCH_MODE_STICKY
Ble
Scanner
Phy
PHY_LE_1M
PHY_LE_CODED
PHY_LE_ALL_SUPPORTED
Ble
Scanner
Settings
Ble
Scan
Record
Ble
Scan
Result
Ble
Scan
Result
Data
Ble
Scan
Results
Filtered
Manufacturer
Data
Filtered
Service
Data
Filtered
Service
Solicitation
Uuid
Filtered
Service
Uuid
no.
nordicsemi.
android.
kotlin.
ble.
core.
wrapper
IBluetooth
Gatt
Characteristic
IBluetooth
Gatt
Descriptor
IBluetooth
Gatt
Service
Mock
Bluetooth
Gatt
Characteristic
Mock
Bluetooth
Gatt
Descriptor
Mock
Bluetooth
Gatt
Service
Native
Bluetooth
Gatt
Characteristic
Native
Bluetooth
Gatt
Descriptor
Native
Bluetooth
Gatt
Service
mock
no.
nordicsemi.
android.
kotlin.
ble.
mock
Mock
Devices
Mock
Engine
Opened
Server
profile
no.
nordicsemi.
android.
kotlin.
ble.
profile.
battery
Battery
Level
Parser
no.
nordicsemi.
android.
kotlin.
ble.
profile.
bps
Blood
Pressure
Measurement
Parser
Intermediate
Cuff
Pressure
Parser
no.
nordicsemi.
android.
kotlin.
ble.
profile.
bps.
data
Blood
Pressure
Measurement
Data
Blood
Pressure
Type
UNIT_MMHG
UNIT_KPA
BPMStatus
Intermediate
Cuff
Pressure
Data
no.
nordicsemi.
android.
kotlin.
ble.
profile.
cgm
CGMFeature
Parser
CGMMeasurement
Parser
CGMSpecific
Ops
Control
Point
Parser
CGMStatus
Parser
no.
nordicsemi.
android.
kotlin.
ble.
profile.
cgm.
data
CGMCalibration
Status
CGMError
Code
Companion
CGM_ERROR_OP_CODE_NOT_SUPPORTED
CGM_ERROR_INVALID_OPERAND
CGM_ERROR_PROCEDURE_NOT_COMPLETED
CGM_ERROR_PARAMETER_OUT_OF_RANGE
CGMFeatures
CGMFeatures
Envelope
CGMOp
Code
Companion
CGM_OP_CODE_SET_COMMUNICATION_INTERVAL
CGM_OP_CODE_SET_CALIBRATION_VALUE
CGM_OP_CODE_SET_PATIENT_HIGH_ALERT_LEVEL
CGM_OP_CODE_SET_PATIENT_LOW_ALERT_LEVEL
CGM_OP_CODE_SET_HYPO_ALERT_LEVEL
CGM_OP_CODE_SET_HYPER_ALERT_LEVEL
CGM_OP_CODE_SET_RATE_OF_DECREASE_ALERT_LEVEL
CGM_OP_CODE_SET_RATE_OF_INCREASE_ALERT_LEVEL
CGM_OP_CODE_RESET_DEVICE_SPECIFIC_ERROR
CGM_OP_CODE_START_SESSION
CGM_OP_CODE_STOP_SESSION
CGMRecord
CGMSpecific
Ops
Control
Point
Data
CGMStatus
CGMStatus
Envelope
no.
nordicsemi.
android.
kotlin.
ble.
profile.
common
CRC16
Mutable
Data
Companion
no.
nordicsemi.
android.
kotlin.
ble.
profile.
csc
CSCData
Parser
no.
nordicsemi.
android.
kotlin.
ble.
profile.
csc.
data
CSCData
Wheel
Size
Wheel
Sizes
no.
nordicsemi.
android.
kotlin.
ble.
profile.
gls
CGMSpecific
Ops
Control
Point
Data
Parser
Glucose
Measurement
Context
Parser
Glucose
Measurement
Parser
Record
Access
Control
Point
Input
Parser
Filter
Type
TIME_OFFSET
SEQUENCE_NUMBER
USER_FACING_TIME
Record
Access
Control
Point
Parser
no.
nordicsemi.
android.
kotlin.
ble.
profile.
gls.
data
Carbohydrate
Companion
RESERVED
BREAKFAST
LUNCH
DINNER
SNACK
DRINK
SUPPER
BRUNCH
Concentration
Unit
Companion
UNIT_KGPL
UNIT_MOLPL
GLSMeasurement
Context
GLSRecord
Glucose
Measurement
Unit
UNIT_mol_L
UNIT_kg_L
Glucose
Status
Health
Companion
RESERVED
MINOR_HEALTH_ISSUES
MAJOR_HEALTH_ISSUES
DURING_MENSES
UNDER_STRESS
NO_HEALTH_ISSUES
NOT_AVAILABLE
Meal
Companion
RESERVED
PREPRANDIAL
POSTPRANDIAL
FASTING
CASUAL
BEDTIME
Medication
Companion
RESERVED
RAPID_ACTING_INSULIN
SHORT_ACTING_INSULIN
INTERMEDIATE_ACTING_INSULIN
LONG_ACTING_INSULIN
PRE_MIXED_INSULIN
Medication
Unit
Companion
UNIT_MG
UNIT_ML
Number
Of
Records
Data
Record
Access
Control
Point
Data
Record
Type
Companion
CAPILLARY_WHOLE_BLOOD
CAPILLARY_PLASMA
VENOUS_WHOLE_BLOOD
VENOUS_PLASMA
ARTERIAL_WHOLE_BLOOD
ARTERIAL_PLASMA
UNDETERMINED_WHOLE_BLOOD
UNDETERMINED_PLASMA
INTERSTITIAL_FLUID
CONTROL_SOLUTION
Request
Status
IDLE
PENDING
SUCCESS
ABORTED
FAILED
NOT_SUPPORTED
Response
Data
Sample
Location
Companion
FINGER
AST
EARLOBE
CONTROL_SOLUTION
NOT_AVAILABLE
Tester
Companion
RESERVED
SELF
HEALTH_CARE_PROFESSIONAL
LAB_TEST
NOT_AVAILABLE
no.
nordicsemi.
android.
kotlin.
ble.
profile.
hrs
Body
Sensor
Location
Parser
HRSData
Parser
no.
nordicsemi.
android.
kotlin.
ble.
profile.
hrs.
data
HRSData
no.
nordicsemi.
android.
kotlin.
ble.
profile.
hts
HTSData
Parser
no.
nordicsemi.
android.
kotlin.
ble.
profile.
hts.
data
HTSData
Temperature
Unit
Companion
CELSIUS
FAHRENHEIT
no.
nordicsemi.
android.
kotlin.
ble.
profile.
prx
Alarm
Level
Companion
NONE
MEDIUM
HIGH
Alarm
Level
Parser
Alert
Level
Input
Parser
PRXData
no.
nordicsemi.
android.
kotlin.
ble.
profile.
racp
RACPOp
Code
Companion
RACP_OP_CODE_REPORT_STORED_RECORDS
RACP_OP_CODE_DELETE_STORED_RECORDS
RACP_OP_CODE_ABORT_OPERATION
RACP_OP_CODE_REPORT_NUMBER_OF_RECORDS
RACPResponse
Code
Companion
RACP_RESPONSE_SUCCESS
RACP_ERROR_OP_CODE_NOT_SUPPORTED
RACP_ERROR_INVALID_OPERATOR
RACP_ERROR_OPERATOR_NOT_SUPPORTED
RACP_ERROR_INVALID_OPERAND
RACP_ERROR_NO_RECORDS_FOUND
RACP_ERROR_ABORT_UNSUCCESSFUL
RACP_ERROR_PROCEDURE_NOT_COMPLETED
RACP_ERROR_OPERAND_NOT_SUPPORTED
no.
nordicsemi.
android.
kotlin.
ble.
profile.
rscs
RSCSData
Parser
no.
nordicsemi.
android.
kotlin.
ble.
profile.
rscs.
data
RSCSData
scanner
no.
nordicsemi.
android.
kotlin.
ble.
scanner
Ble
Scanner
no.
nordicsemi.
android.
kotlin.
ble.
scanner.
aggregator
Ble
Scan
Result
Aggregator
no.
nordicsemi.
android.
kotlin.
ble.
scanner.
errors
Scan
Failed
Error
Companion
UNKNOWN
SCAN_FAILED_ALREADY_STARTED
SCAN_FAILED_APPLICATION_REGISTRATION_FAILED
SCAN_FAILED_FEATURE_UNSUPPORTED
SCAN_FAILED_INTERNAL_ERROR
SCAN_FAILED_OUT_OF_HARDWARE_RESOURCES
SCAN_FAILED_SCANNING_TOO_FREQUENTLY
Scanning
Failed
Exception
server
no.
nordicsemi.
android.
kotlin.
ble.
server.
main
Server
Ble
Gatt
Companion
Server
Connection
Event
Device
Connected
Device
Disconnected
no.
nordicsemi.
android.
kotlin.
ble.
server.
main.
data
Server
Connection
Option
no.
nordicsemi.
android.
kotlin.
ble.
server.
main.
service
Bluetooth
Gatt
Service
Factory
Server
Ble
Gatt
Characteristic
Server
Ble
Gatt
Characteristic
Config
Server
Ble
Gatt
Descriptor
Server
Ble
Gatt
Descriptor
Config
Server
Ble
Gatt
Service
Server
Ble
Gatt
Service
Config
Server
Ble
Gatt
Services
Server
Ble
Gatt
Service
Type
SERVICE_TYPE_PRIMARY
SERVICE_TYPE_SECONDARY
Server
Bluetooth
Gatt
Connection
server-android
no.
nordicsemi.
android.
kotlin.
ble.
server.
real
Native
Server
Ble
API
Companion
Server
Ble
Gatt
Callback
server-api
no.
nordicsemi.
android.
kotlin.
ble.
server.
api
Gatt
Server
API
Server
Gatt
Event
Characteristic
Event
Characteristic
Read
Request
Characteristic
Write
Request
Client
Connection
State
Changed
Descriptor
Event
Descriptor
Read
Request
Descriptor
Write
Request
Execute
Write
Gatt
Client
Connection
Event
Notification
Sent
Server
Mtu
Changed
Server
Phy
Read
Server
Phy
Update
Service
Added
Service
Event
server-mock
no.
nordicsemi.
android.
kotlin.
ble.
server.
mock
Mock
Server
API
server
/
no.nordicsemi.android.kotlin.ble.server.main
/
ServerBleGatt
/
cancelConnection
cancel
Connection
fun
cancelConnection
(
device
:
ClientDevice
)
Cancels connection with a particular device.
Parameters
device
A client device.