question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting error code- 128 while writing to characterstic

See original GitHub issue

value = 0xB0010A0 //removing 0x from string becuase below code is not able to convert hex to base64.
const base64String = new Buffer('B0010A0', 'hex').toString('base64'); this.props.writeCharacteristic(deviceId, serviceUUID, charactericticUUID, base64String); after write complete i am getting write fail with -128.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:26 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
shubham0390commented, Jan 20, 2017

@marcosinigaglia Thanks for help and support. everything is working fine now. 👍

1reaction
0xcoaxcommented, Sep 15, 2019

@shubham0390 i’ve seen that you are interested on iqos device, how i can contact you? do you have telegram?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Domain=CBATTErrorDomain Code=128
I'm trying to write commands to the BLE module which operates a hardware. After I write the value to the characteristic in the...
Read more >
Fix Valorant error code 128
Players may face the Valorant error code 128 when trying to start the game. ... Players get a message that reads, “Vanguard not...
Read more >
Code 128/GS1-128 Barcode FAQ & Tutorial
The Code 128 barcode may be complex to use because of the different character sets, which is the primary reason IDAutomation provides the...
Read more >
How to resolve Error 128 (0x08):GATT NO RESOURCES?
I am sending or trying to write character to ble_app_template but its giving error and its not receiving character. this what i am...
Read more >
How to fix valorant error code 128 | vanguard not initialized
Hey everybody in this video I'm showing you How to fix valorant error code 128 | vanguard not initialized. so if you want...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found