[riot-notifications] [RIOT] sys: ble: introduce low-level ble driver API (#3206)

René Kijewski notifications at github.com
Mon Jun 15 22:36:27 CEST 2015


> + * It needs to call dev->driver->recv() in order to get received packet
> + * from the driver.
> + */
> +extern void dev_ble_rx_handler(dev_ble_t *dev);
> +
> +/**
> + * @brief dev_ble ble link state handler
> + *
> + * This function should be called from whithin your driver's isr()
> + * (as defined in ble_driver_t) for every layer 2 link state change.
> + *
> + * @param dev device that triggered the event
> + * @param newstate 1 for "link established", 0 for "link down"
> + */
> +extern void dev_ble_linkstate_handler(dev_ble_t *dev, int newstate);
> +#ifdef __cplusplus

\n

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3206/files#r32463596
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150615/d32feffd/attachment.html>


More information about the notifications mailing list