This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to update BLE device name in ios swift !

I would like to update ble device name from device1 to user2. How i can do this in swift language . i m atrung to update by ios app.

is below way is right? but not able to update

let hexData = "user2"?.dataFromHexString()

peripheral.writeValue(data, forCharacteristic: characteric, type: CBCharacteristicWriteType.WithResponse)

Parents Reply Children
No Data
Related