Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须使用 NFC-V 与传输 256 字节数据包的无线 M-Bus 协议进行通信。谁能告诉我如何更改默认设置为 253 字节的 MaxTransceiveLength 属性?
最大收发长度通常受底层 NFC 硬件的限制。由于该限制反映了底层硬件支持的最大长度,因此通常不能通过软件更改1 。
1 ) 已发现 Android NFC 堆栈指示的限制(通过 Xamarin API 属性MaxTransceiveLength或 Android API 方法getMaxTransceiveLength())并不总是反映 NFC 硬件施加的实际限制。但是,更改该值需要修改 NFC 堆栈。
MaxTransceiveLength
getMaxTransceiveLength()