Changes for page Instructions to demo BLE indoor positioning
Last modified by Edwin Chen on 2022/12/31 16:23
<
edited by Edwin Chen
on 2022/12/31 16:23
on 2022/12/31 16:23
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - InstructionstodemoBLE indoor positioning1 +Operating instructions for BLE indoor positioning - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -6,35 +6,32 @@ 6 6 7 7 8 8 9 -= 1. Python Examples =9 += 1. Operating instructions for BLE indoor positioning = 10 10 11 +== 1.1 open the application == 11 11 12 -== Step 1: Configure Python Simulator == 13 13 14 -* Download and run **[[BLE_Positioning.exe>>https://github.com/dragino/TrackerD/tree/main/Example/BLE_Indoor_Positioning_Software/BLE_Positioning]]** 15 - 16 - 17 17 (% style="color:blue" %)**Enter the following information:** 18 18 19 19 (% style="color:#037691" %)**Subscribe to topics:**(%%)**MQTT Subscription Topic of TTN-V3** 20 20 21 -**Example: **v3/ **litest@ttn**/devices/**eui-70b3d57ed0058a17**/up18 +**Example: **v3/litest@ttn/devices/eui-70b3d57ed0058a17/up 22 22 23 23 * v3: Unchanging 24 24 25 -* litest@ttn: 22 +* litest@ttn:'litest' is the ID of the application, '@ttn' unchanging.If you use your own TTN platform, @ ttn doesn't need 26 26 27 27 * devices: Unchanging 28 28 29 -* eui-70b3d57ed0058a17: TrackerDEndDevice ID26 +* eui-70b3d57ed0058a17: End device ID 30 30 31 31 * Up: Unchanging 32 32 33 -(% style="color:#037691" %)**server address:**(%%)**Server address of TTN-V3** 30 +(% style="color:#037691" %)**server address:**(%%)**Server address of TTN-V3()** 34 34 35 -(% style="color:#037691" %)**Application ID:**(%%)**Application ID of TTN-V3** 32 +(% style="color:#037691" %)**Application ID:**(%%)**Application ID of TTN-V3()** 36 36 37 -(% style="color:#037691" %)**APIKEY: 34 +(% style="color:#037691" %)**APIKEY: **(%%)**APIKEY of your own account()** 38 38 39 39 40 40 [[image:image-20221221144423-1.png]] ... ... @@ -46,20 +46,20 @@ 46 46 [[image:image-20221221144423-3.png]] 47 47 48 48 49 -== Step 2: Click the save button after writing == 50 50 47 +== 1.2 Click the save button after writing == 51 51 49 + 52 52 [[image:image-20221221144423-4.png]] 53 53 54 - 55 55 (% style="background-color:yellow" %)**Warning:** 56 56 57 - (% style="color:red" %)**When the save button is pressed, it cannot be pressed again to prevent data confusion.**54 +When the save button is pressed, it cannot be pressed again to prevent data confusion. 58 58 59 - (% style="color:red" %)**If you want to modify the subscription topic, you need to restart the application.**56 +If you want to modify the subscription topic, you need to restart the application. 60 60 61 61 62 -== Step3:Click the location button ==59 +== 1.3 Click the location button == 63 63 64 64 65 65 Just press once ... ... @@ -67,15 +67,16 @@ 67 67 [[image:image-20221221144423-5.png]] 68 68 69 69 70 -When the BLE node sends information, the application will display the located base station .67 +When the BLE node sends information, the application will display the located base station 71 71 72 72 73 -== Step 4: About how to set the base station point and insert the floor plan == 74 74 71 +== 1.4 About how to set the base station point and insert the floor plan == 75 75 73 + 76 76 Place the floor plan in the same path as the python script 77 77 78 -Change the file name to office_map(The picture pixel is 800x600) 76 +Change the file name to office_ map(The picture pixel is 800x600) 79 79 80 80 [[image:image-20221221144423-7.png]] 81 81 ... ... @@ -123,9 +123,10 @@ 123 123 [[image:image-20221221144423-14.png]] 124 124 125 125 126 -== Step 5: Package the py file into an exe == 127 127 125 +== 1.5 Package the py file into an exe == 128 128 127 + 129 129 (% style="color:blue" %)**Step 1:**(%%)Installing the pyinstaller module 130 130 131 131 (% style="color:blue" %)**Step 2:**(%%)Open cmd and switch to the directory where the script is located