This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

from S110 to S130 with mbed

Hello,

How to switch from S110 to S130 with mbed ?

Thank you.

Parents
  • mbed is already using S130, but the API doesn't support the central role yet. I does support the observer role, you can scan for advertising packets:

    startScan(void (*callback)(const AdvertisementCallbackParams_t *params))
    

    but you cannot connect:

    virtual ble_error_t connect(const Address_t           peerAddr,
                                Gap::AddressType_t        peerAddrType,
                                const ConnectionParams_t *connectionParams,
                                const GapScanningParams  *scanParams) {
        return BLE_ERROR_NOT_IMPLEMENTED; /* default implementation; override this API if this capability is supported. */
    }
    

    You can find some examples here, BLE_Observer scans for advertising packets.

    Edit 16.07.2015:

    image description

    I believe it is on the roadmap, please see this. In general questions about mbed is better suited for the mbed forums.

  • Hello,

    Thank you for your response.

    How to know that it use S130 ? (most of mbed use nRF51822.lib and BLE_API.lib so it's not very transparent)

    Is there any roadmap about S130 with mbed ?

    Is S130 softdevice in the binary or i have to program it separatly on my nRF51 ?

Reply Children
No Data
Related