M medsport2012 Member Licensed User Longtime User Jun 17, 2021 #1 Hi, i'm trying to send a string which has more then 20 chars. For this i use RequestMtu B4X: Sub Manager_Connected (services As List) manager.RequestMtu(80) End Sub But nothing happens. This event doesn't output anything either: B4X: Sub Manager_MtuChanged (Success As Boolean) Log("MTU: " & Success) End Sub
Hi, i'm trying to send a string which has more then 20 chars. For this i use RequestMtu B4X: Sub Manager_Connected (services As List) manager.RequestMtu(80) End Sub But nothing happens. This event doesn't output anything either: B4X: Sub Manager_MtuChanged (Success As Boolean) Log("MTU: " & Success) End Sub
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2021 #2 What is the output of: B4X: Sub Manager_Connected (services As List) Log(manager.RequestMtu(80)) End Sub Have you set the event name to Manager? Upvote 0
What is the output of: B4X: Sub Manager_Connected (services As List) Log(manager.RequestMtu(80)) End Sub Have you set the event name to Manager?
M medsport2012 Member Licensed User Longtime User Jun 18, 2021 #3 Hi, thaks for reply. Output: true Have you set the event name to Manager? Click to expand... Yes, i called it manager Upvote 0
Hi, thaks for reply. Output: true Have you set the event name to Manager? Click to expand... Yes, i called it manager
Erel B4X founder Staff member Licensed User Longtime User Jun 20, 2021 #4 Android 5+ device, right? It is expected to raise the event. Worth testing with a different device. Upvote 0
M medsport2012 Member Licensed User Longtime User Jun 20, 2021 #5 Thanks, i will try and give a response. Upvote 0
M medsport2012 Member Licensed User Longtime User Jun 20, 2021 #6 I tried on the Xiaomi mi note 10 and i got the same result(only 20 bytes). Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 20, 2021 #7 It is expected that the MTU will not change. Most devices do not support larger packets. The event should raise. Upvote 0
It is expected that the MTU will not change. Most devices do not support larger packets. The event should raise.