Skip to content

ble_running() problem when using MicrobitRadio #80

@somogyianiko

Description

@somogyianiko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions