virtualabs / radiobit

Micro:Bit Radio framework
146 stars 33 forks source link

Is radionbit compatible with latest micro:bit? #7

Open DrmnSamoLiu opened 5 years ago

DrmnSamoLiu commented 5 years ago

I just bought myself a microbit (model V1.3B) and are fortunate enough to come across radiobit. But after following the instructions and flashed your tools into my microbit (using uflash 1.2.4), none of it seems to work.... Is this maybe caused by different micropython version? I noticed that radiobit is a quite old project now, and micropython API seems to have some major changes during this time. Any chances to get a fix on this issue :) ?

virtualabs commented 5 years ago

This should not be a problem, as microbit model v1.3b is still based on the same nRF51822 chip. Radiobit is a forked version of micropython with a modified radio native module, built for this architecture. So yes, this version of micropython is a bit old now, but it should work out of the box with your microbit.

What are you trying to do ? Can you give some code samples or more basically how you are using radiobit ? Maybe the documentation is not that good and may cause you trouble ...

DrmnSamoLiu commented 5 years ago

For example, I tried uflash -r precompiled/radiobit.hex tools/ubit-sniffer/middleware/ubit-sniffer-mw.py and it succeeded. But when I run sudo python ubit-sniffer.py, the console will stuck at uBit sniffer uses device /dev/ttyACM0 initializing device ... forever, no error or other outputs.

I can confirm microbit is recognized as ttyACM0, and is also mounted as usb storage device.

Also I tried uflash -r precompiled/radiobit.hex tools/wireless-keylogger/msft-keylogger.py, but after that no animation said in README.md appeared.

TechInterMezzo commented 5 years ago

I have the same problem. MicroBit V1.3B

It doesn't go any further than "initializing device ...". I tried it on Windows and Ubuntu.

hackgnar commented 5 years ago

This PR should resolve this issue https://github.com/virtualabs/radiobit/pull/8 It updates radiobit to microbit's micropython latest version which is compatible with new microbit devices.