Skip to content

Shelnutt2/BandDetection

Repository files navigation

Band Detection Build Status Coverage Status

This library is designed for rooted qualcomm android devices.

This library is experimental and is missing all safety checks. Use this at your own risk.

Documentation

Java docs are available here: http://shelnutt2.github.io/BandDetection/

Usage

This library requires root and uses RootTools for access.

Include this in your gradle dependencies

compile 'nu.shel.banddetection:banddetection:0.9.0'

To get the band call the static function BandDetection.DetectBand. This will find the modem serial device, get earfcn and translate it to a band object.

LTEBand currentBand = BandDetection.DetectBand();

Advanced Usage

This library also provides a way to run raw commands on the modem.

// Create new modem object
Modem mModem = new Modem();
// Run "AT" serial command and get output in ArrayList of each line.
ArrayList<String> output = mModem.RunModemCommand("AT");

About

Detect LTE band for Qualcomm Android Devices

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages