Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 13:59
    assafb81 opened #310
  • Jan 30 15:16
    vladiulianbogdan edited #309
  • Jan 30 15:09
    vladiulianbogdan edited #309
  • Jan 30 15:07
    vladiulianbogdan opened #309
  • Jan 27 20:18
    FedericoSub opened #308
  • Jan 22 19:57
    philfi opened #307
  • Jan 21 23:15
    siavashalipour edited #306
  • Jan 21 23:05
    siavashalipour opened #306
  • Jan 18 18:46

    minixT on rxswift_update

    (compare)

  • Jan 18 18:45

    minixT on master

    Swift 4.2 + RxSwift 4.4 (#305) … (compare)

  • Jan 18 18:45
    minixT closed #305
  • Jan 18 17:24
    minixT opened #305
  • Jan 18 17:18

    minixT on rxswift_update

    Updated swift to version 4.2 (compare)

  • Jan 18 17:08

    minixT on rxswift_update

    Updated travis configuration to… (compare)

  • Jan 18 17:04

    minixT on rxswift_update

    Updated RxSwift to version 4.4.0 (compare)

  • Dec 12 2018 09:16
    rameswar54 edited #303
  • Dec 12 2018 09:16
    rameswar54 opened #303
  • Nov 27 2018 07:44
    marcmo opened #302
  • Nov 22 2018 15:26
    yingzhang524 closed #300
  • Nov 22 2018 14:10

    bartoszstelmaszuk on clearCache

    wip (compare)

Gabe
@GabrieleNardi
Hi guys, I wanted to now the best way to persist an Observable(Disposable or something) of my connection, so i can doing stuff in separate controllers keeping the same instance of connection and then dispose it.
Any ideas?
Dariusz Seweryn
@dariuszseweryn
You can create your own abstraction layer
Gabe
@GabrieleNardi
Ye but how can I persist it?
I think i have to persist the Observable<Peripheral> coming from the establishConnection() method. Isn't it correct?
massimodeluisa
@massimodeluisa

Ye but how can I persist it?
I think i have to persist the Observable<Peripheral> coming from the establishConnection() method. Isn't it correct?

+1

Oliver Mueller
@marcmo
Hello @paweljaneczek , trying to get some discussion about the issue I raised here Polidea/RxBluetoothKit#302 . still having problems with memory leaks using your library.
dmaslowski
@dmaslowski
I have a question about the migration guide from 4.x to 5.x is this the best place to ask it? It's more in regards to a typo in the notes about setNotifyValue which is leading to some confusion.
Dariusz Seweryn
@dariuszseweryn
You can ask it here I suppose
dmaslowski
@dmaslowski

I think I have figured it out, but about notifyvalues being removed, the comment says

"From now on is seting notificaiton on subscription and unseting it on disposing. In addition it is possible to set more observables for same characteristic - it will work in a way that dispose will only happen when there are no observables for characteristic."

observeValueUpdateAndSetNotification still needs to be called if you want to listen for value updates right?
the quoted comment about it makes it sounds like any subscription to an observable will listen for value updates.
Dariusz Seweryn
@dariuszseweryn
That's right
dmaslowski
@dmaslowski
Thank you for responding, but which is right? That you need to call observeValueUpdateAndSetNotification to listen for value updates?
OR that any subscription to an observable will listen for value updates, until it is disposed?
Dariusz Seweryn
@dariuszseweryn

Sorry,

the quoted comment about it makes it sounds like any subscription to an observable will listen for value updates.

^ that's right

dmaslowski
@dmaslowski
gotcha, so then what is the point of having observeValueUpdateAndSetNotification
if any subscribe call will automatically do that?
or am I misunderstanding something
Dariusz Seweryn
@dariuszseweryn
any subscribe to observeValueUpdateAndSetNotification will start listening
I am not really sure what you are asking about
I am leaving the office — will respond Tomorrow probably
dmaslowski
@dmaslowski

Sorry, I am probably not being very clear. Again thanks for responding. Let me rephrase. The quoted comment makes it sounds like any subscription to a Characteristic for example, a simple read will then also listen for updates.

But I believe that what you are saying is that any subscriptions to an observable calling observeValueUpdateAndSetNotification will listen for updates, and that a normal read wouldn't

The comment I quoted just sounded like it applied to every subscription of an observable.
Hopefully this clears things up.
Dariusz Seweryn
@dariuszseweryn
notifications -> observeValueUpdateAndSetNotification
read -> readCharacteristic (or something like that, I do not remember the exact API)
dmaslowski
@dmaslowski
Thanks, that clears it up. The comment made me think that read -> readCharacteristic, would also set a notify until it gets disposed.
And always be listening for updates
But after our discussion its clear thats not the case.
rafalmodrzynski
@rafalmodrzynski
Hi, can I use RxBluetootKit in objective-c project ?
Dariusz Seweryn
@dariuszseweryn
@rafalmodrzynski AFAIK it is possible to call Swift from ObjC if you would write a bridging header
rafalmodrzynski
@rafalmodrzynski
Ok , I will try
mink-lparrouy
@mink-lparrouy

Hi everybody,

I wonder if there is a way to create a Peripheral from an uuid in order to connect to the device without scanning devices ?

I save the uuid in CoreData and when the user kill and open the app again I want to perform an "auto connect".

Thank you for your response

MichaelKuzmenko
@MichaelKuzmenko
Hi everybody, Does RxBluetoothKit support mock hardware like RxAndroidBle RxBleClientMock class?
krutitrivedi
@krutitrivedi
hi, i'm very new to bluetooth low energy can you please explain me from where i can start, like importing files any delegates call. i take a look of example but i don't understand anything i want to pass data from central to peripheral
Dariusz Seweryn
@dariuszseweryn
@mink-lparrouy there should be such a way
@MichaelKuzmenko no, there is no such support
@krutitrivedi If you do not understand anything then I suppose you could start with reading about RxSwift and/or Bluetooth Low Energy
krutitrivedi
@krutitrivedi
RxAndroidBLE and RxBluetoothKit both are behave same because i want to develop BLE in both platform?
Dariusz Seweryn
@dariuszseweryn
They have the same concept but may differ slightly due to platform differences
krutitrivedi
@krutitrivedi
do you have peripheral side code because i also want to develop application that catch data send from central side
krutitrivedi
@krutitrivedi
@dariuszseweryn can we send data to different os device like ios app as a central and android app is periheral
Dariusz Seweryn
@dariuszseweryn
y
krutitrivedi
@krutitrivedi
@dariuszseweryn my client has requirement that i can send data from RxAndroidBLE to RxBluetoothKit and Vice versa.
Dariusz Seweryn
@dariuszseweryn
Actually it has to be the other way around iOS is a peripheral and Android is a central if you want to use RxBluetoothKit and RxAndroidBle
MichaelKuzmenko
@MichaelKuzmenko
@dariuszseweryn
Dariusz Seweryn
@dariuszseweryn
@MichaelKuzmenko
rbrose
@rbrose
How i can disconnect from an peripheral?
I'm discover an peripheral with peripheral.discoverServices.asObservable().subscribe(onNext: { ... and must disconnect here.
Dariusz Seweryn
@dariuszseweryn
It is described on the Wiki near connecting
Johannes Dwiartanto
@tantotea
Hi, I am new to RxBluetoothKit, I need to do connection when the app (iOS) is in the background. Is there a sample project or documentation I could refer to? Thanks in advance.
Martin WIRTH
@martiwi
Hi here, I'm using 5.2.1 version, and writing on characteristic with .withReponse type but when gatt server is returning a 0x11 error back I still receive a onSuccess and not a onError. Any idea why?
Felipe Gomez
@fiatdv
Hi guys, I just downloaded the example app and connected to the peripheral, but when I try to change Notify value or Write a Value it gives me: "Authentication is insufficient" ... any ideas?
Dariusz Seweryn
@dariuszseweryn
Bonding?