Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sacha Froment <sfroment42@gmail.com>
- Loading branch information
Showing
2 changed files
with
193 additions
and
4 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
client/react-native/android/ble/src/main/java/chat/berty/ble/BertyDevice.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package chat.berty.ble; | ||
|
||
import android.bluetooth.BluetoothDevice; | ||
|
||
public class BertyDevice { | ||
|
||
public String addr; | ||
public String peerID; | ||
public String ma; | ||
public BluetoothDevice device; | ||
|
||
public BertyDevice(BluetoothDevice rDevice, String address) { | ||
addr = address; | ||
device = rDevice; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters