Hello,
How to switch from S110 to S130 with mbed ?
Thank you.
Hello,
How to switch from S110 to S130 with mbed ?
Thank you.
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:
I believe it is on the roadmap, please see this. In general questions about mbed is better suited for the mbed forums.
Np :) I hope you noticed that I edited my answer :)
Np :) I hope you noticed that I edited my answer :)