@@ -10,6 +10,10 @@ drippy is a python package containing modules to read host identity protocol xml
...
@@ -10,6 +10,10 @@ drippy is a python package containing modules to read host identity protocol xml
`beacon.py` is used to broadcast legacy bluetooth frames for ASTM F3411-19 basic ID, location and authentication messages. It uses drippy to read host identity files, from which an identity will be used for the basic ID messages. If an iroha private key file is specified, then it will also attempt to send location updates to the blockchain. Type `python beacon.py -h` for more information on how to use the script. Note that sudo priviledges will be required to run the hci commands in the script.
`beacon.py` is used to broadcast legacy bluetooth frames for ASTM F3411-19 basic ID, location and authentication messages. It uses drippy to read host identity files, from which an identity will be used for the basic ID messages. If an iroha private key file is specified, then it will also attempt to send location updates to the blockchain. Type `python beacon.py -h` for more information on how to use the script. Note that sudo priviledges will be required to run the hci commands in the script.
**THIS IS IMPORTANT**: the 'beacon.py' is the original code from 2021 group with our wifi option implemented, the 'beacon_1.py' is that code we 2022 group wrote with **draft-ietf-drip-auth-17** requirements implemented. So if you run the beacon_1.py, the Android APP cannot reveice anything because it has not been updated, so it cannot devode draft auth17 message format.
## wifi
## wifi
Wifi is integrated in the beacon.py. It can be activated by using the flag '--wifi'. To be able to send messages through wifi, you need to get the mac address of the sending device by using the uuid library. Install it with 'pip install uuid'.
Wifi is integrated in the beacon.py. It can be activated by using the flag '--wifi'. To be able to send messages through wifi, you need to get the mac address of the sending device by using the uuid library. Install it with 'pip install uuid'.