GithubHelp home page GithubHelp logo

Comments (8)

dariuszseweryn avatar dariuszseweryn commented on July 20, 2024

Hello,
Your post lacks actionable information. I cannot help you unless you will provide more information.
What you have tried till now? What the peripheral you communicate with expects? Is there any encoding involved? Is there any ACK signal from the peripheral?

from rxandroidble.

Jatindersyall12 avatar Jatindersyall12 commented on July 20, 2024

Hey @dariuszseweryn

I am using your's LongWriteExampleActivity and try to send the large data in two devices. I am passing static DUMMY_DEVICE_ADDRESS of other android device.

Can you tell me the steps if I am following wrong. I am directly open your's activity "LongWriteExampleActivity" from mainfest file.

from rxandroidble.

dariuszseweryn avatar dariuszseweryn commented on July 20, 2024

Can you tell me the steps if I am following wrong

To be honest, I cannot. You did not provided any steps you took apart of (what I interpret as) setting peripheral's device address.
There is no info about if there is a BLE server running on the peripheral nor if there are any services/characteristics specified. LongWriteExampleActivity has some assumptions as it is described in the Javadoc.

from rxandroidble.

Jatindersyall12 avatar Jatindersyall12 commented on July 20, 2024

Can you tell me please how I can see the Working code of LongWriteExampleActivity ?
In the codebase there is no method, from there the LongWriteExampleActivity is called.
What steps I need to follow.

@dariuszseweryn

from rxandroidble.

dariuszseweryn avatar dariuszseweryn commented on July 20, 2024

There are two classes named like that in this repository. I don't know which sample app you used.

from rxandroidble.

Jatindersyall12 avatar Jatindersyall12 commented on July 20, 2024

@dariuszseweryn Yes I am using this class. Can you tell me what I need to do to use this class. I am directly open this class from mainfest when my app loads.

Can you tell me from where I can call this class to see working code ?

What I need to replace under my DUMMY_DEVICE_ADDRESS?. Right Now I am placing the address of another android phone.

Can you provide me any documentation on it?

from rxandroidble.

dariuszseweryn avatar dariuszseweryn commented on July 20, 2024

I believe there are comments and Javadocs in related classes — no?

I cannot tell you what exactly needs to be done since you have not provided any information about the server implementation.

High level description of what you need is that you create BluetoothGattServer that will be your peripheral. On the server you need to declare characteristics that will receive the data. Then you need to scan the server and send the data to declared characteristic. Depending on the server implementation you will need to use ACK notifications or not.

from rxandroidble.

dariuszseweryn avatar dariuszseweryn commented on July 20, 2024

Closing due to lack of information and inactivity of the original poster.

When more data will be available—feel free to add that information and reopen this issue.

Best Regards

from rxandroidble.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.