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.

  • Next time I would appreciate if you would avoid asking questions in an answer. Thank you.

Reply Children
No Data
Related