Ability to writeWithoutResponse?

Ask, and ye shall receive.
dmf303
Posts: 2
Joined: 00:18, 07 Jul 2015

Ability to writeWithoutResponse?

Postby dmf303 » 00:22, 07 Jul 2015

I'm looking to be able to increase my throughput on some transfers by writing from the ipad using the write characteristic without response call. The nRF hardware side is being developed in mbed which supports this but I dont see a writeWithoutResponse function in the easyble.js library. I did bump into this function in the cordova port of the library I believe so I'm just wondering if its something that hasn't made it into the .js version of the library or am I missing something.

Thanks!

Fredrik
Site Admin
Posts: 196
Joined: 15:00, 18 Nov 2013

Re: Ability to writeWithoutResponse?

Postby Fredrik » 15:45, 21 Jul 2015

easyble.js depends on the cordova-ble plugin, which lacks the function you require. I've added issue #72.

Fredrik
Site Admin
Posts: 196
Joined: 15:00, 18 Nov 2013

Re: Ability to writeWithoutResponse?

Postby Fredrik » 15:29, 24 Jul 2015

When trying to implement on iOS, I saw that it was already half done. See the code here. If your characteristic is advertised as write-without-response-only, then writeCharacteristic() will automatically do what you want.

dmf303
Posts: 2
Joined: 00:18, 07 Jul 2015

Re: Ability to writeWithoutResponse?

Postby dmf303 » 18:34, 24 Jul 2015

Interesting, I'll have to test if this is correctly detecting my writewithoutresponse characteristics, I'll report back if I can confirm anything.


Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 14 guests