account arrowhead-down arrowhead-up mobile-menu search sm-bold-x x-skinny-rounded x-skinny arrowhead-right social-facebook social-googleplus social-instagram social-linkedin social-pinterest social-qzone social-renren social-tencent social-twitter social-vkontakt social-weibo social-youku social-youtube

Please help us improve our website

Take our customer survey to evaluate your visit.

It should only take a few minutes to answer five quick questions. Just click the Launch survey button at the end of your visit to begin.

cancel
Showing results for 
Search instead for 
Did you mean: 
Welcome to the Open Devices community!

This is where we discuss open source and development related questions on our Open Devices initiative.

WiFI RTT in Xperia XZ2

Learner
Message 1 of 4
1,727 Views
Message 1 of 4

WiFI RTT in Xperia XZ2

The message from Sony was that the device would be able to utilize the 802.11mc feature in Android 9.0.

however it seems that the hardware has no support for it. The PackageManager indicates that there is no support and when I fetch the WiFiRttManager it just fails

 

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.wifi.rtt.WifiRttManager.isAvailable()' on a null object reference
        at pcni.se.test.axisindoorpositioning.PositioningWorker.doWork(PositioningWorker.java:85)
        at androidx.work.Worker$1.run(Worker.java:71)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)

I strongly suggest you revise your page . Also wondering which phones will support this feature from Sony?

 

 

3 REPLIES 3
Developer World
Message 2 of 4
1,708 Views
Message 2 of 4

Re: WiFI RTT in Xperia XZ2

Hi,

which software are you using ?

WiFI RTT is not enabled on the Open Devices software but you should be able to enable it yourself

 

Regards

Alin

 

One time poster
Message 3 of 4
1,434 Views
Message 3 of 4

Re: WiFI RTT in Xperia XZ2

Hi, Alin!

Could you provide the specific steps which have to be done to enable WiFi RTT feature?

Thanks.

Highlighted
Developer World
Message 4 of 4
1,389 Views
Message 4 of 4

Re: WiFI RTT in Xperia XZ2

Hi,

here are some examples howto set it

https://source.android.com/devices/tech/connect/wifi-rtt

 

Regards

Alin