Get bt Bluetooth name
Function table: getBtAddrV2
Example
Swift
Cmds.getBtName( ).send { rs in
if case .success(let obj) = rs {
// Success
// obj is String
}else {
// Failure
}
}
Kotlin
Cmds.getBtName().send {
if (it.error.code == 0) {
// Success
// it.res is String
}else {
// Failure
}
}