Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Update adapter.rs
Browse files Browse the repository at this point in the history
Fixed minor errors

Fixed compiler errors for trait BluetoothAdapter

Fixed errors in Mac struct of BluetoothAdapter

Added bluetooth-test functionality

Added bluetooth test as you suggested. Could you check if it is fine?

Removed enum type BluetoothAdapter

Removed create_session and create_device functions

Fixed issues in bluetooth-test

Also made changes to APIs that take adapter as a parameter

Implemented trait for EmptyAdapter

Renamed struct from BluetoothAdapter to EmptyAdapter and implemented trait BluetoothAdapter for the same.
This was done to make fn new() work in adapter.rs(for Empty)

Fixed errors in few methods

Made changes to fn new(), fn new_mock() and methods that use self.0.clone()

Moved create_mock_device to adapter.rs

Reverted changes in empty.rs

Modified fn new() for Empty

Modified fn new() for Mac, Android and Bluez

Squashed 2 commits

Squashed 2 more commits

Squashed 7 commits

Squashed 14
commits

Squashed 16 commits
  • Loading branch information
Sruthi-Kannan authored and nshanka2 committed Apr 26, 2019
1 parent 7871e79 commit 980ee53
Show file tree
Hide file tree
Showing 3 changed files with 381 additions and 390 deletions.

0 comments on commit 980ee53

Please sign in to comment.