Reported by Michael Scott:
Currently, the LwM2M client uses a CONFIG_NET_L2_BLUETOOTH check to determine the block transfer size (64 bytes vs 256 bytes). This should be done via runtime check of the network interface type. There are no good examples of this in Zephyr that I could find, so more research is needed.
(Imported from Jira ZEP-2416)