as the title says, KDE connect can’t pair or connect even if paired before on a university network, even when both devices are added manually with ip on each other,after a lot of debugging, it appears that the UDP broadcast packet is being dropped, truncated or fragmented, the reason for that seems to be that the packet is too large (2165)
{“body”:{“deviceId”:“{DEVICEID}”,“deviceName”:“{DEVICENAME}”,“deviceType”:“desktop”,“incomingCapabilities”:[“kdeconnect.virtualmonitor.request”,“kdeconnect.contacts.response_uids_timestamps”,“kdeconnect.sftp”,“kdeconnect.virtualmonitor”,“kdeconnect.notification.request”,“kdeconnect.sms.attachment_file”,“kdeconnect.ping”,“kdeconnect.mousepad.request”,“kdeconnect.clipboard.file”,“kdeconnect.connectivity_report”,“kdeconnect.contacts.response_vcards”,“kdeconnect.telephony.request_mute”,“kdeconnect.systemvolume.request”,“kdeconnect.presenter”,“kdeconnect.mousepad.echo”,“kdeconnect.lock”,“kdeconnect.systemvolume”,“kdeconnect.telephony”,“kdeconnect.share.request”,“kdeconnect.runcommand”,“kdeconnect.findmyphone.request”,“kdeconnect.mpris.request”,“kdeconnect.runcommand.request”,“kdeconnect.clipboard.connect”,“kdeconnect.notification”,“kdeconnect.bigscreen.stt”,“kdeconnect.clipboard”,“kdeconnect.sms.messages”,“kdeconnect.battery”,“kdeconnect.lock.request”,“kdeconnect.mpris”,“kdeconnect.mousepad.keyboardstate”],“outgoingCapabilities”:[“kdeconnect.virtualmonitor.request”,“kdeconnect.notification.request”,“kdeconnect.contacts.request_all_uids_timestamps”,“kdeconnect.virtualmonitor”,“kdeconnect.ping”,“kdeconnect.mousepad.request”,“kdeconnect.clipboard.file”,“kdeconnect.telephony.request_mute”,“kdeconnect.systemvolume.request”,“kdeconnect.lock”,“kdeconnect.systemvolume”,“kdeconnect.notification.reply”,“kdeconnect.sms.request_conversations”,“kdeconnect.telephony”,“kdeconnect.notification.action”,“kdeconnect.share.request”,“kdeconnect.runcommand”,“kdeconnect.share.request.update”,“kdeconnect.findmyphone.request”,“kdeconnect.mpris.request”,“kdeconnect.runcommand.request”,“kdeconnect.clipboard.connect”,“kdeconnect.sftp.request”,“kdeconnect.sms.request”,“kdeconnect.notification”,“kdeconnect.bigscreen.stt”,“kdeconnect.clipboard”,“kdeconnect.contacts.request_vcards_by_uid”,“kdeconnect.sms.request_attachment”,“kdeconnect.battery”,“kdeconnect.lock.request”,“kdeconnect.sms.request_conversation”,“kdeconnect.mpris”,“kdeconnect.mousepad.keyboardstate”],“protocolVersion”:8,“tcpPort”:1716},“id”:{ID},“type”:“kdeconnect.identity”}
, because if I send the same packet manually directly to my device using nc but with empty incomingCapabilities and outgoingCapabilities fields, the phone detects it and can pair and connect fine afterwards
question is could this be solved in KDE Connect upstream, or given as an option, and alternatively, do I have any option other than capturing the packet and modifying it each time? (and automate that of course)