[PATCH v2 0/5] Stack independent BT HAL test tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v2:
 - license changed to apache
 - source folder changed to hal-client (underscore to dash)
v1:
This tool is for testing Android HAL interfaces from command line.
Due to lack of readline on Android simple equivalent is hand coded.
This tool can be used with bluedroid stack so no glib dependency.

Tool source code is in folder hal_client, please comment if it should be
somewhere else.

Comments welcome.

Best regards
Jerzy Kasenberg

Jerzy Kasenberg (5):
  android: Add haltest skeleton
  android: Add line editing to haltest
  android: Add history to line editor in haltest
  android: Add text conversion helpers to haltest
  android: Add calls to adapter methods in haltest

 android/Android.mk               |   21 ++
 android/hal-client/haltest.c     |  161 ++++++++++
 android/hal-client/history.c     |   98 ++++++
 android/hal-client/history.h     |   21 ++
 android/hal-client/if_bt.c       |  631 ++++++++++++++++++++++++++++++++++++++
 android/hal-client/if_main.h     |   99 ++++++
 android/hal-client/pollhandler.c |  123 ++++++++
 android/hal-client/pollhandler.h |   26 ++
 android/hal-client/terminal.c    |  534 ++++++++++++++++++++++++++++++++
 android/hal-client/terminal.h    |   59 ++++
 android/hal-client/textconv.c    |  205 +++++++++++++
 android/hal-client/textconv.h    |  113 +++++++
 12 files changed, 2091 insertions(+)
 create mode 100644 android/hal-client/haltest.c
 create mode 100644 android/hal-client/history.c
 create mode 100644 android/hal-client/history.h
 create mode 100644 android/hal-client/if_bt.c
 create mode 100644 android/hal-client/if_main.h
 create mode 100644 android/hal-client/pollhandler.c
 create mode 100644 android/hal-client/pollhandler.h
 create mode 100644 android/hal-client/terminal.c
 create mode 100644 android/hal-client/terminal.h
 create mode 100644 android/hal-client/textconv.c
 create mode 100644 android/hal-client/textconv.h

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux