ARMmbed / ble-nrf51822

Nordic stack and drivers for the mbed BLE_API
Other
46 stars 51 forks source link

Directed advertisements are not implemented #131

Open Timmmm opened 7 years ago

Timmmm commented 7 years ago

See this comment.

ble_error_t nRF5xGap::startAdvertising(const GapAdvertisingParams &params)
{
    /* Make sure we support the advertising type */
    if (params.getAdvertisingType() == GapAdvertisingParams::ADV_CONNECTABLE_DIRECTED) {
        /* ToDo: This requires a propery security implementation, etc. */
        return BLE_ERROR_NOT_IMPLEMENTED;
Timmmm commented 7 years ago

Fixed with #132 . It turned out to require changes to the BLE API, otherwise there was no way to set the peer address. Those changes are in #188.