Kconfig 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. menu "Bluetooth socket support"
  6. config NET_BLUETOOTH
  7. bool "Bluetooth socket support"
  8. default n
  9. depends on WIRELESS_BLUETOOTH
  10. select NETDEV_IOCTL
  11. ---help---
  12. Enable support for raw, Bluetooth sockets.
  13. Raw sockets allow receiving and transmitting Bluetooth radio
  14. frames without a layer2 protocol such as 6LoWPAN in between. Frames
  15. received are copied into a Bluetooth socket tap before they
  16. enter the network. Frames written into a Bluetooth socket will
  17. bypass the network altogether and will be sent directly to the
  18. Bluetooth MAC network interface driver outgoing frame queue.
  19. if NET_BLUETOOTH
  20. config NET_BLUETOOTH_NCONNS
  21. int "Max Bluetooth sockets"
  22. default 4
  23. config NET_BLUETOOTH_NCONTAINERS
  24. int "Number of pre-allocated frame containers"
  25. default 8
  26. ---help---
  27. This specifies the total number of preallocated frame containers.
  28. One must be allocated with each incoming frame.
  29. config NET_BLUETOOTH_BACKLOG
  30. int "Maximum frame backlog"
  31. default 8
  32. range 0 255
  33. ---help---
  34. As frames are received, then are help in an RX queue. They remain
  35. in the RX queue until application logic reads the queue frames. To
  36. prevent overrun, the maximum backlog may be set to a nonzero value.
  37. What the backlog of queue frames reaches that count, the olds frame
  38. will be freed, preventing overrun at the cost of losing the oldest
  39. frames.
  40. NOTE: The special value of zero will disable all backlog checkes.
  41. endif # NET_BLUETOOTH
  42. endmenu # Bluetooth Socket Support