Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    /**
     * check whether the bssid is belong to ESP device
     * 
     * @param BSSID the bssid to be checked
     * @return whether the bssid is belong to ESP device
     */
    public static boolean isEspDevice(String BSSID) {
        // ESP wifi's sta bssid is started with "18:fe:34"
        return BSSID != null && (BSSID.startsWith("18:fe:34"));
    }
}