The report-to-server command configures the destination server and port number to which APs report Bluetooth packets.
The undo report-to-server command restores the default destination server and port number to which APs report Bluetooth packets.
By default, no destination IP address or port number is configured for APs to report Bluetooth packets.
report-to-server ip-address ip-address port port-num [ via-ac ac-port ac-port-num ]
report-to-server domain domain port port-num
undo report-to-server
Parameter | Description | Value |
---|---|---|
ip-address ip-address | Specifies the IPv4 address of the location server to which APs report Bluetooth packets. |
The value is in dotted decimal notation. |
domain domain | Specifies the domain name of the location server to which APs report Bluetooth packets. |
The value is a string of 1 to 255 characters. |
port port-num | Specifies the destination port number on the location server to which APs directly report Bluetooth packets. Specifies the destination port number on the location server to which APs report Bluetooth packets through an AC. |
The value is an integer that ranges from 1 to 65535. |
via-ac | Specifies that Bluetooth packets are reported to a location server through an AC. |
- |
ac-port ac-port-num | Specifies the destination port number on the AC to which APs report Bluetooth packets. |
The value is an integer that ranges from 5000 to 65535. |
Usage Scenario
When configuring a port number, ensure that the port is not occupied by other services. If the port is occupied by other services, the port fails to be created.
For the same Bluetooth location function, Bluetooth data reporting through an AC can be configured only in one BLE profile. If Bluetooth data reporting through an AC has been configured in the current BLE profile for a Bluetooth location mode, the forwarding mode cannot be configured in other BLE profiles for the same Bluetooth location function.