25package trial.org.direct_bt;
27import org.direct_bt.BTSecurityLevel;
28import org.junit.FixMethodOrder;
30import org.junit.runners.MethodSorters;
43@FixMethodOrder(MethodSorters.NAME_ASCENDING)
45 static final boolean serverSC =
true;
47 @Test(timeout = 40000)
48 public final
void test10_FullCycle_EncOnlyNo1() {
51 test8x_fullCycle(40000,
"30", 1,
true , serverSC,
55 @Test(timeout = 40000)
56 public final
void test20_FullCycle_EncOnlyNo2() {
59 test8x_fullCycle(40000,
"31", 2,
true , serverSC,
63 public static void main(
final String args[]) {
Testing a full Bluetooth server and client lifecycle of operations, requiring two BT adapter:
Testing a full Bluetooth server and client lifecycle of operations, requiring two BT adapter:
static void main(final String args[])
Bluetooth Security Level.
ENC_ONLY
Encryption and no authentication (no MITM).