patacongo commented on issue #1639:
URL: 
https://github.com/apache/incubator-nuttx/issues/1639#issuecomment-682208490


   Another trick available to you is to "inherit" the bluetooth device 
structure from struct netdriver_s (i.e., contain struct netdriver_s).  All 
other radios have done this using struct radio_driver_s as defined in 
include/nuttx/net/radiodev.h.  Using struct radio_driver_s (or perhaps an 
analogous struct bt_driver_s), you could add some custom fields and methods to 
the driver interface.
   
   See


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to