Open somogyianiko opened 1 year ago
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.
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.
build
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:
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.