Line 22: |
Line 22: |
| ... | | ... |
| | | |
− | The scan process takes about 30 seconds. If you can see '''"scanning": 1''' in the output it means, that scanning is still in progress. After it finishes you should see a similar output: | + | The scan process takes about 30 seconds. If you can see '''"scanning": 1''' in the output, it means, that scanning is still in progress. After it finishes you should see a similar output: |
| | | |
| ... | | ... |
Line 37: |
Line 37: |
| ... | | ... |
| | | |
− | The list of devices always contains '''"rssi"''' and '''"address"''', but '''"name"''' output might be missing: | + | The list of devices always contains '''"rssi"''' and '''"address"''', but '''"name"''' output might be missing if the device is not supported: |
| | | |
| ... | | ... |
Line 56: |
Line 56: |
| ... | | ... |
| | | |
− | *Device pairing command: | + | *In order to pair devices use this command: |
| | | |
| ... | | ... |
Line 62: |
Line 62: |
| ... | | ... |
| | | |
− | On success pairing you should see output:
| + | If the pairing process was successful you should see this output: |
| | | |
| ... | | ... |
Line 70: |
Line 70: |
| ... | | ... |
| | | |
− | On success pairing new device info will be written in '''blesem''' service config:
| + | *In order to unpair devices use this command: |
− | | |
− | ...
| |
− | config device
| |
− | option address "FF:CB:FA:6A:23:CB"
| |
− | ...
| |
− | | |
− | *Device unpairing command: | |
| | | |
| ... | | ... |
Line 83: |
Line 76: |
| ... | | ... |
| | | |
− | *To get statistic from paired devices, use '''stat''' command: | + | *To get statistics from paired devices, use '''stat''' command: |
| | | |
| ... | | ... |
Line 89: |
Line 82: |
| ... | | ... |
| | | |
− | You should see output: | + | You should see similar output: |
| | | |
| ... | | ... |