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 test11_FullCycle_EncOnlyNo1() {
51 test8x_fullCycle(40000,
"32", 1,
false , serverSC,
55 @Test(timeout = 40000)
56 public final
void test21_FullCycle_EncOnlyNo2() {
59 test8x_fullCycle(40000,
"33", 2,
false , 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).