0

I developed an Android App to test the peripherals in an Android Thing using the information given in the link https://developer.android.com/things/sdk/pio/gpio. The link has given support to configure and test GPIO, SPI, UART, I2C and PWM, similarly I want to test Ethernet, Wifi and Bluetooth.


Is there any options to configure and test Ethernet, Wifi and Bluetooth peripherals in Android things.

Andrii Omelchenko
  • 13,183
  • 12
  • 43
  • 79
user3201343
  • 141
  • 2
  • 9

2 Answers2

0

Android Things is based on Android. As such, Ethernet, Wi-Fi, and Bluetooth features use the same APIs and capabilities as the standard Android platform. For Bluetooth, the platform provides some additional APIs for features like pairing.

Nick Felker
  • 11,536
  • 1
  • 21
  • 35
  • Thank you, I got an idea. Could you please let me know what package should I use to configure and test Ethernet Peripheral ! – user3201343 Jun 04 '20 at 05:21
  • You should start on the [Android connectivity documentation](https://developer.android.com/guide/topics/connectivity) and further investigate in that vein. – Nick Felker Jun 04 '20 at 15:30
0

Android things exposes a set of APIs that enable you to control various peripherals.

The Android Things Bluetooth APIs extends the basic android bluetooth APIs that shall provide access to Bluetooth functionality and this can be used for configuration and verification of bluetooth.

At connectivity level, the connectivity manager shall be of great help in monitoring and verification of various network connectivity status and related functionalities in ethernet and wireless.

The WiFi manager APIs enable communication with wireless stack which can be used in managing/checking Wi-Fi specific operations.

In case if you want to validate your development features or driver changes on network connectivity part of stack (Bluetooth, Cellular and Wi-Fi), the Android Connectivity Testing Suite (ACTS) can help for verification of functionality and stability.

Karthik Balaguru
  • 7,424
  • 7
  • 48
  • 65