--- tags: archived --- # Checkbox Launchers and Configuration Files - Official Checkbox document https://checkbox.readthedocs.io/en/latest/ - Launcher example source code https://github.com/tai271828/checkbox-launcher-conf-examples ## Machine Manifest - **/home/ubuntu/.local/share/plainbox/machine-manifest.json** - It will be written once by checkbox if you are using checkbox interactively. ``` {"com.canonical.certification::has_bt_smart": false, "com.canonical.certification::has_card_reader": false, "com.canonical.certification::has_ethernet_adapter": true, "com.canonical.certification::has_thunderbolt": false, "com.canonical.certification::has_thunderbolt3": false, "com.canonical.certification::has_touchscreen": false, "com.canonical.certification::has_tpm2_chip": false, "com.canonical.certification::has_usb_type_c": false} ``` # Setup Facilities # WiFi Mode - We should setup/decide the mode (n/b/g/ac) prior to testing. ## Bluetooth - Eddystone - Model: Nordic Thingy - The current checkbox just check if it detects an advertisement over eddystone. Arbitrary advertisement is acceptable. ## Bluetooth - Eddystone Alternative 1 - bluez-hcidump - sudo apt-get install bluez-hcidump - PyBeacon - sudo -H PyBeacon -s - Setup steps https://docs.google.com/document/d/1hGx-ylUmFq3mfoIJxzaiGkSdAjdol54HQoUGR6BVDpc ## Bluetooth - Eddystone Alternative 2 - aioblescan - sudo pip3 install aioblescan - python3 -m aioblescan -e - Setup steps https://docs.google.com/document/d/1hGx-ylUmFq3mfoIJxzaiGkSdAjdol54HQoUGR6BVDpc ## Bluetooth - Obex - obexftp deb - sudo apt-get install obexftp - obexftpd -c ~/.obexftp -b Install the obex ftp: ``` apt-get install obexftp killall obex-data-server mkdir ~/.obexftp obexftpd -c ~/.obexftp -b ``` Prepare a script to activate it: ``` pkill -f obex-data-server cd ~ if [ ! -d ".obexftp" ] then echo "no directory, creating.." mkdir ~/.obexftp chmod 775 ~/.obexftp fi obexftpd -c ~/.obexftp -b ``` You may want to launch the script automatically with Ubuntu Desktop over the desktop configuration **/etc/xdg/autostart/run-obexftp.desktop** when each time you power on your device. ``` [Desktop Entry] Encoding=UTF-8 Name=Run Obexftp Comment=Start Obextftp service Exec=sh -c 'sudo /home/ubuntu/run_obexftp.sh > /home/ubuntu/run_obexftp.log 2>&1' Terminal=false Type=Application Categories= ```