Class B is currently not supported in the pycom firmware for the Lopy. You might be able to write some addition to the firmware to build it yourself, though I suspect it will be some work