preloader
心得

手機透過藍牙通訊技術與 PAN 網路,觀看本機電腦的網頁內容 | See Local Website Through Bluetooth on Cellphone

手機透過藍牙通訊技術與 PAN 網路,觀看本機電腦的網頁內容 | See Local Website Through Bluetooth on Cellphone

如果整個過程不想用到 Internet, 不要開手機 LTE modem 就好,我沒試 android 手機同時開 wifi and 藍芽可不可行,只開啟 android 手機「藍牙功能」 and 「無線基地台與數據連線底下的藍芽網路共用」,接著 mac 先藍芽配對手機,再從 mac 電腦的藍牙設備選單裡右鍵點選配對的 android 手機,跳出選單選擇「連結網路」(Connect to Network),連結成功代表已經連上 藍牙 PAN 網路,已經具備 IP protocol (L3) and Bluetooth (L2) protocol 。 只要再開啟 mac 電腦上的 http website server(L7) ,就能在 android 手機看到 mac 電腦上的網頁。

How to Tether via bluettoh in Android 就能夠建立 藍牙 PAN 網路,提供 Bluetooth Client(此例是 mac 電腦) L3 and L2 protocol 連結能力,Bluetooth server 是 Android 手機,Bluetooth server 同時也是 DHCP server ,發給 Bluetooth Client 動態 IP。 如果我們在 Bluetooth 執行 http website server ,則 Bluetooth server 可以經由發出的 IP 和瀏覽器,看到 Bluetooth client 上的網頁內容。

筆電連線到手機的藍牙網路,因為手機沒有連4G網路,所以找不到 google 筆電連線到手機的藍牙網路,取得 IP 筆電分配到的 IP 手機看筆電的網頁內容