Turn your phones into a remote barcode scanner that scans barcodes to desktop devices.
python 3.8
- python install:
cd ./py
pipenv shell
pipenv install
or:
cd ./py
python -m pip install -r requirement.txt
- swift install:
cd ./swift
pod install
- define your server ip & port in
./py/host_address.pyand./swift/HelloWorldSwift/ViewController.swift
Note: The IP on my laptop is
192.168.8.207thus I am using same IP in the project. You should replace the IP with your own IP. The port should be1883by convention.
- python
cd ./py
python ./run.py
- swift
connect your iOS device and run
./swift/HelloWorldSwift/HelloWorldSwift.xcworkspace