Read() - What if the characteristic id is a JSON object? #694
Unanswered
dustinHahn
asked this question in
Q&A
Replies: 1 comment
-
Hi @dustinHahn Bluetooth is unrelated to your problem here. What you are demonstrating here is completely about what the browser logs when handed a E.g., this will give the same result (note: there's no call to Bluetooth at all!):
Some browsers do not do a good job rendering a data class like this. You can prove this out by using
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am can connect to a BLE device and need to be able to read/write the characteristics using a UAR_service & URT_TX_SERVICE.
UART_SVC= '6E40001-##############'
UART_TX_SVC = '6E400003-###########'
DEV_POWER = textToDataView('{"deviceSetup":{"power":""}}');
getPowerProp (){
await BleClient.write(deviceId, this.UART_SVC, this.UART.TX_SVC, this.DEV_POWER)
console.log('DEV_POWER', this.DEV_POWER)
}
**the value logged out is ""
Beta Was this translation helpful? Give feedback.
All reactions