RxBle | a wrapper for RxAndroidBle | Wrapper library

 by   JoeSteven Java Version: 1.1.0 License: Apache-2.0

kandi X-RAY | RxBle Summary

kandi X-RAY | RxBle Summary

RxBle is a Java library typically used in Utilities, Wrapper applications. RxBle has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

a wrapper for RxAndroidBle
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              RxBle has a low active ecosystem.
              It has 9 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 0 have been closed. On average issues are closed in 561 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of RxBle is 1.1.0

            kandi-Quality Quality

              RxBle has 0 bugs and 0 code smells.

            kandi-Security Security

              RxBle has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              RxBle code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              RxBle is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              RxBle releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 1887 lines of code, 146 functions and 35 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed RxBle and discovered the below as its top functions. This is intended to give you an instant insight into RxBle implemented functionality, and help decide if they suit your requirements.
            • Click the view
            • Enables bluetooth clients
            • Convert a byte array to a hex string
            • Reads device address and uuid
            • Handles a characteristic
            • Connect to a device
            • Convert a hex representation to a byte array
            • Writes a single characteristic to the device
            • Request permission
            • Checks if a given context has been granted
            • Request dialog
            • Handle the descriptor
            • Writes descriptor
            • Initialize the activity
            • Initializes the view
            • Refresh connection info
            • Adds new connection data to the data set
            • Sets the line and description of the connect view
            • Describe property properties
            • Binds the item at the position of the BindViewHolder at the given position
            • Resume resume check
            • Initializes this activity
            • Generate view holder
            • Initialize the tip
            • Wrap connection
            • Gets the item view type
            Get all kandi verified functions for this library.

            RxBle Key Features

            No Key Features are available at this moment for RxBle.

            RxBle Examples and Code Snippets

            使用
            Javadot img1Lines of Code : 65dot img1License : Permissive (Apache-2.0)
            copy iconCopy
            // 打开log日志
            void enableLog(boolean enable); 
            
            // 获取RxBleClient
            RxBleClient client(); 
            
            // 构造RxBleOperator
            RxBleOperator create();
            
            // 蓝牙是否打开
            boolean isEnable();
            
            // 注册蓝牙状态变化
            PublishSubject registerState();
            
            // Characteristic 是否支持 read,write,notify,ind  
            依赖
            Javadot img2Lines of Code : 9dot img2License : Permissive (Apache-2.0)
            copy iconCopy
            allprojects {
            	repositories {
            		...
            		maven { url 'https://jitpack.io' }
            	}
            }
            
            dependencies {
            	implementation 'com.github.JoeSteven:RxBle:latest-version'
            }
              
            初始化
            Javadot img3Lines of Code : 6dot img3License : Permissive (Apache-2.0)
            copy iconCopy
            RxBle.init(Global.context(), new BlePermissionRequester());
            
                public interface PermissionRequester {
                    void request(PermissionListener listener, String... permissions);
            
                    boolean hasPermission(String... permissions);
                }
              

            Community Discussions

            QUESTION

            Updating Firebase causes RxBLE crash
            Asked 2020-Feb-21 at 16:14

            Okay, so I'm having some very odd behaviour that doesn't make much sense in my app.

            My app uses BLE and I have a static class which I initialize on app launch, this typically works with no issue.

            Today I made a single change in my app which was to update this:

            ...

            ANSWER

            Answered 2020-Feb-21 at 16:14

            So the issue was the version of the rxandroidble library was incompatible with the new firebase messaging.

            When I updated from

            implementation 'com.polidea.rxandroidble:rxandroidble:1.4.3'

            to

            implementation 'com.polidea.rxandroidble:rxandroidble:1.7.1'

            the crash stopped.

            Source https://stackoverflow.com/questions/60210651

            QUESTION

            Problem with file transfer over BLE on Android
            Asked 2020-Feb-06 at 16:19

            I working on transfering files from smartphone to peripheral device over BLE.

            Sending data over BLE is slow (data transfer is being implemented using overwriting one 20 bytes long characterisc). Slow speed is not a problem, because the size of files is really small also (up to 1MB).

            In trivial tests everything works good. As long as I try to run file transfer automatically in a loop (e.g. leave it running over night jsut for test purposes), on device with Bluetooth standard 4.2 after short time Android is spamming following content into Logcat :

            ...

            ANSWER

            Answered 2020-Feb-05 at 15:53

            from Android api level 21 onwards you have the ability to request a larger MTU size from the peripheral device you are sending to as mentioned here. This will allow you to send up to a packet of 517 bytes and this makes your transfer relatively faster than sending oackets of 20 bytes. However this is possible only if your ble device supports a larger MTU size. If you plan to do firmware updates I would suggest both your peripheral device and the smart phone app should use a proper firmware update protocol and that may also depend on the manufacturer of the bluetooth chip used on your peripheral device. Hope this helps.

            Source https://stackoverflow.com/questions/59948173

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install RxBle

            You can download it from GitHub.
            You can use RxBle like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the RxBle component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/JoeSteven/RxBle.git

          • CLI

            gh repo clone JoeSteven/RxBle

          • sshUrl

            git@github.com:JoeSteven/RxBle.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Wrapper Libraries

            jna

            by java-native-access

            node-serialport

            by serialport

            lunchy

            by eddiezane

            ReLinker

            by KeepSafe

            pyserial

            by pyserial

            Try Top Libraries by JoeSteven

            Moring-Alarm

            by JoeStevenJava

            XWebViewAssistant

            by JoeStevenJava

            Cheetah

            by JoeStevenJava

            BiBi

            by JoeStevenJava

            KMP-VideoPlayer

            by JoeStevenKotlin