Android-Nordic-Thingy | Android SDK and sample application for Nordic Thingy:52 | SDK library
kandi X-RAY | Android-Nordic-Thingy Summary
kandi X-RAY | Android-Nordic-Thingy Summary
Android SDK and sample application for Nordic Thingy:52
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize view
- Update the image view
- Setup the led mode
- Sets the color of the led
- Send a characteristic to the Firmata characteristic
- Decode an ADPC message
- Adds a new frame packet
- Initializes the instance
- On step 2
- Create the fragment dialog
- Inject the fragment
- Called when a connection is connected
- Get a view at a specific position
- Handle touch event
- Create an alert dialog
- Create dialog
- Creates an alert dialog
- Invoked when the fragment is created
- Initializes the view
- Create a new fragment dialog
- Create alert dialog
- Called when a service is discovered
- Create the view which is used to show the dialog
- Initializes this instance
- Initializes the cloud guide
- Create the root view
Android-Nordic-Thingy Key Features
Android-Nordic-Thingy Examples and Code Snippets
Community Discussions
Trending Discussions on Android-Nordic-Thingy
QUESTION
I managed, through the Nordic library for Android thingylib
(github) , to connect to thingy52 and receive in the callback listener ThingyListener
the information about the device (e.g. onGravityVectorChangedEvent
, onAccelerometerValueChangedEvent
, onGyroscopeValueChangedEvent
, and so on...).
What I can't do (and I can't find how to do) is how I can get the information about the connection with the device, exactly the RSSI values.
Using the BluetoothLeScannerCompat, inside the onBatchScanResults
scan callback, I detect the thingy52 bluetooth device, and their RSSI value, but if I set a high scan frequency, for example .setReportDelay(10)
, it almost always does not detect devices.
How I made scan:
...ANSWER
Answered 2020-May-06 at 08:18I finally solved in this way:
I don't use the ScannerCompact
, but the BluetoothGATT
:
when i link the nordic to the ThingyLibSdkManager
i also link it to a GATT
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Android-Nordic-Thingy
You can use Android-Nordic-Thingy 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 Android-Nordic-Thingy 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
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page