Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    /**
     * @param bssid the device's bssid
     * @return whether the device's bssid is belong to sta state
     */
    public static boolean isStaDevice(String bssid) {
        return bssid.subSequence(0, 2).equals("18");
    }
}