Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

macos <-> raspberry pi obex file transfer over L2CAP

NotificationsYou must be signed in to change notification settings

blakbodder/obx_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#obx_server

obex over L2CAP bluetooth. server uses IOBluetooth.python client tested on rasberry pi.

macOS <-> raspberry pi file transfer.

mac requirements:macOS (tested on 10.15.7)xcode (author used 11.7)

pi requirements:a model with bluetoothpython 3.xpybluez

compile obx_server with xcode (maybe need change build settings such as install owner).ensure devices are near each otherswitch bluetooth on (mac and pi)no need to pair but might get connection-request-pop-up.

modify obxget.py line 7:MACADDR = "AA:BB:CC:DD:EE:FF"so that the bd_addr is that of your macobxget.py needs obx_const.py

you can find nearby devices using hcitool on pi.to find your mac's bdaddr do: hcitool scanin the raspberry pi terminal.bluetoothctl can also be used to find bt devices.

you may need to change some settings on the mac: firewall, file sharing, bluetooth sharingrun obx_serverwhen you seeservice L2CAP chan psm = 0x1001do python obxget.py <filename_to_get> at the raspberry end.a pop-up might appear, asking permission to access a directory.

note this is a rudimentary obex ftp that does not comply with the SIG standard.


[8]ページ先頭

©2009-2025 Movatter.jp