Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ble_running() problem when using MicrobitRadio #80

Open
somogyianiko opened this issue Aug 25, 2023 · 1 comment
Open

ble_running() problem when using MicrobitRadio #80

somogyianiko opened this issue Aug 25, 2023 · 1 comment

Comments

@somogyianiko
Copy link

somogyianiko commented Aug 25, 2023

I would like to ask for help, since something is wrong with the configuration when I change from BLE communication to Radio.
My config.json file is:

{
  "target": {
    "name": "codal-microbit-v2",
    "url": "https://github.com/lancaster-university/microbit-v2-samples",
    "branch": "master",
    "type": "git",
    "dev": true
  },
  "config": {
    
    "MICROBIT_BLE_ENABLED": 0,
    "MICROBIT_BLE_PAIRING_MODE": 0,
    "CONFIG_MICROBIT_ERASE_USER_DATA_ON_REFLASH": 1
  }
}

When I would like to run uBit.radio.enable(), it returns with -1002 error code. Though BLE is not enabled, the ble_running() function still returns with true logic value.
Please help me, how to configure it properly.

@microbit-carlos
Copy link
Collaborator

Hi @somogyianiko, are you still experiencing this issue?

The main thing to try is to ensure the builds are cleaned when changing anything in codal.json. You can also delete the build folder to be 100% sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants